[mod_python] ./configure error

Graham Dumpleton grahamd at dscpl.com.au
Tue Feb 28 16:11:50 EST 2006


The problem is the version of bash you are using. See workarounds
documented in:

  http://issues.apache.org/jira/browse/MODPYTHON-122

Graham

Alex Biddle wrote ..
> Hey there,
> 
> I'm using Ubuntu Dapper Drake (one of the flight releases) and am
> having some problems with executing ./configure in the source
> directory.
> 
> 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:
> 
> [snip]
> 
> 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
> 
> _______________________________________________
> 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