|
Graham Dumpleton
graham.dumpleton at gmail.com
Mon Feb 11 04:48:54 EST 2008
Why do you want to get mod_python running? Is it only to run Django or some other framework capable of running on WSGI compatible hosting solution? If so, maybe you want to look at mod_wsgi instead. Version 2.0c4 of mod_wsgi will work out of the box on Leopard. Anyway, without seeing exactly what modifications you made to src/Makefile can only guess at this point. Also would need to see exactly what error message you are getting. You might also read: http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX for ideas. Graham On 11/02/2008, Geert Dekkers <geert at nznl.com> wrote: > Hi all :) > > Still having problems. Now apache2 complains mod_python.so has the > wrong architecture. I've implemented the fixes I've found here and > there (http://groups.google.com/group/django-users/msg/ > b211ba1193cb6092 - among others). > > A question - wouldn't I have apache2 running in 32 bit mode on my > first-generation (2006) macbook pro. I found this hint http://forums.macosxhints.com/archive/index.php/t-62551.html > - tji, on 10-28-2006, 02:04 PM (halfway down the page) , and lo and > behold, I seem to be running 32-bit: > > Size of Data Types on this System: > > Char = 1 bytes > Integer = 4 bytes > Long Integer = 4 bytes > Long Long Integer = 8 bytes > Double = 8 bytes > Pointer = 4 bytes > > > So, what could the problem be? Am I out of the race now? > > Geert > > > > On 10/02/2008, at 11:00 PM, Graham Dumpleton wrote: > > > Please use reply-all and keep follow ups on the list. > > > > See comment below. > > > > On 11/02/2008, Geert Dekkers <geert at nznl.com> wrote: > >> Hi Graham, > >> > >> Thanks for responding so quickly. > >> > >> The ouput of the sudo make install: > >> > >> geert-dekkers-computer:mod_python-3.3.1 geert$ sudo make install > >> Password: > >> make[3]: `psp_parser.c' is up to date. > >> /System/Library/Frameworks/Python.framework/Versions/Current/bin/ > >> python setup.py build > >> running build > >> running build_py > >> running build_ext > >> > >> Now su and make install > >> (or, if you only want to perform a partial install, > >> you can use make install_dso and make install_py_lib) > >> > >> > >> Performing DSO installation. > >> > >> /users/geert/Applications/PhpDocumentor-1.4.0/PhpDocumentor-1.4.0/ > >> install -c -d /usr/libexec/apache2 > >> make[1]: execvp: /users/geert/Applications/PhpDocumentor-1.4.0/ > >> PhpDocumentor-1.4.0/install: Permission denied > > > > And this is obviously your problem. > > > > Change your user PATH such that that PHP stuff is last and not before > > '/usr/bin'. > > > > There is obviously a file called 'install' in that directory in your > > path and it is getting in the way of /usr/bin/install being used as it > > should. |