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