Closed thom-nic closed 10 years ago
Make sure pkg-config is installed:
brew update
brew install pkg-config
It was already installed but I removed and reinstalled it, now I'm getting a different build error...
$ brew update
Updated Homebrew from 3fa6a147 to 49b2ef11.
.... (updated packages list...)
$ brew install pkg-config
Warning: pkg-config-0.28 already installed
$ brew remove pkg-config
Uninstalling /usr/local/Cellar/pkg-config/0.28...
$ brew install pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.28.mavericks.bottle.2.ta
######################################################################## 100.0%
==> Pouring pkg-config-0.28.mavericks.bottle.2.tar.gz
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 604K
$ brew install bfgminer
==> Downloading http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.10.0/bfgminer-3.10.0.zip
Already downloaded: /Library/Caches/Homebrew/bfgminer-3.10.0.zip
==> ./autogen.sh
Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:6: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
Same issue with the same package. I had to uninstall and reinstall all dependencies manually. The particular one you're having trouble with is libtool
Ah, you're right once I uninstalled all dependencies they got reinstalled correctly and it worked. Thanks!
After upgrading to Mavericks I get the following errors:
brew doctor
warns about Mono.framework being installed (related to latent CMake issues in some envs) and having a case-sensitive filesystem. Not sure if either of those sound like the likely culprit.