|
ogden nefix
onefix at waste.org
Tue Sep 14 17:42:59 EDT 2004
Hi,
I am trying to compile mod_python. Here are the details:
Apache 1.3.3.1
mod_python 2.7.10
Python 2.3.4
Now I am aware that Python 2.3.4 will not work properly with mod_python
2.7.x though I heard it shouldn't be a problem.
1. I compiled and installed Python in /usr/local/Python-2.3.4:
./configure --without-threads --prefix=/usr/local/pythong-2.3.4
make (everything went fine)
2. I then proceeded to build mod_python:
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-python=/usr/local/src/Python-2.3.4
I had this problem:
checking what libraries Python was linked with... grep:
/usr/local/src/Python-2.3.4/Modules/Makefile: No such file or directory
make (this went fine)
make install - which had the problems:
Listing /usr/local/python-2.3.4/lib/python2.3/site-packages/mod_python ...
Compiling
/usr/local/python-2.3.4/lib/python2.3/site-packages/mod_python/__init__.py
...
Sorry invalid mode: U
....
Anyone know why this is occuring, or should I stop being ignorant and
try Python 2.1 or something?
Thank you
Ogden
|