I've also tried doing this:

$  cd /System/Library/Frameworks
$  sudo mv Python.framework XXX_Python.framework

$  cd  <mod_python distribution directory>
$  ./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:

LDFLAGS= -Wl,-F/opt/local/Library/Frameworks -Wl,-framework,Python  -u
_PyMac_Error $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$
(PYTHONFRAMEWORK)   -L/opt/local/lib

Then continuing to make and install mod_python

$  make
$  sudo make install
$  cd /System/Library/Frameworks
$  sudo mv XXX_Python.framework Python.framework


Still no luck, when i run: 'otool -L /opt/local/apache2/modules/
mod_python.so' i get the following:

  /opt/local/apache2/modules/mod_python.so:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.3)
        /System/Library/Frameworks/Python.framework/Versions/2.5/Python
(compatibility version 2.5.0, current version 2.5.1)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)

So its still building against the 2.5 version, this is really starting
to confuse me now, i've run out of things to try.

Thanks in advance for any help...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to