Bug 68986 - build system doesn't use $(LEX)
Summary: build system doesn't use $(LEX)
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-25 02:35 UTC by Martijn Hoogendoorn
Modified: 2003-12-04 19:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.