[mod_python] compile problems on mod_python 3.3.1

Graham Dumpleton graham.dumpleton at gmail.com
Tue Apr 10 05:25:07 EDT 2007


You probably only have the 'python' rpm or equivalent package for your
system installed. You also need to have 'python-dev' package
installed. This contains header files and the Python library.

Graham

On 10/04/07, adityo deshmukh <adityode at gmail.com> wrote:
> Hello,
>
> Im running Apache 2.0.55 and python 2.4.4 on a a debian system (amd64
> kernel 2.6.15-1-amd64-k8)
>
> i am trying to build mod python from source however i am getting this
> error..
>
> ./configure --with-apxs=/usr/bin/apxs2 --with-python=/usr/bin/python2.4
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for ar... ar
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... yes
> checking for main in -lm... yes
> checking for an ANSI C-conforming const... yes
> checking your blood pressure... a bit high, but we can proceed
> configure: checking whether apxs is available...
> checking for --with-apxs... /usr/bin/apxs2 executable, good
> checking Apache version... 2.0.55
> checking for Apache libexec directory... /usr/lib/apache2/modules
> checking for Apache include directory... -I/usr/include/apache2
> checking for --with-python... /usr/bin/python2.4
> checking Python version... 2.4
> checking Python install prefix... /usr
> checking checking where python libraries are installed...
> /usr/lib/python2.4
> checking for Py_NewInterpreter in -lpython2.4... no
> configure: error: Can not link to python
>
> any ideas..why this is happening..
>
> regards
> adi
>
> _______________________________________________
> 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