[mod_python] installation problem: --prefix is ignored for Python libraries ?

Alec Matusis matusis at yahoo.com
Tue Oct 23 03:28:54 EDT 2007

We are using encap system in our production server, and I am trying to
upgrade to 3.3.1

I want to install Python libraries not in site-packages, but in
and then run encap, which would link them into site-packages. 
So I configure:

web10:/path/sys/src/mod_python-3.3.1 # ./configure
--with-python=/usr/local/bin/python --with-max-locks=64
#make install
And it directly installs instead into
/usr/local/encap/Python-2.4.1/lib/python2.4/site-packages, ignoring my
configuration prefix:
copying build/lib.linux-x86_64-2.4/mod_python/Cookie.py ->

How can I force it to install into /usr/local/encap/mod_python-3.3.1 and not
into site-packages?


More information about the Mod_python mailing list