[Uml-devel] [Bug 68986] New: build system doesn't use $(LEX)

Martijn Hoogendoorn m.hoogendoorn at home.nl
Mon Nov 24 17:36:07 UTC 2003

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: build system doesn't use $(LEX)
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: m.hoogendoorn at home.nl

Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2.2 
OS:          Linux

When building Umbrello (in kdesdk), the file umbrello/umbrello/classparser/tokenizer.cc is generated with the command:

flex -+ -o$@ $(srcdir)/tokenizer.l

This doesn't work on my system, because 'flex' is version 2.5.4a, and compiling the generated file gives errors.

To prevent this I set the environment variable LEX to 'flex-2.5.31' when configuring, but the Makefile has the 'flex' command hardcoded. It should probably use $(LEX).

More information about the umbrello-devel mailing list