1. Problem Description: make test fails to start the httpd - failure message: [error] Insecure directory in $ENV{PATH} while running with -T switch at /opt/apache/perl/.cpan/build/mod_perl-2.0.4-xDMqqj/Apache-Test/lib/Apache/TestConfig.pm line 1108 [error] Can't load Perl file: /opt/apache/perl/.cpan/build/mod_perl-2.0.4-xDMqqj/t/conf/modperl_startup.pl for server loopback:8529, exiting... [error] server failed to start! (t/logs/error_log wasn't created, start the server in the debug mode)
Apache/2.2.11 mod_perl/2.0.4 Perl/v5.10.1 all built with gcc gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.1.1/configure --disable-nls Thread model: aix gcc version 4.1.1 2. Used Components and their Configuration: *** mod_perl version 2.000004 *** using /opt/apache/perl/.cpan/build/mod_perl-2.0.4-xDMqqj/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => /opt/apache/bin/apxs MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /opt/apache/bin/httpd -V Server version: Apache/2.2.11 (Unix) Server built: Jul 22 2009 17:20:13 Server's Module Magic Number: 20051115:21 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/opt/apache" -D SUEXEC_BIN="/opt/apache/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/bin/ldd /opt/apache/bin/httpd /opt/apache/bin/httpd needs: /opt/apache/lib/libaprutil-1.so /opt/apache/lib/libapr-1.so /usr/lib/libpthread.a(shr_comm.o) /usr/lib/libpthread.a(shr_xpg5.o) /usr/lib/libc.a(shr.o) /usr/lib/librtl.a(shr.o) /opt/apache/lib/libexpat.a(libexpat.so.0) /usr/lib/libiconv.a(shr4.o) /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../libgcc_s.a(shr.o) /usr/lib/libpthreads.a(shr_comm.o) /unix /usr/lib/libcrypt.a(shr.o) *** (apr|apu)-config linking info -L/opt/apache/lib -laprutil-1 -lexpat -liconv -L/opt/apache/lib -lapr-1 -lpthread -Wl,-brtl *** /opt/apache/perl/bin/perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=aix, osvers=5.3.0.0, archname=aix uname='aix aumnp113s 3 5 00c7434d4c00 ' config_args='-Dprefix=/opt/apache/perl -Dcc=gcc' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc -maix32', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGE_FILES', optimize='-O', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.1.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc -maix32', ldflags =' -Wl,-brtl -Wl,-bdynamic -L/usr/local/lib -L/opt/local/lib -Wl,-b32 -Wl,-bmaxdata:0x80000000' libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker -bE:/opt/apache/perl/lib/5.10.1/aix/CORE/perl.exp' cccdlflags=' ', lddlflags=' -Wl,-bhalt:4 -Wl,-G -Wl,-bI:$(PERL_INC)/perl.exp -Wl,-bE:$(BASEEXT).exp -Wl,-bnoentry -lc -lm -L/usr/local/lib -L/opt/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_FAST_STDIO USE_LARGE_FILES USE_PERLIO Built under aix Compiled at Sep 18 2009 09:36:22 %ENV: PERL5LIB="" PERL_LWP_USE_HTTP_10="1" @INC: /opt/apache/perl/lib/5.10.1/aix /opt/apache/perl/lib/5.10.1 /opt/apache/perl/lib/site_perl/5.10.1/aix /opt/apache/perl/lib/site_perl/5.10.1 . *** Packages of interest status: Apache2 : - Apache2::Request : - CGI : 3.48 ExtUtils::MakeMaker: 6.55_02 LWP : 5.833 mod_perl : - mod_perl2 : - perl Makefile.PL MP_APXS=/opt/apache/bin/apxs Reading Makefile.PL args from @ARGV MP_APXS = /opt/apache/bin/apxs no conflicting prior mod_perl version found - good. Configuring Apache/2.2.11 mod_perl/2.0.4 Perl/v5.10.1 3. This is the core dump trace: (if you get a core dump): No core dump No t/logs/error_log This report was generated by t/REPORT on Thu Nov 19 05:04:07 2009 GMT. Regards, Greg George IT Shared Services Phone: +613-9091-2492 3/100 Victoria Prd, Melbourne Please consider the environment before printing this e-mail *********************************************************************************************************************************************************************************************** Please consider the environment before printing this e-mail. This message is intended solely for the individual(s) and entity(s) addressed. It is confidential and may contain legally privileged information. The use, copying or distribution of this message or any information it contains, by anyone other than the addressee, is prohibited. If you have received this message in error, please notify postmas...@orica.com. The mailbox address from which this message has been sent is for business mail only. Mail sent to it may be subject to security scanning and delivery on non-business messages sent to this address may not occur. Thank you. ***********************************************************************************************************************************************************************************************