Hello!
in the meantime i also solved the problem for me
(hope it really works :-) I just compiled a perl
source from cpan, and it worked, I donĀ“t see any
advantages in using the ActivePerl Binary in the
moment.
bye
Am Mit, 2002-04-03 um 17.37 schrieb OCNS Consulting:
Here's what I did:
1. Retrieve the latest build of the mod_perl at -
http://cvs.apache.org/snapshots/modperl/
2. Compile mod_perl outside of the Apache Source Tree,
as described in file INSTALL.apaci; suggest -
perl Makefile.PL USE_APXS=1 EVERYTHING=1 WITH_APXS=/usr/bin/apxs
make
make test
make install
3. Compile Apache
cd apache_1.3.23
and issue the following to configure APACHE
make distclean
env CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
SSL_BASE=/usr/local/ssl \
EAPI_MM=SYSTEM LIBS=-ltcl8.3 -lm -lpthread \
./configure \
--verbose \
--server-uid=nobody \
--server-gid=nobody \
--enable-rule=EAPI \
--enable-rule=SHARED_CORE \
--enable-module=ssl \
--enable-module=status \
--enable-module=so \
--enable-module=headers \
--enable-module=info \
--enable-module=speling
*** Note: You may or may not need the EAPI - Read the Documentation ***
*** If not, then remove EAPI_MM=SYSTEM and --enable-rule=EAPI \ ***
*** If not SSL then remove SSL_BASE=/usr/local/ssl \ and***
*** --enable-module=ssl \
***
make
make install
4. Edit /usr/local/apache/conf/httpd.conf file; comment out -
AddModule directives and remove and redundant
loadModule directives.
5.Restart APACHE - /usr/local/apache/bin/apachectl start/restart
RB
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 9:30 AM
To: Sven Sternberger
Cc: [EMAIL PROTECTED]
Subject: Re: modperl compile problems!
On 3 Apr 2002, Sven Sternberger wrote:
Hello!
i try to build a apache with mod_perl and ActiveState Perl.
The compiler stops always with the same error message, I tried
several different ways which are described in the Readme docs, and
I try the Apache Toolbox (automated apache build). I saw a thread
which deals which the same question but there was not a solution
(only some ideas).
gcc -c -I..
-I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE
-I../os/unix -I../include -DLINUX=22 -DMOD_PERL
-DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED
`../apaci` http_core.c In file included from
/usr/include/sys/sem.h:28,
from ../include/ap_config.h:495,
from ../include/httpd.h:72,
from http_core.c:61:
/usr/include/sys/ipc.h:25: warning: #warning Files using
this header must be compiled with _SVID_SOURCE or
_XOPEN_SOURCE http_core.c: In function `default_handler':
http_core.c:3802: `caddr_t' undeclared (first use in this
function) http_core.c:3802:
This has come up before - at least one person found that
building mod_perl as a dso outside of the Apache source
tree, as described at the end of INSTALL.apaci in the
mod_perl sources, worked.
best regards,
randy kobes
--
Sven Sternberger Tel.: +49 (0) 40 8998 4397
Desy Email: [EMAIL PROTECTED]
Notkestr. 85
D-22607 Hamburg