The key is to use only GCC… you have to replace e.g. in /usr/local/bin/… gcc-5 and g+±5 with gcc bacisally… It is because of different standard libraries (I hope I am explaining it well) and fucked-up libsnark which cannot be compiled with clang So the “easiest” and “least painful” solution is - system-wide replacement of clang with gcc… (install it with brew) Minor patches or paths on the way of course…
Let me know if it doesn’t work for you - I’ll give you a solution if you run into similar issues…
E.g.: build.sh
#!/bin/sh
set -ex
# cd "$(dirname "$(readlink -f "$0")")/.."
cd /Users/adam/Dev/zcash
or fetchparams.sh (shasum → sha256sum)
# Now verify their hashes:
echo 'Verifying parameter file integrity via sha256sum...'
sha256sum --check - <<EOF
7844a96933979158886a5b69fb163f49de76120fa1dcfc33b16c83c134e61817 regtest/$REGTEST_PKEY_NAME
7844a96933979158886a5b69fb163f49de76120fa1dcfc33b16c83c134e61817 testnet3/$REGTEST_PKEY_NAME
6902fd687bface72e572a7cda57f6da5a0c606c7b9769f30becd255e57924f41 regtest/$REGTEST_VKEY_NAME
6902fd687bface72e572a7cda57f6da5a0c606c7b9769f30becd255e57924f41 testnet3/$REGTEST_VKEY_NAME
EOF