[mod_python] ./configure fails on freebsd 6.0

Jim Gallacher jpg at jgassociates.ca
Tue May 9 12:17:47 EDT 2006


Lucian wrote:
> Hi there. I'm trying to compile mod_python on a freebsd 6.0 box, but 
> configure fails. It seems to be a shell script problem.
> 
> ./configure --with-apxs=/usr/local/apache2/bin/apxs
> ... ... ...
> checking linker flags used to link Python...
> checking where Python include files are... -I/usr/local/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`'

Looks like the bash 3.1 bug. It's been fixed in for the next release. 
See http://issues.apache.org/jira/browse/MODPYTHON-122

Jim


More information about the Mod_python mailing list