mod_perl install problem
Hi, I've CVS'ed mod_perl-2.0, this morning Aug. 16th at about 11:00am Eastern time, and when I attempt to build with: AKIVA $ perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 I get: !!! You are running Perl version 5.6.0 We strongly suggest you upgrade to at least 5.6.1 Reading Makefile.PL args from ARGV MP_AP_PREFIX = /a3/APACHE/Apache2 MP_INST_APACHE2 = 1 * ERROR * Your current configuration will most likely trigger core dumps, suggestions: *) Do not configure mod_perl as a DSO *) Rebuild Perl without malloc pollution (Configure -Ubincompat5005) * ERROR * so I build with: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 everything makes ok, but when I try to install, it fails with: AKIVA $ make install cd src/modules/perl make -f Makefile.modperl cd src/modules/perl make -f Makefile.modperl install test -f mod_perl.so \ cp mod_perl.so /a3/APACHE/Apache2/modules *** Error code 1 make: Fatal error: Command failed for target `install' Current working directory /a4/WWW/APACHE2/modperl-2.0-CVS-20020816/src/modules/perl *** Error code 1 make: Fatal error: Command failed for target `modperl_lib_install' Other then the need to upgrade perl, why is the install not recognizing that mod_per..a is built and not mod_perl.so. OBTW, HTTPD-2.0 along with apr and apr-util were CVS'ed 8/15 at about 10:45am Eastern time. and compiled and installed fine. Thanks Jim Ballantine
mod_perl-1.99_04 compile failure
Hi, I have apache 2.0.40, built and working and I'm trying to add the mod_perl 2 module, but when I try to install it I'm failing on the compile of mod_perl.c. The makefile command is: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 This runs successfully and then I run make, with an output of: cd src/modules/perl make -f Makefile.modperl cc -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include -I/usr/local/include -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE -DMOD_PERL -O -c mod_perl.c /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h, line 23: warning: macro redefined: VOIDUSED mod_perl.c, line 511: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 511: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 515: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 515: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 519: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 519: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 523: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 523: prototype mismatch: 3 args passed, 4 expected cc: acomp failed for mod_perl.c *** Error code 2 make: Fatal error: Command failed for target `mod_perl.o' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl *** Error code 1 make: Fatal error: Command failed for target `modperl_lib' I've searched the archives, and can't find any mod_perl.c problems. Output of t/REPORT follows. Does anyone have and pointers or suggestions?? Thanks Jim Ballantine -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX= /a3/APACHE/Apache2 MP_GENERATE_XS = 1 MP_INST_APACHE2 = 1 MP_LIBNAME = mod_perl MP_USE_STATIC = 1 *** /a3/APACHE/Apache2/bin/httpd -V Server version: Apache/2.0.40 Server built: Aug 12 2002 15:12:21 Server's Module Magic Number: 20020628:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_MMAP -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/a3/APACHE/Apache2 -D SUEXEC_BIN=/a3/APACHE/Apache2/bin/suexec -D DEFAULT_PIDLOG=logs/httpd.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_LOCKFILE=logs/accept.lock -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf *** /usr/add-on/perl-5.6.0/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos hera 5.6 generic_105181-17 sun4u sparc sunw,ultra-enterprise ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Apr 19 2000 09:57:26 %ENV: PERL_LWP_USE_HTTP_10=1 INC: /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl . 3. This is the core dump
mod_perl-1.99_04 compile failure
Hi, Hopefully this is not a repost... I have apache 2.0.40, built and working and I'm trying to add the mod_perl 2 module, but when I try to install it I'm failing on the compile of mod_perl.c. The makefile command is: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 This runs successfully and then I run make, with an output of: cd src/modules/perl make -f Makefile.modperl cc -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include -I/usr/local/include -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE -DMOD_PERL -O -c mod_perl.c /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h, line 23: warning: macro redefined: VOIDUSED mod_perl.c, line 511: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 511: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 515: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 515: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 519: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 519: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 523: warning: improper pointer/integer combination: arg #3 mod_perl.c, line 523: prototype mismatch: 3 args passed, 4 expected cc: acomp failed for mod_perl.c *** Error code 2 make: Fatal error: Command failed for target `mod_perl.o' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/per l *** Error code 1 make: Fatal error: Command failed for target `modperl_lib' I've searched the archives, and can't find any mod_perl.c problems. Output of t/REPORT follows. Does anyone have and pointers or suggestions?? Thanks Jim Ballantine -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX= /a3/APACHE/Apache2 MP_GENERATE_XS = 1 MP_INST_APACHE2 = 1 MP_LIBNAME = mod_perl MP_USE_STATIC = 1 *** /a3/APACHE/Apache2/bin/httpd -V Server version: Apache/2.0.40 Server built: Aug 12 2002 15:12:21 Server's Module Magic Number: 20020628:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_MMAP -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/a3/APACHE/Apache2 -D SUEXEC_BIN=/a3/APACHE/Apache2/bin/suexec -D DEFAULT_PIDLOG=logs/httpd.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_LOCKFILE=logs/accept.lock -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf *** /usr/add-on/perl-5.6.0/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos hera 5.6 generic_105181-17 sun4u sparc sunw,ultra-enterprise ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Apr 19 2000 09:57:26 %ENV: PERL_LWP_USE_HTTP_10=1 INC: /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl
Re: mod_perl-1.99_04 compile failure
Thanks, that solved the problem. -- In Response to your message - Date: Wed, 14 Aug 2002 23:51:43 +0900 (JST) To: [EMAIL PROTECTED] From: Kyoichi Ozaki [EMAIL PROTECTED] Subject: Re: mod_perl-1.99_04 compile failure hi, try this: --- mod_perl-1.99_04/src/modules/perl/mod_perl.c.old 2002-06-21 13:16:51.000 00 +0900 +++ mod_perl-1.99_04/src/modules/perl/mod_perl.c 2002-08-13 23:56:54.000 00 +0900 @@ -508,18 +508,22 @@ ap_register_output_filter(MP_FILTER_REQUEST_OUTPUT_NAME, modperl_output_filter_handler, + NULL, AP_FTYPE_RESOURCE); ap_register_input_filter(MP_FILTER_REQUEST_INPUT_NAME, modperl_input_filter_handler, + NULL, AP_FTYPE_RESOURCE); ap_register_output_filter(MP_FILTER_CONNECTION_OUTPUT_NAME, modperl_output_filter_handler, + NULL, AP_FTYPE_CONNECTION); ap_register_input_filter(MP_FILTER_CONNECTION_INPUT_NAME, modperl_input_filter_handler, + NULL, AP_FTYPE_CONNECTION); ap_hook_pre_connection(modperl_hook_pre_connection, From: J. W. Ballantine [EMAIL PROTECTED] Subject: mod_perl-1.99_04 compile failure Date: Wed, 14 Aug 2002 10:43:53 -0400 Hi, Hopefully this is not a repost... I have apache 2.0.40, built and working and I'm trying to add the mod_pe rl 2 module, but when I try to install it I'm failing on the compile of mod_perl.c. The makefile command is: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 This runs successfully and then I run make, with an output of: cd src/modules/perl make -f Makefile.modperl cc -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include -I/usr/local/include -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/C ORE -DMOD_PERL -O -c mod_perl.c /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h, line 23: warning: macro redefined: VOIDUSED mod_perl.c, line 511: warning: improper pointer/integer combinat ion: arg #3 mod_perl.c, line 511: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 515: warning: improper pointer/integer combination : arg #3 mod_perl.c, line 515: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 519: warning: improper pointer/integer combination : arg #3 mod_perl.c, line 519: prototype mismatch: 3 args passed, 4 expected mod_perl.c, line 523: warning: improper pointer/integer combination : arg #3 mod_perl.c, line 523: prototype mismatch: 3 args passed, 4 expected cc: acomp failed for mod_perl.c *** Error code 2 make: Fatal error: Command failed for target `mod_perl.o' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/src/module s/per l *** Error code 1 make: Fatal error: Command failed for target `modperl_lib' I've searched the archives, and can't find any mod_perl.c problems. Out put of t/REPORT follows. Does anyone have and pointers or suggestions?? Thanks Jim Ballantine -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX= /a3/APACHE/Apache2 MP_GENERATE_XS = 1 MP_INST_APACHE2 = 1 MP_LIBNAME = mod_perl MP_USE_STATIC = 1 *** /a3/APACHE/Apache2/bin/httpd -V Server version: Apache/2.0.40 Server built: Aug 12 2002 15:12:21 Server's Module Magic Number: 20020628:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_MMAP -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/a3/APACHE/Apache2 -D SUEXEC_BIN=/a3/APACHE/Apache2/bin/suexec -D
Another mod_perl-1.99_04 compile failure
After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make continued until: cd src/modules/perl make -f Makefile.modperl cc -c -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apache2/include -I/usr/local/include -DMOD_PERL -O -DVERSION=\0.01\ -DXS_VERSION=\0.01\ -KPIC -I/usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/COR E Table.c /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris/CORE/perl.h, line 23: warning: macro redefined: VOIDUSED /a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h, line 73: undefined struct/union member: a /a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h, line 73: non-unique member requires struct/union object: pool /a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h, line 73: warning: left operand of . must be struct/union object /a4/WWW/APACHE2/mod_perl-1.99_04/xs/APR/Table/APR__Table.h, line 73: cannot access member of non-struct/union object cc: acomp failed for Table.c *** Error code 2 make: Fatal error: Command failed for target `Table.o' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS/APR/Table *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS/APR *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /a4/WWW/APACHE2/mod_perl-1.99_04/WrapXS *** Error code 1 make: Fatal error: Command failed for target `subdirs' t/REPORT follows. Does anyone have and pointers or suggestions?? Also, is my setup strange, or is finding this problems usual? Thanks Jim Ballantine -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX= /a3/APACHE/Apache2 MP_GENERATE_XS = 1 MP_INST_APACHE2 = 1 MP_LIBNAME = mod_perl MP_USE_STATIC = 1 *** /a3/APACHE/Apache2/bin/httpd -V Server version: Apache/2.0.40 Server built: Aug 12 2002 15:12:21 Server's Module Magic Number: 20020628:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_MMAP -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/a3/APACHE/Apache2 -D SUEXEC_BIN=/a3/APACHE/Apache2/bin/suexec -D DEFAULT_PIDLOG=logs/httpd.pid -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_LOCKFILE=logs/accept.lock -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=conf/mime.types -D SERVER_CONFIG_FILE=conf/httpd.conf *** /usr/add-on/perl-5.6.0/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos hera 5.6 generic_105181-17 sun4u sparc sunw,ultra-enterprise ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=und ef Compiler: cc='cc', optimize='-O', gccversion= cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lsec libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Apr 19 2000 09:57:26 %ENV: PERL_LWP_USE_HTTP_10=1 INC: /usr/add-on/perl-5.6.0/lib/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris /usr/add-on/perl-5.6.0/lib/site_perl/5.6.0 /usr/add-on/perl-5.6.0/lib/site_perl . 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by t/REPORT on Tue Aug 13 17:56:51 2002 GMT. -8-- End Bug Report --8--