We are now ready to configure mod_python. I did so as follows:
# ./configure --with-apache=../apache_1.3.x
It should be noted that if you had to install another version of Python, to avoid confusion for mod_python, you will have to specify where the source is for the Python you wish to use. You may do this as follows:
# ./configure --with-apache=../apache_1.3.x \ --with-python=/path/to/Python
You can also specify where, if any, databases are installed on your system.
After the configure is finished, proceed to make mod_python by issuing make command. After the compilation, install mod_python with make install. The mod_python files will be installed in the src/modules/python subdirectory within your Apache source directory.