[mod_python] mod_python compiling an empty .so file?

Graham Dumpleton graham.dumpleton at gmail.com
Sat Jan 17 18:47:59 EST 2009


If only hosting WSGI capable application such as Trac or Django, try
mod_wsgi instead.

No time right now to help with mod_python problem. Later today, maybe.

Graham

2009/1/18 Dylan Shortt <dylanshortt at gmail.com>:
> Hi. Does anybody have any ideas as to why the .so file in my apache modules
> directory is not compiling correctly?
>
> I have mod_python.so in my apache2/modules dir, but everytime that I try to
> start apache (with all the directives, LoadModule and such) this shows up:
>
> httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot
> load /usr/local/apache2/modules/mod_python.so into server:
> /usr/local/apache2/modules/mod_python.so: file too short
>
> Checking the file, it appears to be a blank file, no characters or anything.
> But if I delete it and recompile from source, it gets recreated, again, with
> nothing in it.
>
> This is using Debian, mod_python 3.3.1 and Python 2.6. I've recompiled
> Python with --enable-shared a few times now but to no avail.
>
> Any ideas?
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


More information about the Mod_python mailing list