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

Fixes compile with srcdir overriden #18

Closed
wants to merge 1 commit into from
Closed

Conversation

new23d
Copy link

@new23d new23d commented Apr 19, 2019

If not compiling within the source directory, overriding --srcdir to the configure script, make fails complaining about a missing source file. This patch includes the srcdir prefix to the file make complains about.

If not compiling within the source directory, overriding --srcdir to the configure script, make fails complaining about a missing source file. This patch includes the srcdir prefix to the file make complains about.
@wcawijngaards
Copy link
Member

This does not solve the issue correctly, the configlexer.c file is generated with flex from configlexer.lex in the srcdir. And the generated file ends up in the build directory. Perhaps you do not have flex installed and that is why the build outside of srcdir fails?

@new23d
Copy link
Author

new23d commented Apr 26, 2019

Not having flex installed was the issue indeed. Thank you for your feedback. I should've checked the configure output / raised an issue first.

@new23d new23d closed this Apr 26, 2019
@wcawijngaards
Copy link
Member

It seems to trip up other people too, the compile dependency on flex (and bison !). Install bison for yacc, or you could be having the same problem with another source file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants