[mod_python] mod_python 3.0.1: error after make install

baz listmail at xs4all.nl
Wed Dec 18 00:11:46 EST 2002


i solved my problem, maybe you've got the same so check this:

try
# locate libpython2.2.so

if nothing comes up you don't have the python shared library, which is 
needed by mod python.

i used the following commands to build it from source and install it:

cd Python-2.2.2/
make distclean
./configure
make OPT="-fpic -O2"
mkdir .extract
(cd .extract; ar xv ../libpython2.2.a)
gcc -shared -o libpython2.2.so .extract/*.o
rm -rf .extract
make install

or you may install the separate debian package for this file

have fun!

baz.

Zoper wrote:
> Hi All!
> 
> After making my mod_python I try to make install but...
> 
> ...............CUT....................
> Performing DSO installation.
> 
> /usr/bin/install -c src/mod_python.so /usr/local/apache2/modules
> /usr/bin/install: src/mod_python.so: No such file or directory
> make[1]: *** [install_dso] Error 1
> make[1]: Leaving directory `/usr/src/mod_python-3.0.1'
> make: *** [install] Error 2
> ..........................................
> 




More information about the Mod_python mailing list