[Pythonmac-SIG] Python modules that are a PITA
Dan Grassi
Dan@Grassi.org
Tue, 18 Mar 2003 22:59:08 -0500
Once again I am faced with compiling mysql and mod_python modules but
alas they don't
compile on OS X (Apple python and Apple mysql-server). As usual they
don't compile. Is there some way that they can be incorporated into
the standard python distribution?
Among other things I keep seeing gcc -arch i386 -arch ppc, why do I see
-arch i386? In the case of mysql I get this error:
ld: warning build/temp.darwin-6.4-Power Macintosh-2.2/_mysql.o cputype
(18, architecture ppc) does not match cputype (7) for specified -arch
flag: i386 (file not loaded)
Any ideas?
Thanks,
Dan