I forced the architecture to be x86_64
by setting it as an environment variable:
export ARCHFLAGS="-arch x86_64"
This seemed to have worked for compiling mod_perl2 and DBI but I'm still struggling with Apache2::Request.
What's wrong with -m64?
pipping on 2007-11-10T10:51:28
This works for me:
% tar xf libapreq2-2.08.tar.gz
% cd libapreq2-2.08
% export CFLAGS=-m64
%
./configure
[ snip ]
% make -j3
% file library/.libs/libapreq2.3.6.0.dylib
library/.libs/libapreq2.3.6.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64