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

Building re2c after a make clean will fail #47

Closed
skvadrik opened this issue Dec 24, 2009 · 3 comments
Closed

Building re2c after a make clean will fail #47

skvadrik opened this issue Dec 24, 2009 · 3 comments
Assignees

Comments

@skvadrik
Copy link
Owner

Building re2c after a make clean will fail:

cd re2c-0.13.5

./configure

<-- snipped -->

make

<-- snipped -->

make clean

test -z "re2c" || rm -f re2c
test -z "parser.cc y.tab.c y.tab.h scanner.cc re2c.1 .version
htdocs/manual.html" || rm -f parser.cc y.tab.c y.tab.h scanner.cc re2c.1
.version htdocs/manual.html
rm -f *.o

./configure

<-- snipped -->

make

yacc -d ./parser.y || exit
/bin/sh: yacc: command not found
make: *** [parser.cc] Error 127

Original comment by: *anonymous

@skvadrik
Copy link
Owner Author

The error is that 'yacc' was not found. Probably you just need to install it. Another possibility is that your system should be using 'bison' instead of 'yacc', but ./configure did not figure that out. I believe that most modern Linux distos provide 'bison'. Please attach output of ./configure if you still need help.

IOW: this looks like a user error. It should be closed unless the ./configure output shows a problem.

FYI: 'make clean' deletes 'parser.cc', which will then be regenerated by $(YACC) from 'parser.y'.

Original comment by: paulmcq

@skvadrik
Copy link
Owner Author

No further information in four months. Assume user needs to install yacc or bison. Closed.

Original comment by: paulmcq

@skvadrik
Copy link
Owner Author

  • status: open --> closed-invalid

Original comment by: paulmcq

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