Bug 68986

Summary: build system doesn't use $(LEX)
Product: [Applications] umbrello Reporter: Martijn Hoogendoorn <m.hoogendoorn>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martijn Hoogendoorn 2003-11-25 02:35:11 UTC
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).
Comment 1 Brian Thomas 2003-12-04 19:11:41 UTC
I dont see this problem. If I 'setenv LEX flex-<version>' and re-configure, the proper binary is specified. IF that isnt working for you, you could always symlink your favorite binary to 'flex' and re-compile then.