[mod_python] ./configure error

Alex Biddle heuristic at gmail.com
Tue Feb 28 16:05:15 EST 2006

Hey there,

I'm using Ubuntu Dapper Drake (one of the flight releases) and am
having some problems with executing ./configure in the source

Here's what I'm putting in:

./configure --with-apxs=/srv/apache2/bin/apxs --with-python=/usr/bin/python2.4

This is what I'm getting out:


configure: checking whether apxs is available...
checking for --with-apxs... /srv/apache2/bin/apxs executable, good
checking Apache version... 2.0.55
checking for Apache libexec directory... /srv/apache2/modules
checking for Apache include directory... -I/srv/apache2/include
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... yes
checking what libraries Python was linked with... -lpython2.4  
-lpthread -ldl  -lutil   -lm
checking linker flags used to link Python...
checking where Python include files are... -I/usr/include/python2.4
./configure: line 3427: syntax error near unexpected token `('
./configure: line 3427: `  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`'

Is this a problem my end, or with the configure file?

Thanks for reading.
Alex Biddle

More information about the Mod_python mailing list