[mod_python] re: trouble installing mod_python

Ron Reisor ron at UDel.Edu
Tue Dec 16 08:35:33 EST 2003


Mark,

   This patch works well for us too.

   Forget the hack I offered.

   Would you suggest this to python-dev at httpd.apache.org to see if it can
get added to the distribution?

thanks,

Ron


On Mon, 15 Dec 2003, Mark McClain wrote:

> I've been able to build mod_python on 10.3 making very few changes.
> This process uses python 2.3 that comes with 10.3.  The problem that
> you are experiencing is because the linker does not get told to link to
> the python framework by apxs.
>
> mark
>
> 1) Build and install apache2
>
> 2) Unpack the mod_python distribution
>
> 3) make the following changes to the configure script. here it is in
> modified form...
>
> if test "$PyFRAMEWORKDIR" != "no-framework"; then
>    if test -n "$PyFRAMEWORK"; then
>      PyPYTHONLIBS="-framework $PyFRAMEWORK"
>
>     # explicitly pass to mac linker so add this line
>      LDFLAGS="${LDFLAGS} -Wl,-framework,Python"
>    fi
>
> 4) run configure, make, then install
>
> Good luck,
>
> mark
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>

Ron Reisor <ron at udel.edu> (RWR3)
University of Delaware Information Technologies/Network and Systems Services
Computing Center/192 South Chapel Street/Newark DE, 19716
pgp finger print: 0D 73 06 6F D3 6A 99 D3  F5 D5 6E FF 3B B9 7C 2C


More information about the Mod_python mailing list