Randy, Unfortunately, the same results were yielded using the "flexible way". Below is the "perl Makefile.PL", "make" Build session.
I look forward to your response. RB ================================== Build Session ================================== [mod_perl-1.26]# perl Makefile.PL APACHE_SRC=/dist/apache_1.3.23/src DO_HTTPD=1 USE_ACAPI=1 PREP_HTTPD=1 EVERYTHING=1 Appending mod_perl to src/Configuration Using config file: /usr/dist/apache_1.3.23/mod_perl-1.26/src/Configuration Creating Makefile + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o db_auth_module uses ConfigStart/End using Berkeley-DB/3.x for mod_auth_db (-ldb) o digest_auth_module uses ConfigStart/End using /dev/random for the random seed o perl_module uses ConfigStart/End + mod_perl build type: OBJ + setting up mod_perl build environment + id: mod_perl/1.26 + id: Perl/v5.6.1 (linux) [perl] Note (probably harmless): No library found for -lposix + adjusting Apache build environment + enabling Perl support for SSI (mod_include) + using system Expat + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in support Creating Makefile in regex Creating Makefile in os/unix Creating Makefile in ap Creating Makefile in main Creating Makefile in modules/standard Creating Makefile in modules/experimental Creating Makefile in modules/proxy Creating Makefile in modules/example Creating Makefile in modules/perl EXTRA_CFLAGS: -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/dev/random -DMOD_P ERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRAN T -fno-strict-aliasing -DUSE_HSREGEX PerlDispatchHandler.........enabled PerlChildInitHandler........enabled PerlChildExitHandler........enabled PerlPostReadRequestHandler..enabled PerlTransHandler............enabled PerlHeaderParserHandler.....enabled PerlAccessHandler...........enabled PerlAuthenHandler...........enabled PerlAuthzHandler............enabled PerlTypeHandler.............enabled PerlFixupHandler............enabled PerlHandler.................enabled PerlLogHandler..............enabled PerlInitHandler.............enabled PerlCleanupHandler..........enabled PerlRestartHandler..........enabled PerlStackedHandlers.........enabled PerlMethodHandlers..........enabled PerlDirectiveHandlers.......enabled PerlTableApi................enabled PerlLogApi..................enabled PerlUriApi..................enabled PerlUtilApi.................enabled PerlFileApi.................enabled PerlConnectionApi...........enabled PerlServerApi...............enabled PerlSections................enabled PerlSSI.....................enabled Will run tests as User: 'nobody' Group: 'root' Checking CGI.pm VERSION..........ok Checking for LWP::UserAgent......ok Checking for HTML::HeadParser....ok Checking if your kit is complete... Looks good 'USE_ACAPI' is not a known MakeMaker parameter name. Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Writing Makefile for mod_perl [root@posiden mod_perl-1.26]# make (cd /dist/apache_1.3.23/src && PERL5LIB=/usr/dist/apache_1.3.23/mod_perl-1.26/lib make CC="gcc";) make[1]: Entering directory `/usr/dist/apache_1.3.23/src' ===> regex make[2]: Nothing to be done for `all'. <=== regex ===> os/unix 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 -I/usr/include/db1 -DDEV_ RANDOM=/dev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTR ANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGE FILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i68 6-linux-thread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D _POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURC E -D_FILE_OFFSET_BITS=64 -DMOD_PERL os.c In file included from /usr/include/sys/sem.h:28, from ../../include/ap_config.h:495, from os.c:6: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" 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 -I/usr/include/db1 -DDEV_ RANDOM=/dev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTR ANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGE FILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i68 6-linux-thread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D _POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURC E -D_FILE_OFFSET_BITS=64 -DMOD_PERL os-inline.c In file included from /usr/include/sys/sem.h:28, from ../../include/ap_config.h:495, from os-inline.c:24: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" rm -f libos.a ar cr libos.a os.o os-inline.o ranlib libos.a <=== os/unix ===> ap gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_cpystrn.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_cpystrn.c:59: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_execve.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_execve.c:94: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_fnmatch.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_fnmatch.c:46: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_getpass.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_getpass.c:65: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" ap_getpass.c: In function `ap_getpass': ap_getpass.c:191: warning: assignment makes pointer from integer without a cast gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_md5c.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_md5c.c:105: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_signal.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_signal.c:59: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_slack.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_slack.c:67: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_snprintf.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_snprintf.c:65: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_sha1.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_sha1.c:92: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_checkpass.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_checkpass.c:66: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_base64.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ap_base64.c:67: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_ebcdic.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from ap_ebcdic.c:58: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_hook.c gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_ctx.c gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL ap_mm.c rm -f libap.a ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o ap_checkpass.o ap_base64.o ap_ebcdic.o ap_hook.o ap_ctx.o ap_mm.o ranlib libap.a <=== ap ===> main gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL gen_test_char.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from gen_test_char.c:2: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/dev/random -DMOD_PERL -DUSE _PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-st rict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L - D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CORE -I. -I../ .. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_REENTRAN T -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -o gen_test_char gen_test_char.o `perl /usr/dist/apache_1.3.23/mod_perl-1.26/src/modules/perl/ldopts ` -lm -lcrypt -lndbm -ldb -rdynamic -L/usr/local/lib /usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/auto/DynaLoader/ DynaLoader.a -L/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/C ORE -lperl -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil -lexpat Note (probably harmless): No library found for -lposix ./gen_test_char >test_char.h gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL alloc.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from alloc.c:66: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL buff.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from buff.c:59: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL http_config.c In file included from /usr/include/sys/sem.h:28, from ../include/ap_config.h:495, from ../include/httpd.h:72, from http_config.c:76: /usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" gcc -c -I.. -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/CO RE -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DDEV_RANDOM=/d ev/random -DMOD_PERL -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=19 9506L -D_REENTRANT -fno-strict-aliasing -DUSE_HSREGEX -DUSE_REENTRANT_API - D_POSIX_C_SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOUR CE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-t hread-multi/CORE -I. -I../.. -DUSE_PERL_SSI -DUSE_REENTRANT_API -D_POSIX_C_ SOURCE=199506L -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE _OFFSET_BITS=64 -DMOD_PERL 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:3: 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:3775: `caddr_t' undeclared (first use in this function) http_core.c:3775: (Each undeclared identifier is reported only once http_core.c:3775: for each function it appears in.) http_core.c:3775: parse error before "mm" http_core.c:3839: `mm' undeclared (first use in this function) make[2]: *** [http_core.o] Error 1 make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/dist/apache_1.3.23/src' make: *** [apache_httpd] Error 2 -----Original Message----- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 10:41 AM To: OCNS Consulting Cc: [EMAIL PROTECTED] Subject: Re: mod_perl compile problem On Thu, 14 Feb 2002, OCNS Consulting wrote: > I'm attempting to make "httpd" apache-1.3.23 with mod_perl-1.26 and > ActiveState Perl 5.6.1 Build 631. This is a simple build with no other > modules or EAPI references. Unfortunately, I'm encountering the following > error when the compile of the "http_core.c" routine is attempted: > > http_core.c: In function `default_handler': > http_core.c:3775: `caddr_t' undeclared (first use in this function) [ ... ] Can you compile apache separately OK, not through mod_perl? If so, you might try compiling mod_perl the "flexible way" described in INSTALL.apaci in the mod_perl sources. best regards, randy kobes