[mod_python] Help! Compiling

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Oct 30 12:25:40 EST 2001


use ./configure and make, not apxs

http://www.modpython.org/live/mod_python-2.7.6/doc-html/inst-compiling.html

Grisha

On Tue, 30 Oct 2001, Eduardo Elgueta wrote:

> Hi All,
>
> I compiled mod_python 2.7.6 in Linux RedHat 7.0. Trying to start Apache I
> get:
>
> [root at spongebob bin]# ./apachectl start
> Syntax error on line 235 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/mod_python.so into server: undefined
> symbol:
>  MpRequest_FromRequest
> ./apachectl start: httpd could not be started
>
> I'm lost. Any direction/hint VERY welcomed!
>
> Ed.
>
> PS: To compile, I used:
>
> [root at spongebob /root]# /usr/local/apache/bin/apxs -I include -I
> /usr/include/python1.5 -c mod_python.c
> /usr/lib/python1.5/config/libpython1.5.a -lpthread
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list