Hi,
I am installing apache_1.3.6 and mod_perl_1.21 with Perl 5.005_02
and on Linux Suse 6.0 .
I untar them in two subdirectories on the same homedirectory, then I
changed into the mod_perl directory and typed (as root):
perl Makefile.PL APACHE_SRC=../apache_1.3.6/src
APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1
EVERYTHING=1
I've got some warnings:
....
Creating Configuration.apaci in src
+ id: mod_perl/1.21
+ id: Perl/5.00502 (linux) [perl]
/usr/i486-linux/bin/ld: warning: libc.so.5, needed by /lib/libdl.so,
may conflict with libc.so.6
/usr/i486-linux/bin/ld: warning:libc.so.5, needed by /lib/libdl.so,
may conflict with libc.so.6
/lib/libc.so.5: warning: `siggetmask' is obsolete; `sigprocmask' is
best
/lib/libc.so.5: the `getwd' function is dangerous and should not
be used.
/lib/libc.so.5: the `gets' function is dangerous and should
not be used.
Creating Makefile in src + configured for Linux platform
.....
make gives the same warnings
make test gives the same warnings and:
....
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.6/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0 still waiting
for server to warm up............not ok
server failed to start! at
t/TEST line 95. make: *** [run_tests] Error 9
There are no logs in t/logs
I've changed in t/TEST
for (1..3) {
sleep 1; !!!!!!!!!!!!!! here to 5
if (simple_fetch "/test.html") {
print "ok\n";
But I've got the same result.
---------------------------------------------------------------------
Now I've tested mod_perl_1.21 and apache_1.3.6 on an other
machine with Linux Suse 6.2 , Perl 5.005_03
perl Makefile.PL APACHE_SRC=../apache_1.3.6/src DO_HTTPD=1
PREP_HTTPD=1 USE_APACI=1 EVERYTHING=1
Everything is ok, then typing make
.....
cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -pipe
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
-I/usr/lib/perl5/5.00503/i586-linux/CORE Leak.c
In file included from Leak.xs:12:
/usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of
`union semun'
make[1]: *** [Leak.o] Error 1
make[1]: Leaving directory `/usr/src/mod_perl-1.21/Leak'
make: *** [subdirs] Error 2
and with
perl Makefile.PL
APACHE_SRC=../apache_1.3.6/src APACHE_PREFIX=/usr/local/apache
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
I've got
cc -c -I../.. -I/usr/lib/perl5/5.00503/i586-linux/CORE
-I../../os/unix -I../../include -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI
-Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX
`../../apaci` mod_include.c
In file included from ../../modules/perl/mod_perl.h:41,
from mod_include.c:85:
/usr/lib/perl5/5.00503/i586-linux/CORE/perl.h:2546: redefinition of
`union semun'
make[5]: *** [mod_include.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory`/usr/src/apache_1.3.6/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory`/usr/src/apache_1.3.6'
make[1]: ***[build] Error 2
make[1]: Leaving directory`/usr/src/apache_1.3.6'
make: *** [apaci_httpd] Error 2
Can anybody please help me?
Best regards
Eva Neuberger
[EMAIL PROTECTED]