GNOME Bugzilla – Bug 509360
No checks for flex in configure script
Last modified: 2013-06-02 12:09:49 UTC
The configure script does not check for flex, while the break builds if it's not available. I'm trying to compile a pristine 1.5.3 tarball release.
The same goes for bison, it seems.
Created attachment 203674 [details] [review] Patch for flex&bison config parameters This patch fixes an issue with config-script, that ignores --flex and --bison parameters. Pay attention to version - this patch is for 1.7.2 version. Before patching execute mv src/libdoxycfg.t src/libdoxycfg.t.in Then run patch for both patch-files. P.S. I'm really surprised this issue is not fixed since 2008.
I've found the same issue when I've been passing --bison=bison-wrapper on 1.7.3
It's also important to check that the version of flex (and presumably) bison is new enough; the build fails on OS X Tiger for example using the system's rather old flex version. See https://trac.macports.org/ticket/33819
Looking at the supplied patch and the current versions of the involved files it looks like to me that the patch has been or similar code has been integrated. I think this problem has been solved in the mean time.
Setting to fixed as suggested. Please reopen this bug report if you still see this issue with the latest version of doxygen. Add a self-contained example (source+config file in a zip or tar) if possible.