ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Build Your Own Apache Server with mod_perl
Subject:   Problem after installing perl 5.8
Date:   2003-07-30 18:51:40
From:   bradpuett

I've tried to install mod_perl (and libapreq) several times, but I'm still having problems ...


So, I started from the beginning and installed Perl 5.8.0; however, when I tried to install "Apache::Test" via CPAN, I received this error message:


cpan> install Apache::Test
Running install for module Apache::Test
Running make for S/ST/STAS/Apache-Test-1.03.tar.gz
Checksum for ~<myid>/.cpan/sources/authors/id/S/ST/STAS/Apache-Test-1.03.tar.gz ok


.
.
.


CPAN.pm: Going to build S/ST/STAS/Apache-Test-1.03.tar.gz


generating script t/TEST
Checking if your kit is complete...
Looks good
!!! Makefile.PL has found old copies of Apache/test.pm which will be removed during 'make install' to prevent collisions with Apache::Test:
.
.
.
/usr/sbin/httpd -X -d ~<myid>/.cpan/build/Apache-Test-1.03/t -f ~<myid>/.cpan/build/Apache-Test-1.03/t/conf/httpd.conf -DAPACHE1
using Apache/1.3.27


waiting for server to start: .............................................................
waiting for server to start: giving up after 61 secs
!!! server failed to start! (please examine t/logs/error_log)
make: *** [run_tests] Error 1
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


cpan> quit



Looking at "t/logs/error_log":


[Wed Jul 30 20:48:00 2003] [info] (2)No such file or directory: mod_rendezvous: First Init, ignoring...
[Wed Jul 30 20:48:00 2003] [debug] mod_rendezvous_apple.c(1012): mod_rendezvous_apple: Module init count=1 pid=2524.


dyld: /usr/sbin/httpd Undefined symbols:
_perl_init_i18nl10n



Normally, that should mean I have the infamous "head vs HEAD" problem. However, when I check for the locations of each "head":


% which head
/usr/bin/head


%which HEAD
/usr/local/bin/HEAD



HOWEVER, a find shows this:


% sudo find / -name "[Hh][Ee][Aa][Dd]" -print


/usr/bin/head
/usr/local/bin/HEAD
~<myid>/.cpan/build/libwww-perl-5.69/bin/HEAD
~<myid>/.cpan/build/libwww-perl-5.69/blib/script/HEAD



Is this enough information to determine how to fix this? If so, could I get specific instructions on how to fix this?


Thanks!!


1 to 1 of 1
  1. David Wheeler photo Problem after installing perl 5.8
    2003-07-30 19:09:21  David Wheeler | O'Reilly Author [View]

1 to 1 of 1