On Mon, 1 Apr 2002, PK Eidesis wrote:

> Ever since I built and installed Perl561 and installed mod_perl using CPAN,
> I have just not had anything work for me predictably. The web server locks
> up and doesn't start. It will start only if I comment out the mod_perl lines
> in httpd.conf. Then it starts. After that if I uncomment the mod_perl lines,
> then it will restart. Go figure.

I built mod_perl/apache by hand (ignoring the apache apple gives you),
using perl 5.6.1.  I haven't had any problems.  The sub redifinition
problem might be a case off CGI.pm's autoloading.  (CGI.pm delays loading
of most of it's subs till they are called at run time.  This makes things
faster for a simple CGI.)  You might want to add something like:



use CGI;
CGI->compile(':all');

to your mod_perl configuration (you can just put it in a <perl> section,
or setup a startup.pl if you don't already have one).

-- 
Chris Reinhardt
[EMAIL PROTECTED]
Systems Architect
Dynamic DNS Network Services
http://www.dyndns.org/


Reply via email to