gideon doesn't compile

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue May 8 18:52:52 UTC 2001


On Tue, 08 May 2001, you wrote:
> On Tue, 8 May 2001, Ralf Nolden wrote:
> > make[3]: Entering directory
> > `/home/rnolden/Projects/KDE-2.1/kdevelop/parts/javasupport'
> > lex -+ -otokenizer.cpp ./tokenizer.l
> > /usr/bin/flex: Can't use -+ with -l option
> > make[3]: *** [tokenizer.cpp] Error 1
> 
> Hmm, this is because in SuSE (don't know which versions are
> affected) lex is a script
> 
>   #!/bin/sh
>   /usr/bin/flex -l $*
> 
> And actually the error message is not that surprising, as
> we want C++ output, and the original lex doesn't have this.
> What we really want is to explicitly use flex.
> 
> So what about replacing $(LEX) by flex in the Makefile.am?
> 
> Then there is still the question whether we put tokenizer.c*
> in the cvs (and the distribution tarball) or not. If
> we leave it out, we depend on everybody compiling it to
> have flex installed. OTOH, if we include the current
> version, it won't compile with gcc 3.0.
Yes, that's why I checked in both the .l and .cpp versions, when I could only
get the the .cpp file generated, by doing the flex command from the command line
(on SuSE 6.4). I agree it would be better if the the Makefile.am worked on all
machines. What proportion of machines just have lex, and no flex these days? 

-- Richard

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list