problem with instructions?

Question

I’m following your instructions to “Mine bitcoin with Cgmine on linux” and faced this during install…

 

dirtydog@dirtydog-RS690M2MA:/usr/src/cgminer$ sudo ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, ‘.’.
libtoolize: copying file ‘./ltmain.sh’
libtoolize: Consider adding ‘AC_CONFIG_MACRO_DIRS([m4])’ to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding ‘-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: installing ‘./compile’
configure.ac:12: installing ‘./config.guess’
configure.ac:12: installing ‘./config.sub’
configure.ac:5: installing ‘./install-sh’
configure.ac:5: installing ‘./missing’
src/Makefile.am: installing ‘./depcomp’
configure.ac:127: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:144: error: possibly undefined macro: AC_DEFINE
autoreconf: /usr/bin/autoconf failed with exit status: 1

Not sure what that means.

 

 

solved 0
, fmfalcao 1 year 1 Answer 471 views

Answer ( 1 )

  1. Hi!

    I searched online and I found that it may be due to a missing package. Please install pkg-config on your operating system.

    On Ubuntu, you can run the following command to install pkg-config:

    $ sudo apt update && sudo apt install pkg-config -y

     

    Hopefully, it will work. Thank you.

    Best answer

Leave an answer