building mod_python

Tobias Gasser lfs at ebp-gasser.ch
Sun Jul 26 02:55:30 PDT 2009


Simon Geard schrieb:
> On Sat, 2009-07-25 at 08:22 -0400, Mag Gam wrote:
>> I am trying to build mod_python but I am having python dependency
>> problems with Python shared library. Does anyone have a good recipe to
>> build this with all or most the python bindings? I would like to have
>> Mysql/Postgresql/Subversion support in my Python also.
>>


my scripts are:


python 2.6.2

./configure \
  --prefix=/usr \
  --sbindir=/usr/sbin \
  --mandir=usr/share/man \
  --enable-shared

make
make test
make install




mod_python 3.3.1

sed -i -e "s/APR_BRIGADE_SENTINEL(b)/APR_BRIGADE_SENTINEL(bb)/g" \
  src/connobject.c

./configure \
  --with-apxs=${APACHEROOT}/bin/apxs \
  --with-python=/usr/bin/python \
  --enable-shared
make
make install



as for the bindings or mod_wsgi 2.5, i'm not as far with my current build...

tobias



More information about the blfs-support mailing list