[mod_python] Trouble installing mod_python

Kevin Ballard kevin at sb.org
Fri Dec 12 15:21:11 EST 2003


Why would I want to install python2.2 when OS X comes with Python 2.3?  
And why is this a prerequisite when the include files are in  
/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3/ and the makefile can find them?

On Dec 12, 2003, at 3:16 PM, Michael S. Fischer wrote:

> The default Makefile that configure creates is not quite right on OS X.
>
> Assuming you've installed Fink and the python22 package (which is an  
> implicit prerequisite for mod_python on OS X), you'll need to run  
> configure like so:
>
> env LDFLAGS="-L/sw/lib/python2.2/config -lpython2.2" ./configure
>
> Also note that even though you've already told mod_python the path to  
> python, you'll need to tell it again by prepending /sw/bin to the PATH  
> before executing Apache 2.0.

-- 
Kevin Ballard
kevin at sb.org
http://www.tildesoft.com
http://kevin.sb.org




More information about the Mod_python mailing list