After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589707 - Flex .rule file for Visual Studio build can't cope with spaces in filenames
Flex .rule file for Visual Studio build can't cope with spaces in filenames
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.2-SVN
Other Windows
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-07-25 17:32 UTC by Roderick Kennedy
Modified: 2014-08-21 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roderick Kennedy 2009-07-25 17:32:39 UTC
I tried to build doxygen from source, but kept getting the error : "flex: can't find File".
It turns out, as I'm building from within "C:\Program Files", the rule file doesn't handle spaces in the paths. This can be fixed by changing the switch definitions and command line for this rule.

So the output switch should be: -o"[value]"
and the command line: flex [AllOptions] [AdditionalOptions] "[inputs]"

The quotes allow for spaces.

Unfortunately, runbison.bat has the same issue - I don't yet know how to fix this.
Comment 1 Dimitri van Heesch 2009-07-25 20:09:03 UTC
As a general rule: using spaces in files or directories is asking for problems.
Comment 2 Dimitri van Heesch 2012-11-18 11:08:04 UTC
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
Comment 3 albert 2014-06-19 12:08:29 UTC
I've just pushed a solution to github (pull request 184)
Comment 4 Dimitri van Heesch 2014-08-21 17:15:38 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.8. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferrably in the form of a self-contained example).