[mod_python] Help! Compiling

Eduardo Elgueta eelgueta at vtr.net
Tue Oct 30 16:57:47 EST 2001


Grisha,

The problem was I was specifying the apxs directory instead of the
executable (full path+name) in ./configure.

Thanks.

-----Mensaje original-----
De: Gregory (Grisha) Trubetskoy [mailto:grisha at modpython.org]
Enviado el: Martes, 30 de Octubre de 2001 16:37
Para: Eduardo Elgueta
CC: Gregory (Grisha) Trubetskoy; mod_python at modpython.org
Asunto: RE: [mod_python] Help! Compiling



it's all in the manual ;-)

On Tue, 30 Oct 2001, Eduardo Elgueta wrote:

> Grisha,
>
> Thanks for your answer.
>
> I compiled Apache for DSO support. Will ./configure and make do?
>
> Thanks again,
>
> Ed.
>
> -----Mensaje original-----
> De: Gregory (Grisha) Trubetskoy [mailto:grisha at modpython.org]
> Enviado el: Martes, 30 de Octubre de 2001 14:26
> Para: Eduardo Elgueta
> CC: mod_python at modpython.org
> Asunto: Re: [mod_python] Help! Compiling
>
>
>
> 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