[mod_python] compile issues

Graham Dumpleton grahamd at dscpl.com.au
Fri Jul 21 20:52:14 EDT 2006


Its a bug in bash. See:

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

for change you can make to "configure" script to workaround problem.

Issue is addressed in  mod_python 3.2.10 which will be out soon.

BTW, ensure you are using Apache 2.0.X with mod_python 3.2.8.
Support for Apache 2.2.X is only in mod_python 3.2.10.

Graham

On 22/07/2006, at 10:38 AM, James Mills wrote:

> Hi all,
>
> With the current version of mod_python there are problems
> with the configure script which I haven't been able to
> fix/patch myself, so I'm asking for your help :)
>
> 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`'
> =======> ERROR: Building
> '/data/crux/packages/mod_python#3.2.8-2.pkg.tar.gz' failed.
>
> -- Packages where update failed
> mod_python
>
>
> Relevant version information:
>
> # prt-get listinst bash -v
> bash 3.1.17-1
> # prt-get listinst gcc -v
> gcc 4.0.3-2
> # prt-get listinst glibc -v
> glibc 2.3.6-2
> # prt-get listinst mod_python -v
> mod_python 3.2.5b-2
>
> mod_python I'm trying to install:
>
> mod_python 3.2.8
>
> cheers
> James
>
> -- 
> --
> -"Problems are Solved by Method"
> -
> - James Mills <prologic at shortcircuit.net.au>
> - HomePage: http://shortcircuit.net.au/~prologic/
> - Phone: +61732166379
> - Mobile: +61404270962
> - Skype: therealprologic
> - MSN: prologic at shortcircuit.net.au
> - ICQ: 98888663
> - IRC: irc://shortcircuit.net.au#se
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
> _______________________________________________
> 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