[mod_python] configure breaks with bash-3.1.14(1)-release

Jim Gallacher jpg at jgassociates.ca
Sun Mar 26 14:51:23 EST 2006


Martin MOKREJŠ wrote:
> Hi,
>   configure breaks for me on Gentoo linux with this error. I suspect it 
> is bash-specific bug. Has anyone seen this?
> 
> 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`'
> 

This is a known issue with bash 3.1.x. It has been fixed in the 
mod_python 3.2.x branch and the development trunk. See:

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

This fix will be included in the 3.2.9 bugfix release which will likely 
be released in the next couple of weeks.

Jim


More information about the Mod_python mailing list