[mod_python] Snapshot building error

Oliver Mellet oliver at mellet.net
Tue Feb 3 08:46:23 EST 2004


The latest version of Flex won't work, you need 2.5.31.  I'd suggest you
either find the older version of flex, or just delete the makefile rule that
requires it (the psp_parser.c that flex generates is also under source
control, IIRC).

> -----Original Message-----
> From: mod_python-bounces at modpython.org 
> [mailto:mod_python-bounces at modpython.org] On Behalf Of Paul Hart
> Sent: Tuesday, February 03, 2004 8:39 AM
> To: mod_python at modpython.org
> Subject: [mod_python] Snapshot building error
> 
> Hi all,
> 
> I'm attempting to build the latest snapshots of mod_python 
> from the apache CVS (so that I can use sessions), and my 
> build is failing at the PSP stage of things.
> 
> flex is complaining about its invocation from the Makefile:
> 
> /usr/local/bin/flex -R -opsp_parser.c 
> --header-file=include/psp_flex.h psp_parser.l
> /usr/local/bin/flex: unknown flag 'R'.  For usage, try
>          /usr/local/bin/flex --help
> *** Error code 1
> 
> Stop in /root/httpd-python/dist/src (line 79 of Makefile).
> *** Error code 1
> 
> Stop in /root/httpd-python/dist (line 65 of Makefile).
> *** Error code 1
> 
> Stop in /root/httpd-python (line 73 of Makefile).
> 
> 
> I'm using flex 2.5.4 (this is the latest version available 
> from ftp.gnu.org), building on OpenBSD 3.3-STABLE.
> 
> Anyone have any suggestions?
> 
> Many thanks,
> 
> Paul
> 
> _______________________________________________
> 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