I've been trying to get mod_wsgi(2.3) and/or mod_python working on Leopard 10.5.6. I'm using svn checkouts of both modules. I'm using Python 2.6.1.
With the exact same setup on both machines, I'm succeeding on my MacBookPro(intel) and failing in my G5 Tower(ppc) Here's the config test error on the ppc machine: /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/ mod_wsgi.so into server: dlopen(/usr/libexec/apache2/mod_wsgi.so, 10): Symbol not found: _PyArg_ParseTuple Referenced from: /usr/libexec/apache2/mod_wsgi.so Expected in: dynamic lookup httpd.conf line: LoadModule wsgi_module libexec/apache2/mod_wsgi.so and: Homeboy:~ dan$ file /usr/libexec/apache2/mod_wsgi.so /usr/libexec/apache2/mod_wsgi.so: Mach-O universal binary with 4 architectures /usr/libexec/apache2/mod_wsgi.so (for architecture ppc7400): Mach-O bundle ppc /usr/libexec/apache2/mod_wsgi.so (for architecture ppc64): Mach-O 64- bit bundle ppc64 /usr/libexec/apache2/mod_wsgi.so (for architecture i386): Mach-O bundle i386 /usr/libexec/apache2/mod_wsgi.so (for architecture x86_64): Mach-O 64- bit bundle x86_64 The output above is exactly the same when I am trying mod_python. Here's configure output: checking for apxs2... no checking for apxs... /usr/sbin/apxs checking Apache version... 2.2.9 checking for python... /Library/Frameworks/Python.framework/Versions/ Current/bin/python configure: creating ./config.status config.status: creating Makefile Here's make: /usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/2.6/ include/python2.6 -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.6/include/python2.6 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo /usr/share/apr-1/build-1/libtool --silent --mode=link gcc -o mod_wsgi.la -rpath /usr/libexec/apache2 -module -avoid-version mod_wsgi.lo -arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -Wl,-F/ Library/Frameworks -framework Python -u _PyMac_Error -ldl ld: warning in /Library/Frameworks/Python.framework/Python, missing required architecture x86_64 in file ld: warning in /Library/Frameworks/Python.framework/Python, missing required architecture ppc64 in file The binary seems to have the correct architectures when I run 'file' on it, but make shows a warning in the last line that looks ominous. Any solution obvious? --~--~---------~--~----~------------~-------~--~----~ 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 modwsgi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---