Dependency Configuration Issue | libsnark missing


#1

I'm running Tails 2.6 x86_64 off a live usb with persistence and am having trouble compiling zcash.

@radix42 @Mugatu : I noticed you all are working on the OSX build, thought you might be able to point me in the right direction.

checking for gmp.h... yes
checking for _gmpnsub_n in -lgmp... yes
checking gmpxx.h usability... yes
checking gmpxx.h presence... yes
checking for gmpxx.h... yes
checking for main in -lgmpxx... yes
Hunting for libsnark include directory...
Found libsnark include directory: /home/amnesia/Persistent/zcash/zcash/depends/x86_64-unknown-linux-gnu/include/libsnark
checking libsnark/gadgetlib1/gadget.hpp usability... yes
checking libsnark/gadgetlib1/gadget.hpp presence... yes
checking for libsnark/gadgetlib1/gadget.hpp... yes
checking for main in -lsnark... no
configure: error: libsnark missing

similar issues on github:
Build fails on my Debian 8 VM
Problems compiling on Debian 32bit

I've run apt-get install libgmp3-dev but the configure error persisted.

Any suggestions for how to get zcash to compile?


My end goal is to privately run zcash off a usb drive and remote manage the miner after boot. I'm working on a tutorial to help new users. Suggestions welcome.


#2

Have you installed all of the packages mentioned in the Beta Guide, i.e.:

sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake

?

(libgmp shouldn't be necessary because a specific version should be compiled by the depends system.)


#3

yes. There were no issues I am aware of.


#4

Can you paste the full output of the attempted build, from a new checkout?


#5

full build output


#6

Sorry, I couldn't find any useful clues in the build output, and I'm probably going to be too busy to look at this again before launch. Please post on the github ticket if you make any more progress: https://github.com/zcash/zcash/issues/1572