Sjors / libwally-swift

Swift wrapper for LibWally, a collection of useful primitives for cryptocurrency wallets
MIT License
40 stars 18 forks source link

Error: Can't exec "aclocal" in "Build libwally-core for device and simulator and combine into a single library..." step #47

Closed amfathi closed 3 years ago

amfathi commented 3 years ago

What I'm trying to do

I'm trying to use libwally-swift in my swift project using cocoapods and I'm facing an issue.

What else I tried to do

So I tried to clone and build libwally-swift separately and still facing same error.

When I run this command

$ ./build-libwally.sh -dsc

I get this error

Build libwally-core for device and simulator and combine into a single library...
Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
sed: ./tools/build-aux/ltmain.sh: No such file or directory
sed: ./tools/build-aux/ltmain.sh: No such file or directory
sed: ./src/secp256k1/build-aux/ltmain.sh: No such file or directory
sed: ./src/secp256k1/build-aux/ltmain.sh: No such file or directory

Useful debugging info:

I've followed the installation guidelines

I ran the below commands successfully

$ brew install gnu-sed
$ git clone https://github.com/blockchain/libwally-swift.git --recurse-submodules

Screenshot 2020-12-27 at 6 45 48 PM
amfathi commented 3 years ago

@Sjors

Sjors commented 3 years ago

Did you try brew install automake libtool pkg-config ?

Also, try building https://github.com/ElementsProject/libwally-core separately first. You're probably missing some build tools.

amfathi commented 3 years ago

brew install automake libtool pkg-config fixed it for me. Thanks!