-
Notifications
You must be signed in to change notification settings - Fork 122
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
Fail in make project #2
Comments
Are you building from git? If not, which version? Thanks. |
So I can only assume you're using some yacc which is not bison. I just made some commits which adds support for recent byacc as well. I'm not aware of any other widely used yacc's. Anything more than that is unlikely - either bison or byacc should be sufficient. Feel free to reopen if this is not the case. |
Hi, When trying to build library, I am getting similar error. I am using OS X Yosemite, and trying to port this library to MacPorts, as it is required as dependency. I attached the config.log file.
As for yacc, checking the version returns:
I am using the version 5.0 from http://lists.freedesktop.org/archives/wayland-devel/2014-October/017836.html |
Yeah, after getting updated version of Bison, finally it passed the yacc parsing problem. (It took some time to realize almost every tool coming default with OS X is older versions). But now I am getting complaints that
This also is a similar problem. So should I move completely away from OS X gcc compiler to GNU compiler. Or more generally, do I have to move completely to the core tools with MacPorts. |
That's the issue #24 and has already been fixed with the github version.
I think you don't need to do that. The problem is simply caused by passing the wrong flag |
Indeed, dropping the flag --version-script makes compiling OK. So, it is working with Bison 3.0.4; and dropping the flag from Makefile successfully compiles( I am still 5.0 version from the stable releases). However, when using the most recent version with cloning, I am not able to auto configure the library.
However, when I check from MacPorts, it claims that I already have the most recent version. (xorg-util-macro: 1.19). So I am guessing, the name differences between ports and libraries makes some problem, when Makefile's checking lib versions. Anyways, still 5.0 version works with dropped flag. I am planning to write a Portfile for the library, so I am still trying to get the most convenient way. Thanks for the help :) |
Instead of invoking
at the top directory of the source tree. |
Oh, it works like a charm when I use |
/src/xkbcomp/parser.y:48.17-24: syntax error, unexpected identifier, expecting string
The text was updated successfully, but these errors were encountered: