I just installed mod_perl 2 onto my Red Hat Linux
7.3 system. My system has Apache 1.3 and Apache 2.0 on it, so I ran the
following command to build mod_perl (initially):
perl Makefile.PL MP_INST_APACHE2=1
MP_APXS=/etc/httpd2/bin/apxs
MP_APR_CONFIG=/etc/httpd2/bin/apr-config
Which corresponds to my directories. Then of course
I ran make, make test, and make install. I have set up httpd.conf for Apache
correctly and it is giving me no errors, and I set mod_perl to handle all .pl
and .cgi files. However, when I access these files in my web browser, I get a
500 Internal Server error, and the following in my Apache error_log
file:
[Tue Dec 23 18:17:50 2003] [error] failed to
resolve handler `Apache::Registry'
[Tue Dec 23 18:17:50 2003] [error] [client 65.38.10.118] Can't locate loadable object for module Apache::Constants in @INC ($ Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache.pm line 6. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache/Registry.pm line 2. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache/Registry.pm line 2. Compilation failed in require at (eval 2) line 3. Any idea what might be
wrong?
|
- Re: Getting error after installation Ben Russell
- Re: Getting error after installation Stas Bekman
- Build OK on Win32 Seth Rubin