Hi, I used to be able to compile mod_perl pretty easily on Mac OS X, but now for some reason (upgrades of modules? OS upgrades?) I'm having a lot of trouble getting past 'make test'. Here's what happens (no matter whether I compile statically with just EVERYTHING=1, or as a DSO as per http://david.wheeler.net/osx.html):
==================================================================== [junior:~/Downloads/perl/mod_perl-1.26] ken% make test cp t/conf/mod_perl_srm.conf t/conf/srm.conf /usr/local/src/apache_1.3.23/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t & httpd listening on port 8529 will write error_log to: t/logs/error_log letting apache warm up...\c [Sun Apr 28 12:29:28 2002] [error] Insecure $ENV{PATH} while running with -T switch at /System/Library/Perl/Cwd.pm line 92. BEGIN failed--compilation aborted at /System/Library/Perl/ExtUtils/testlib.pm line 6. Compilation failed in require at /Users/ken/Downloads/perl/mod_perl-1.26/t//docs/startup.pl line 9. BEGIN failed--compilation aborted at /Users/ken/Downloads/perl/mod_perl-1.26/t//docs/startup.pl line 9. Compilation failed in require at (eval 1) line 1. <....> ==================================================================== It's possible that it might have something to do with ExtUtils::MakeMaker and its seedy friends, because I've been helping work on that and installing betas from time to time. But I'm not sure where to start looking at that. I'm currently using EU::MM 5.91_01. Any suggestions? -Ken % uname -a: Darwin junior 5.4 Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC Power Macintosh powerpc Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=darwin, osvers=5.2, archname=darwin uname='darwin junior 5.2 darwin kernel version 5.2: fri dec 7 21:39:35 pst 2001; root:xnuxnu-201.14.obj~1release_ppc power macintosh powerpc ' config_args='-des -Dfirstmakefile=GNUmakefile -Dldflags=-flat_namespace' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing', optimize='-O3', cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' ccversion='', gccversion='Apple devkit-based CPP 6.02', 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, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-flat_namespace -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-lm -lc perllibs=-lm -lc libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-flat_namespace -bundle -undefined suppress -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at 12/31/01 02:02:01 @INC: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .