On Nov 4, 11:08 am, Alex da Franca <[EMAIL PROTECTED]> wrote: > Am 03.11.2007 um 23:04 schrieb Graham Dumpleton: > > > > > The Leopard compilation problems have already been dealt with > > elsewhere. For mod_wsgi at least, the required workaround is > > documented in: > > > http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX > > > A similar set of additional options would be used in relation to other > > Apache modules such as mod_python, mod_fastcgi etc. > > > This workaround would be required if running on 64 bit Intel chips. > > Thanks for the informative link. > I've been pulling my last hair out over compiling mod_python on my MBP > for a 64 bit apache. > no dice. > now I tried the steps for compiling and installing mod_wsgi, which is > described in the link you sent me. The solution looks much like the > one I came up meanwhile for mod_python, but still it does only compile > a i386 version of the wsgi module: > > $: file /usr/libexec/apache2/mod_wsgi.so > $: /usr/libexec/apache2/mod_wsgi.so: Mach-O bundle i386
For good measure, do a 'make distclean', rerun configure, and then only modify Makefile and rebuild/install, it should work. It should be obvious from the output of the build whether the options are being included with the compilation. Run file on .libs/mod_wsgi.so to work out what it was built for before installing. > using the CFLAGS settings I was able to compile fcgid for 64-bit: > > $: file /usr/libexec/apache2/mod_fcgid.so > $: /usr/libexec/apache2/mod_fcgid.so: Mach-O 64-bit bundle x86_64 > > that loads, but appearantly has still another problem with my setup. > > fastcgi, which comes preinstalled with leopard works, so I'll stick > with that for now... Another problem which has come up is MySQL. You can't use the precompiled MySQL distribution which is available as it was built on Tiger, which didn't produce x86_64 compatible binaries. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
