[MacPorts] #14610: Compiling mod_wsgi fails on OS X 10.5 with MacPorts Python 2.4.4
MacPorts
trac at macosforge.org
Sun Mar 9 15:13:15 PDT 2008
#14610: Compiling mod_wsgi fails on OS X 10.5 with MacPorts Python 2.4.4
------------------------------------+---------------------------------------
Reporter: sasha at theotheralex.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: python mod_wsgi |
------------------------------------+---------------------------------------
I'm attempting to compile mod_wsgi on PowerBook G4 under OS X 10.5 and
MacPorts Python 2.4.4. According to mod_wsgi maintainer this issue might
be related to MacPorts and its Python:
http://code.google.com/p/modwsgi/issues/detail?id=68
Here's the traceback:
shurik:mod_wsgi-2.0c4 sasha$ make
/usr/sbin/apxs -c
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
-DNDEBUG -Wc,'-arch ppc7400' -Wc,'-arch ppc64' -Wc,'-arch i386' -Wc,'-arch
x86_64' mod_wsgi.c -arch ppc7400 -arch ppc64 -arch i386 -arch x86_64
-Wl,-F/opt/local/Library/Frameworks -framework Python -u _PyMac_Error
-ldl
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/usr/include/apache2
-I/usr/include/apr-1 -I/usr/include/apr-1 -arch ppc7400 -arch ppc64
-arch i386 -arch x86_64
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
-DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
from mod_wsgi.c:112:
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:629:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
from mod_wsgi.c:112:
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:629:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
lipo: can't figure out the architecture type of:
/var/folders/DQ/DQ8iYT1BHxes1-nQvJacO++++TI/-Tmp-//ccwEuHQ7.out
apxs:Error: Command failed with rc=65536
.
make: *** [mod_wsgi.la] Error 1
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14610>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list