Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build because the definitions of ***YY_flex_debug are missing. (Origin: bugzilla #719525) #5365

Open
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status NEEDINFO severity major in component build for ---
Reported in version 1.8.5-GIT on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-11-29 01:50:31 +0000, Suzumizaki-Kimitaka wrote:

Created attachment 263088
Define ***YY_flex_debug to finish build doxygen

After SHA-1: SHA: 3c0a246bd1bcf6f0d560394fd81616260a174ae8 (2013-11-14),
I cannot build doxygen because some definitions don't exist.

All ***YY_flex_debug integers seem to be NOT defined anywhere in the source
tree.
Or do I mistake something to build?

I made the patch to roughly resolve this problem.

On 2013-11-29 18:11:03 +0000, albert wrote:

It is assumed that the build is performed on a Windows system where the
problem occurs. It might also occur on other systems.

The problem lies in the fact that the flex version is to old (see also
discussion on stackexchange: http://stackoverflow.com/questions/20192589
/build-doxygen-on-windows-xapian-lib-and-how-to-run-flex) with the proposed
version of flex / bison
(http://sourceforge.net/projects/winflexbison/files/latest/download)
everything compiles (note one has to rename / copy the executables to names
without win_) (Thanks Craig)

The patch given here is not correct, it breaks building on e.g. Cygwin (and
probably other, Linux, systems too) and furthermore the proposed solution is
incorrect.

The intention of the printlex function is that a different type of message
can be printed when the lex debug flag is set or when doxygen is called -d
lex. The proposed patch will always print a lex type debug message.

On 2013-11-30 08:39:19 +0000, Suzumizaki-Kimitaka wrote:

Thank you for the information. I got win_flex_bison and succeed to build
again for now.

Regards,
Suzumizaki-Kimitaka

On 2013-11-30 18:02:26 +0000, albert wrote:

I've just pushed a documentation update to github and submitted a pull
request (58) regarding this problem.

On 2015-03-13 14:14:42 +0000, james wrote:

I am having this same issue today (same error message)
Doxygen (1.8.9.1)
Flex 2.5.35 and 2.5.39 (tried both)
Bison 3.0.4 (latest)
GCC 4.8.4

On 2015-03-13 14:16:36 +0000, james wrote:

I am building on Red Hat Enterprise Linux 5.10 (somewhat old, but all those
dependencies are new)

On 2015-03-13 18:45:06 +0000, albert wrote:

Seen the versions you mentioned it should all be OK, but it looks like the
used flex version is not the expected one.
Did you try to add your perl version by means of --perl in the configuration
script or to the PATH variable?
What is written after: "Checking for perl..." when running ./configure?
Which version is this?

When the above does not help please provide the config.cpp that is generated
(from the directory generated_src/doxygen).

On 2015-07-25 10:33:41 +0000, albert wrote:

Seen the fact that no extra information is provided and the change to CMake
for the current release I think this bug can be set to RESOLVED OBSOLETE

@doxygen doxygen added the needinfo label Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.