You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Francis Koo <fr...@mediaring.com> on 2000/07/27 01:37:46 UTC

re: mod_perl 1.2.4 on Mac OSX

hi:

 i'm trying to compile mod_perl with apache_1.3.12 on a Mac OSX Server box
 but i'm running into some architecture problem when compiling mod_perl
(even
 though i've removed "i386" from the Makefile):

cc -c  -arch i386 -arch ppc -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -O3    -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\"
-fpic -I/System/Library/Frameworks/Perl.framework/Versions/5.005/Headers 
Leak.c
Running Mkbootstrap for Apache::Leak ()
chmod 644 Leak.bs
LD_RUN_PATH="" cc -o ../blib/arch/auto/Apache/Leak/Leak.bundle  -arch i386
-arch ppc  -bundle -undefined suppress Leak.o     
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /lib/bundle1.o cputype (18, architecture ppc) does not
match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /usr/lib/libcc_dynamic.a archive's cputype (18,
architecture ppc) does not match cputype (7) for specified -arch flag: i386
(can't load from it)
/usr/bin/ld: warning /System/Library/Frameworks/System.framework/System
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (file not loaded)
/usr/bin/ld: Leak.o has external relocation entries in non-writable section
(__TEXT,__picsymbol_stub) for symbols:
dyld_stub_binding_helper

 not sure if i need to have a specific port of mod_perl for Mac OSX. any
help
 is greatly appreciated. thanks in advance. regards.

-- 
Koo Kang Wee Francis              | "A wise monkey is a monkey that does
not
Email: francis-koo@mediaring.com  | monkey with another monkey's monkey"