Opened 17 years ago
Closed 15 years ago
#14610 closed defect (worksforme)
Compiling mod_wsgi fails on OS X 10.5 with MacPorts Python 2.4.4
Reported by: | sasha@… | Owned by: | ys@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | python | Cc: | blb@… |
Port: | mod_wsgi |
Description (last modified by blb@…)
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
Change History (4)
comment:1 Changed 16 years ago by blb@…
Description: | modified (diff) |
---|---|
Keywords: | mod_wsgi removed |
Owner: | changed from macports-tickets@… to ys@… |
Port: | mod_wsgi added |
comment:2 Changed 16 years ago by blb@…
Cc: | blb@… added; sasha@… removed |
---|
comment:4 Changed 15 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing, lack of response.
Note: See
TracTickets for help on using
tickets.
Can you try the current version of mod_wsgi, after the update in r48610?