Paul Hart
paulhart at redchocolate.ca
Thu Feb 5 11:42:14 EST 2004
There was a pre-generated psp_parser.c included in the snapshot, but for some reason my version of make didn't really care about that too much, and decided that it absolutely had to build the file. Probably the @rm psp_parser.c line in the makefile didn't help matters ;) I ended up removing the lines from the Makefile.in files, running configure, and everything is now working fine. I didn't need the PSP support in any case. Thanks for everyone's assistance, it was very much appreciated. Paul On 5 Feb 2004, at 07:06, Gregory (Grisha) Trubetskoy wrote: > > mod_python requires flex 2.5.31, which is an entirely different version > from 2.5.4. > > in any event - why are bothering with flex - didn't you get a > pre-generated psp_parser.c file with the snapshot? > > Grisha > > On Tue, 3 Feb 2004, Paul Hart wrote: > >> 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 >>
|