From: PHP User <phpuser@ch...> - 2003-07-19 16:42:02
I'm having some issues with my Perl modules I think, and I'm rather new to the Perl world, so I'm not really sure what I've set wrong.
When I restart apache I get this error:
Syntax error on line 11 of /usr/local/slash/httpd/slash.conf:
Can't locate Apache/Cookie.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Slash/Apache/User.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Slash/Apache/User.pm line 11.
Compilation failed in require at (eval 16) line 3.
I've tried adding PerlModules to apache.conf, but that didn't seem to help, I just can't figure out what I am doing wrong with this.
From: Alex McLintock <alex@OWAL.co.uk> - 2003-07-19 21:44:02
At 17:41 19/07/03, PHP User wrote:
>When I restart apache I get this error:
>Syntax error on line 11 of /usr/local/slash/httpd/slash.conf:
>Can't locate Apache/Cookie.pm
There are a whole bunch of Perl modules which you need to install to get
slash working. You can get these through CPAN which I recommend you learn
I have heard people argue that PHP is better than perl because with PHP you
get all the libraries with PHP and with perl you have to download them from
CPAN. I think they are talking out of their arses.
Anyway - did you install Apache::Cookie? No? try that. If you did then try
to figure out where it got installed to because your Apache/mod_perl
doesn;t seem to know about it.
try (as root)
perl -MCPAN -e shell \;
Did I mention that a PHP slash clone will probably be easier to install and
Perhaps I should amend my .sig file to say "Available for slashcode
Available for java/perl/C++/web development in London, UK or nearby.
Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP