ccminer-cryptonight icon indicating copy to clipboard operation
ccminer-cryptonight copied to clipboard

Error in autogen.sh OSX 10.10 &.11

Open JPaulMora opened this issue 8 years ago • 5 comments

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.

JPaulMora avatar Mar 02 '16 02:03 JPaulMora

Try this:

brew install pkgconfig

songproducer avatar Mar 26 '16 21:03 songproducer

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

bigreddmachine avatar Mar 30 '16 16:03 bigreddmachine

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.

JPaulMora avatar Apr 01 '16 18:04 JPaulMora

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

metacollin avatar Aug 22 '16 17:08 metacollin

Hey! thanks! that actually helped.

JPaulMora avatar Aug 23 '16 21:08 JPaulMora