We have several projects written in Catalyst. We can successfully deploy them with the built-in HTTP server even with PAR file, and with Apache, but we cannot deploy them with Apache and PAR file. We've installed mod_perl2, but Apache::PAR keeps saying it needs mod_perl 1.3. :( As documentation said we force installed it and configured Apache, but it dies.
Here's the apache config PerlAddVar PARInclude /home/apache/MyApp/MyApp.par PerlModule Apache::PAR Log says: Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux /usr/lib64/perl5/site_perl/5.12.2 /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/5.12.2/x86_64-linux /usr/lib64/perl5/5.12.2 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl . /usr/lib/apache2) at /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux/mod_perl.pm line 14\nCompilation failed in require at /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux/Apache.pm line 6.\nCompilation failed in require at /usr/lib64/perl5/site_perl/5.12.2/Apache/PAR.pm line 21.\nCompilation failed in require at (eval 2) line 2.\n [Wed Dec 22 13:15:43 2010] [error] Can't load Perl module Apache::PAR for server domain.com:0, exiting... But Apache::Contants is installed: # cpan Apache::Constants CPAN: Storable loaded ok (v2.22) Going to read '/root/.cpan/Metadata' Database was generated on Tue, 21 Dec 2010 16:35:00 GMT CPAN: Module::CoreList loaded ok (v2.40) Apache::Constants is up to date (1.09). Has anybody successfully done this?
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
