Re: mod_python 3.3.1, Python 2.4.6, Apache 2.2.9 (MacPorts) on Mac OS X 10.5.6 (Leopard)

2009-01-15 Thread Graham Dumpleton
On Jan 16, 1:40 am, peterandall wrote: > Hi Graham, > > Thanks for the advice, i used mod_wsgi and it worked a treat, no > issues what so ever. I followed this guide for setting up django and > everything works well: > > http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi More detail

Re: mod_python 3.3.1, Python 2.4.6, Apache 2.2.9 (MacPorts) on Mac OS X 10.5.6 (Leopard)

2009-01-15 Thread peterandall
Hi Graham, Thanks for the advice, i used mod_wsgi and it worked a treat, no issues what so ever. I followed this guide for setting up django and everything works well: http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi Thanks again, i've read loads of your posts and you really help a

Re: mod_python 3.3.1, Python 2.4.6, Apache 2.2.9 (MacPorts) on Mac OS X 10.5.6 (Leopard)

2009-01-14 Thread Graham Dumpleton
Use mod_wsgi instead, it should set up compiler flags correctly even for fussy MacPorts. I can't remember if I rolled those changes into mod_python in subversion trunk. If still want to try mod_python though use: svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk mod_python-t

Re: mod_python 3.3.1, Python 2.4.6, Apache 2.2.9 (MacPorts) on Mac OS X 10.5.6 (Leopard)

2009-01-14 Thread peterandall
I've also tried doing this: $ cd /System/Library/Frameworks $ sudo mv Python.framework XXX_Python.framework $ cd $ ./configure --with-apxs=/opt/local/apache2/bin/apxs --with-python=/ opt/local/bin/python2.4 --with-max-locks=32 Then editing the src/Makefile and updating the LDFLAGS to this

mod_python 3.3.1, Python 2.4.6, Apache 2.2.9 (MacPorts) on Mac OS X 10.5.6 (Leopard)

2009-01-14 Thread peterandall
Hi All, I've been playing around with this for days and getting nowhere. I've got python2.4 installed via macports along with the standard Python2.3 and 2.5 installed in '/Library/Python/2.x'. I want to get mod_python working for the macports version of python(2.4) I've downloaded mod_python 3.