Hi,
I'm trying to add mod_perl to my Apache server. I've got
Solaris 10
Apache 2.2.2
mod_perl 2.0.2
I'm using gcc 3.4.3, supplied by Sun, perl 5.8.4, supplied by Sun. I'm
using the perlgcc utility which is claimed to enable gcc compiled
modules, despite perl being compiled using Sun compilers. Apache
wouldn't compile with Sun compiler....
mod_perl compiles fine,
perlgcc Makefile.PL MP_AP_PREFIX=/export/chippewa/disk1/apache-2.2.2
make
'make test' fails to start the server with a syntax error in the
configuration file extra.conf, which is automatically generated. I'm
winging it and have done a 'make install', which didn't complain, and
the server starts up OK, but I'd be a lot happier if I could run the
mod_perl tests. Here's the output I get from 'make test':
cd "src/modules/perl" && make
/usr/perl5/5.8.4/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/perl5/5.8.4/bin/perl
/export/chippewa/disk1/download/mod_perl-2.0.2/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/perl5/5.8.4/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/perl5/5.8.4/bin/perl
/export/chippewa/disk1/download/mod_perl-2.0.2/t/TEST -bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (60001:60001)
[warning] testing whether 'nobody' is able to -rwx
/export/chippewa/disk1/download/mod_perl-2.0.2/t
"/usr/perl5/5.8.4/bin/perl"
-Mlib=/export/chippewa/disk1/download/mod_perl-2.0.2/Apache-Test/lib
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(60001,
60001, q[/export/chippewa/disk1/download/mod_perl-2.0.2/t]) }';
[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/export/chippewa/disk1/apache-2.2.2/bin/httpd -d
/export/chippewa/disk1/download/mod_perl-2.0.2/t -f
/export/chippewa/disk1/download/mod_perl-2.0.2/t/conf/httpd.conf -D APACHE2
using Apache/2.2.2 (prefork MPM)
waiting 120 seconds for server to start: .Syntax error on line 111 of
/export/chippewa/disk1/download/mod_perl-2.0.2/t/conf/extra.conf:
Could not resolve address '255.255.255.255' -- check resolver configuration.
...
--
Sheila
--------------------------------------------------------------------------
Dr. Sheila Bryant Software Applications Support
Email: [EMAIL PROTECTED] Dept. of Meteorology,
Phone: 0118 378 6395 University of Reading,
--------------------------------------------------------------------------