> Oh, yeh, I had fought mod_perl on MOSX long and hard and did finally
> win...only to switch to linux a month later.
I wish I could ;)
> anyway, here's what you need to do:
>
> 1. if you haven't installed the sources off the Developer CD, do so now.
> 2. in /System/Library/Perl/rhapsody/Config.pm remove all occurrences of
> -arch i386
> 3. in /System/Library/Perl/rhapsody/Config.pm add
> '-I
/System/Library/Frameworks/Perl.framework/Versions/5.005/Headers'
> to PERL_INC
>
> I think this should do it, if not let me know, I might have missed
something.
Did all of that, but I still receive an error. I didn't find PERL_INC in
Config.pm, but it was in the mod_perl Makefile with the proper path.
This is the new error:
*** Cut ***
===> modules/standard
<=== modules/standard
===> modules/perl
<=== modules/perl
<=== modules
cc -c -I./os/unix -I./include -DMAC_OS_X_SERVER -DMOD_PERL -DUSE_HSREGEX
-DUS
E_EXPAT -I./lib/expat-lite -DMOD_PERL modules.c
cc -c -I./os/unix -I./include -DMAC_OS_X_SERVER -DMOD_PERL -DUSE_HSREGEX
-DUS
E_EXPAT -I./lib/expat-lite -DMOD_PERL buildmark.c
cc -DMAC_OS_X_SERVER -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lit
e -D
MOD_PERL \
-o httpd buildmark.o modules.o modules/perl/libperl.a
modules/standard/lib
standard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
lib/expa
t-lite/libexpat.a `perl /usr/local/src/mod_perl-1.21/src/modules/perl/ldopts
`
-arch ppc /System/Library/Perl/rhapsody/auto/DynaLoader/DynaLoader.a
Note (probably harmless): No library found for -lperl
/usr/bin/ld: Undefined symbols:
_PL_endav
_PL_envgv
_PL_errgv
_PL_incgv
_PL_markstack_max
*** Cut ***
_Perl_save_I32
_perl_get_hv
_Perl_mess
_Perl_saferealloc
_Perl_savepv
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2
Any other solutions as to where to head? Thanks for your first tips -- they
got it to compile farther than before!
Jason