Philip M. Gollucci wrote:
Jonathan Steffan wrote:
no conflicting prior mod_perl version found - good.
[ error] '/opt/httpd/bin/apxs -q INCLUDEDIR' failed:
[ error] Can't locate strict.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
.) at /opt/httpd/bin/apxs line 19.
BEGIN failed--compilation aborted at /opt/httpd/bin/apxs line 19.
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
Any ideas?
Apparently apxs is using the wrong perl.
You might change the #! line at the top of it,
update your path to have /opt/perl/bin before /usr/local/bin,
or rename your system perl temporarily.
HTH
Phil,
I had installed perl to /usr/local/lib/perl5/5.8.7 in a previous
exercise. The main system perl is supposed to be 5.8.0. This issues
seems to be lingering around from that install? I only removed the
/usr/local/lib/perl5/5.8.7 and all related files I could find for perl
5.8.7 with locate. I will try your advice with changing the apxs file.
Any other notes? Thanks for your message.
-Jon