problem with instructions?


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


dirtydog@dirtydog-RS690M2MA:/usr/src/cgminer$ sudo ./
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, ‘.’.
libtoolize: copying file ‘./’
libtoolize: Consider adding ‘AC_CONFIG_MACRO_DIRS([m4])’ to,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding ‘-I m4’ to ACLOCAL_AMFLAGS in installing ‘./compile’ installing ‘./config.guess’ installing ‘./config.sub’ installing ‘./install-sh’ installing ‘./missing’
src/ installing ‘./depcomp’ error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation. 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 668 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