Hi All,

I am trying to install modwsgi over my mac. It gave me some error so I
updated my Xcode to the latest version however it still doesn't
compile. It seems it has a problem with 64-bit:
here is the result of ./configure :

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.8
checking for python... /Library/Frameworks/Python.framework/Versions/
Current/bin/python
configure: creating ./config.status
config.status: creating Makefile


and here is the error:

/usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/2.5/
include/python2.5 -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/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/Library/Frameworks/
Python.framework/Versions/2.5/include/python2.5 -DNDEBUG  -c -o
mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
In file included from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:57,
                 from mod_wsgi.c:113:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/
pyport.h:761:2:In file included from /Library/Frameworks/
Python.framework/Versions/2.5/include/python2.5/Python.h:57 ,
                 from mod_wsgi.c:113:
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/
pyport.h:761:2: error: error: #error #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?).""LONG_BIT
definition appears wrong for platform (bad gcc/glibc config?)."

lipo: can't figure out the architecture type of: /var/folders/Oz/
OzJCk42BHE4eZJoJ1zy2P++++TI/-Tmp-//cccGDuqg.out
apxs:Error: Command failed with rc=65536

Any idea how to solve this problem?
Tnx,
Arash

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to modwsgi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to