[mod_python] import mod_puthon.util fails

Gregory Bond gnb at itga.com.au
Thu Dec 19 18:27:04 EST 2002

[I'm brand new to mod_python and this list....]

FreeBSD 4-Stable (as of the other day, so it's after 4.7)

Apache 2.0.43, built from the FreeBSD port, with USE_THREADS

mod_python 3.0.1, built using "./configure && make"

hellcat$ python -c "import mod_python.util"
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.2/site-packages/mod_python/util.py", line 58, in ?
    import _apache
ImportError: No module named _apache

And indeed there is nothing that looks like _apache.so.  There is a src/
_apachemodule.c, which is compiled and linked into mod_python.so, which has 
what seems to be the intended contents of the _apache module, but this is 
never turned into the appropriate .so file.

Am I doing something wrong?

More information about the Mod_python mailing list