tsiv / ccminer-cryptonight

GNU General Public License v3.0
278 stars 283 forks source link

Error in autogen.sh OSX 10.10 &.11 #9

Open JPaulMora opened 8 years ago

JPaulMora commented 8 years ago

All deps installed from home-brew

$ ./autogen.sh 
configure.ac:103: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
songproducer commented 8 years ago

Try this:

brew install pkgconfig

bigreddmachine commented 8 years ago

I'm having the same problem and brew install pkgconfig does not fix the error. @JPaulMora did you have any luck figuring this out?

JPaulMora commented 8 years ago

No, same thing still happens. (re)installing pkgconfig doesn't fix but forgot to post. I might try building it on linux to see if is a Unix-specific problem or just OS X problem.

metacollin commented 8 years ago

OS X sometimes has trouble finding autoconf macros. You need to put them in /usr/share/autoconf (which homebrew won't do automatically for you). Alternatively, just put a copy in the same directory as your .ac files (the root of the repo in this case).

If you want instant gratification, run this in the ccminer-cryptonight folder and then rerun autogen.sh. Magic!

curl https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-1.0.9.1/libcurl.m4 -o acinclude.m4

JPaulMora commented 8 years ago

Hey! thanks! that actually helped.