gideon doesn't compile

Bernd Gehrmann bernd at physik.hu-berlin.de
Tue May 8 12:17:53 UTC 2001


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.

Bernd.



-
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