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
macro `AM_PROG_AR' not found in library #152
Comments
I commented out line 57 in configure.ac and was able to compile and install protobuf.... it looks like AM_PROG_AR is not used really..... however for some reason is included.... Do I overlook something? |
That macro AM_PROG_AR is defined by automake: http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html Maybe it's that the automake you were using is not newer enough to have that macro? I added that line because automake reports a warning and asks to add that macro in the configure.ac file. |
Might be the case.... I will be testing it on a newer version somewhere this weekend and let you know. However, might be good for people to know that commenting out the line when you hit the error will still compile the code and you will not find (up until now) any technical issues with the compiled code. :-) |
edit the file configure.ac as follows: delete the line AM_PROG_AR and add m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
When running autogen.sh I do get an issue arround AM_PROG_AR, more specifically I do get:
configure.ac:57: error: possibly undefined macro: AM_PROG_AR
The full trace is at: http://pastebin.com/Hi2CESx4
Any thoughts on the root cause and/or how to resolve this? I an using Oracle Linux (Kernel: 3.8.13-16.2.2.el6uek.x86_64)
Thanks already!
Regards,
Johan.
The text was updated successfully, but these errors were encountered: