--Apple-Mail-19-633566512
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit

Hello, I am trying to install mod_perl on OS X Leopard. I searched
around and tried the various suggestions that I found, but still get
errors on 'make test' (see below). Incidentally, I do have the
following environment variables set as suggested in an article I read.
CFLAGS=-arch x86_64
ARCHFLAGS=-arch x86_64

I stupidly did a 'make install' anyway, which I am guessing
obliterated any pre-installed mod_perl library if there was one.

Thanks for any help.
SH

cd "src/modules/perl" && make
make[1]: Nothing to be done for `all'.
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /usr/src/mod_perl-2.0.3/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /usr/src/mod_perl-2.0.3/t/TEST -
bugreport -verbose=0
Can't load '/usr/src/mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/
Const.bundle' for module ModPerl::Const: dlopen(/usr/src/
mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/Const.bundle, 9): no
suitable image found. Did find:
/usr/src/mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/Const.bundle:
mach-o, but wrong architecture at /System/Library/Perl/5.8.8/darwin-
thread-multi-2level/DynaLoader.pm line 230.
at /usr/src/mod_perl-2.0.3/blib/lib/Apache2/Const.pm line 18
Compilation failed in require at /usr/src/mod_perl-2.0.3/blib/lib/
Apache2/Const.pm line 18.
BEGIN failed--compilation aborted at /usr/src/mod_perl-2.0.3/blib/lib/
Apache2/Const.pm line 18.
Compilation failed in require at /usr/src/mod_perl-2.0.3/t/response/
TestApache/subprocess.pm line 13.
BEGIN failed--compilation aborted at /usr/src/mod_perl-2.0.3/t/
response/TestApache/subprocess.pm line 13.
Compilation failed in require at /usr/src/mod_perl-2.0.3/Apache-Test/
lib/Apache/TestConfigPerl.pm line 617.
Bareword "Apache2::Const::OK" not allowed while "strict subs" in use
at /usr/src/mod_perl-2.0.3/t/response/TestDirective/perlmodule.pm line
24.
Compilation failed in require at /usr/src/mod_perl-2.0.3/Apache-Test/
lib/Apache/TestConfigPerl.pm line 617.
Undefined subroutine &TestDirective:erlmodule::APACHE_TEST_CONFIGURE
called at /usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/
TestConfigPerl.pm line 621.
Bareword "Apache2::Const::OK" not allowed while "strict subs" in use
at /usr/src/mod_perl-2.0.3/t/response/TestDirective/perlrequire.pm
line 26.
Compilation failed in require at /usr/src/mod_perl-2.0.3/Apache-Test/
lib/Apache/TestConfigPerl.pm line 617.
Undefined subroutine
&TestDirective:erlrequire::APACHE_TEST_CONFIGURE called at /usr/src/
mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line 621.
/usr/sbin/httpd -d /usr/src/mod_perl-2.0.3/t -f /usr/src/
mod_perl-2.0.3/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.6 (prefork MPM)

waiting 120 seconds for server to start: .[Fri Nov 23 11:24:42 2007]
[warn] Useless use of AllowOverride in line 891.
[Fri Nov 23 11:24:42 2007] [info] 6 Apache2:: modules loaded
[Fri Nov 23 11:24:42 2007] [info] 0 APR:: modules loaded
[Fri Nov 23 11:24:42 2007] [info] base server + 29 vhosts ready to run
tests
[Fri Nov 23 11:24:42 2007] [error] Can't locate ApacheTest/
PerlRequireTest.pm in @INC (@INC contains: /usr/src/mod_perl-2.0.3 /
usr/src/mod_perl-2.0.3/t/lib /usr/src/mod_perl-2.0.3/Apache-Test/lib /
usr/src/mod_perl-2.0.3/t/response /usr/src/mod_perl-2.0.3/t/protocol /
usr/src/mod_perl-2.0.3/t/preconnection /usr/src/mod_perl-2.0.3/t/
hooks /usr/src/mod_perl-2.0.3/t/filter /usr/src/mod_perl-2.0.3/t /usr/
src/mod_perl-2.0.3/t/htdocs/testdirective/perlmodule-vh /usr/src/
mod_perl-2.0.3/t/htdocs/testdirective/main /usr/src/mod_perl-2.0.3/
blib/lib /usr/src/mod_perl-2.0.3/blib/arch /sw/lib/perl5 /sw/lib/perl5/
darwin /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/
Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /
Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-
thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /
System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/
Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1) at
(eval 30) line 1.\n
[Fri Nov 23 11:24:42 2007] [error] Can't load Perl file: ApacheTest/
PerlRequireTest.pm for server localhost:8529, exiting...
...^C[warning]
halting tests
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1




--Apple-Mail-19-633566512
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

-webkit-line-break: after-white-space; ">Hello,  I am trying to =
install mod_perl on OS X Leopard.    I searched around and =
tried the various suggestions that I found, but still get errors on =
'make test' (see below).    Incidentally, I do have the =
following environment variables set as suggested in an article I read. =
 
CFLAGS=3D-arch x86_64
ARCHFLAGS=3D-arch =
x86_64

I =
stupidly did a 'make install' anyway, which  I am guessing =
obliterated any pre-installed mod_perl library if there was =
one.

class=3D"webkit-block-placeholder">
Thanks for any =
help.
SH

class=3D"webkit-block-placeholder">
cd "src/modules/perl" =
&& make
make[1]: Nothing to be done for =
`all'.
/usr/bin/perl -Iblib/arch -Iblib/lib \
class=3D"Apple-tab-span" style=3D"white-spacere"> t/TEST =
-clean
[warning] setting ulimit to allow core =
files
ulimit -c unlimited; /usr/bin/perl =
/usr/src/mod_perl-2.0.3/t/TEST -clean
APACHE_TEST_GROUP=3D =
APACHE_TEST_HTTPD=3D APACHE_TEST_PORT=3D APACHE_TEST_USER=3D =
APACHE_TEST_APXS=3D \
style=3D"white-spacere"> /usr/bin/perl -Iblib/arch =
-Iblib/lib \
style=3D"white-spacere"> t/TEST -bugreport =
-verbose=3D0 
[warning] setting ulimit to allow core =
files
ulimit -c unlimited; /usr/bin/perl =
/usr/src/mod_perl-2.0.3/t/TEST -bugreport -verbose=3D0
Can't =
load '/usr/src/mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/Const.bundle' =
for module ModPerl::Const: =
dlopen(/usr/src/mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/Const.bundle, =
9): no suitable image found.  Did find:
class=3D"Apple-tab-span" style=3D"white-spacere"> =
/usr/src/mod_perl-2.0.3/blib/arch/auto/ModPerl/Const/Const.b=
undle: mach-o, but wrong architecture at =
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line =
230.
 at =
/usr/src/mod_perl-2.0.3/blib/lib/Apache2/Const.pm line =
18
Compilation failed in require at =
/usr/src/mod_perl-2.0.3/blib/lib/Apache2/Const.pm line =
18.
BEGIN failed--compilation aborted at =
/usr/src/mod_perl-2.0.3/blib/lib/Apache2/Const.pm line =
18.
Compilation failed in require at =
/usr/src/mod_perl-2.0.3/t/response/TestApache/subprocess.pm line =
13.
BEGIN failed--compilation aborted at =
/usr/src/mod_perl-2.0.3/t/response/TestApache/subprocess.pm line =
13.
Compilation failed in require at =
/usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line =
617.
Bareword "Apache2::Const::OK" not allowed while "strict =
subs" in use at =
/usr/src/mod_perl-2.0.3/t/response/TestDirective/perlmodule.pm line =
24.
Compilation failed in require at =
/usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line =
617.
Undefined subroutine =
&TestDirective:erlmodule::APACHE_TEST_CONFIGURE called at =
/usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line =
621.
Bareword "Apache2::Const::OK" not allowed while "strict =
subs" in use at =
/usr/src/mod_perl-2.0.3/t/response/TestDirective/perlrequire.pm line =
26.
Compilation failed in require at =
/usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line =
617.
Undefined subroutine =
&TestDirective:erlrequire::APACHE_TEST_CONFIGURE called at =
/usr/src/mod_perl-2.0.3/Apache-Test/lib/Apache/TestConfigPerl.pm line =
621.
/usr/sbin/httpd  -d /usr/src/mod_perl-2.0.3/t -f =
/usr/src/mod_perl-2.0.3/t/conf/httpd.conf -D APACHE2 -D =
PERL_USEITHREADS
using Apache/2.2.6 (prefork =
MPM)

waiting =
120 seconds for server to start: .[Fri Nov 23 11:24:42 2007] [warn] =
Useless use of AllowOverride in line 891.
[Fri Nov 23 11:24:42 =
2007] [info] 6 Apache2:: modules loaded
[Fri Nov 23 11:24:42 =
2007] [info] 0 APR:: modules loaded
[Fri Nov 23 11:24:42 2007] =
[info] base server + 29 vhosts ready to run tests
[Fri Nov 23 =
11:24:42 2007] [error] Can't locate ApacheTest/PerlRequireTest.pm in =
@INC (@INC contains: /usr/src/mod_perl-2.0.3 =
/usr/src/mod_perl-2.0.3/t/lib /usr/src/mod_perl-2.0.3/Apache-Test/lib =
/usr/src/mod_perl-2.0.3/t/response /usr/src/mod_perl-2.0.3/t/protocol =
/usr/src/mod_perl-2.0.3/t/preconnection /usr/src/mod_perl-2.0.3/t/hooks =
/usr/src/mod_perl-2.0.3/t/filter /usr/src/mod_perl-2.0.3/t =
/usr/src/mod_perl-2.0.3/t/htdocs/testdirective/perlmodule-vh =
/usr/src/mod_perl-2.0.3/t/htdocs/testdirective/main =
/usr/src/mod_perl-2.0.3/blib/lib /usr/src/mod_perl-2.0.3/blib/arch =
/sw/lib/perl5 /sw/lib/perl5/darwin =
/System/Library/Perl/5.8.8/darwin-thread-multi-2level =
/System/Library/Perl/5.8.8 =
/Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 =
/Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level =
/Network/Library/Perl/5.8.8 /Network/Library/Perl =
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level =
/System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 =
/Library/Perl/5.8.1) at (eval 30) line 1.\n
[Fri Nov 23 =
11:24:42 2007] [error] Can't load Perl file: =
ApacheTest/PerlRequireTest.pm for server localhost:8529, =
exiting...
..^C[warning] 
halting =
tests
+--------------------------------------------------------+=
+--------------------------------------------------------+ v>
make: *** [run_tests] Error 1

class=3D"webkit-block-placeholder">

class=3D"webkit-block-placeholder">


>=

--Apple-Mail-19-633566512--