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

../config/ylwrap: line 176: yacc: command not found #40

Closed
Tracked by #74
garlick opened this issue May 17, 2020 · 1 comment
Closed
Tracked by #74

../config/ylwrap: line 176: yacc: command not found #40

garlick opened this issue May 17, 2020 · 1 comment

Comments

@garlick
Copy link
Member

garlick commented May 17, 2020

Problem: configure seems not to make missing yacc/bison fatal, so we find the missing dependency at build time.

  YACC     parse_tab.c
../config/ylwrap: line 176: yacc: command not found
make[1]: *** [Makefile:545: parse_tab.c] Error 127
make[1]: Leaving directory '/home/garlick/proj/powerman/powermand'
make: *** [Makefile:457: all-recursive] Error 1
@garlick
Copy link
Member Author

garlick commented Jan 23, 2024

Still an issue. We are using AC_PROG_LEX and AC_PROG_YACC which do not fail if the programs aren't found. Add some logic to do that.

See also
https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Particular-Programs.html

@garlick garlick mentioned this issue Jan 23, 2024
23 tasks
garlick added a commit to garlick/powerman that referenced this issue Jan 24, 2024
Problem: if flex or bison are not installed, configure
lets the build continue and fail.

Ensure that if those programs are missing, configure fails.

Fixes chaos#40
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

No branches or pull requests

1 participant