-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Problem when compiling the OpenSCAD. #2
Comments
I've had reports that some Linux distributions ship with a version of yacc/bison where the %expect statement is not supported. The mailing list has a number of Linux users lingering, they might give better response to this. |
Hi kintel, I just found a solution but do not know if it's the right one. Steps to build the OpenSCAD successfully: git clone --depth=1 git://github.com/openscad/openscad.git Comparing the original Makefile, with the new Makefile: diff -u Makefile.org Makefile
Thanks for your help. Henrique Dias |
I think the fix will be to use bison explicitly everywhere. |
This should be fixed by know (updated build system) |
Hi,
I can not compile the OpenSCAD, because of the following error:
yacc -d -p parser -b parser src/parser.y
yacc: e - line 27 of "src/parser.y", syntax error
%expect 1 /* Expect 1 shift/reduce conflict for ifelse_statement - "dangling
else problem" /
^
make: ** [parser_yacc.h] Error 1
I've tried the latest version and the version from the github and does not
compile on both.
Anyone have suggestions for solving this problem?
My OS is Gentoo Linux - AMD64
Thanks,
Henrique Dias
The text was updated successfully, but these errors were encountered: