Cannot compile zcash: Protocol error


#1

Hi,

I tried to install/compile zcash as described in the Public Alpha Guide.

Unfortunately, compiling doesn't work for me. Heres the error I'm getting:


tar: test/jpaketest.c: Cannot create symlink to ‘dummytest.c’: Protocol error
tar: test/md2test.c: Cannot create symlink to ‘dummytest.c’: Protocol error
tar: test/rc5test.c: Cannot create symlink to ‘dummytest.c’: Protocol error
tar: test/wp_test.c: Cannot create symlink to ‘../crypto/whrlpool/wp_test.c’: Protocol error
tar: test/ssltest.c: Cannot create symlink to ‘../ssl/ssltest.c’: Protocol error
tar: test/srptest.c: Cannot create symlink to ‘../crypto/srp/srptest.c’: Protocol error
tar: test/shatest.c: Cannot create symlink to ‘../crypto/sha/shatest.c’: Protocol error
tar: test/sha512t.c: Cannot create symlink to ‘../crypto/sha/sha512t.c’: Protocol error
tar: test/sha256t.c: Cannot create symlink to ‘../crypto/sha/sha256t.c’: Protocol error
tar: test/sha1test.c: Cannot create symlink to ‘../crypto/sha/sha1test.c’: Protocol error
tar: test/rsa_test.c: Cannot create symlink to ‘../crypto/rsa/rsa_test.c’: Protocol error
tar: test/rmdtest.c: Cannot create symlink to ‘../crypto/ripemd/rmdtest.c’: Protocol error
tar: test/rc4test.c: Cannot create symlink to ‘../crypto/rc4/rc4test.c’: Protocol error
tar: test/rc2test.c: Cannot create symlink to ‘../crypto/rc2/rc2test.c’: Protocol error
tar: test/randtest.c: Cannot create symlink to ‘../crypto/rand/randtest.c’: Protocol error
tar: test/mdc2test.c: Cannot create symlink to ‘../crypto/mdc2/mdc2test.c’: Protocol error
tar: test/md5test.c: Cannot create symlink to ‘../crypto/md5/md5test.c’: Protocol error
tar: test/md4test.c: Cannot create symlink to ‘../crypto/md4/md4test.c’: Protocol error
tar: test/ideatest.c: Cannot create symlink to ‘../crypto/idea/ideatest.c’: Protocol error
tar: test/hmactest.c: Cannot create symlink to ‘../crypto/hmac/hmactest.c’: Protocol error
tar: test/heartbeat_test.c: Cannot create symlink to ‘../ssl/heartbeat_test.c’: Protocol error
tar: test/exptest.c: Cannot create symlink to ‘../crypto/bn/exptest.c’: Protocol error
tar: test/evp_test.c: Cannot create symlink to ‘../crypto/evp/evp_test.c’: Protocol error
tar: test/enginetest.c: Cannot create symlink to ‘../crypto/engine/enginetest.c’: Protocol error
tar: test/ectest.c: Cannot create symlink to ‘../crypto/ec/ectest.c’: Protocol error
tar: test/ecdsatest.c: Cannot create symlink to ‘../crypto/ecdsa/ecdsatest.c’: Protocol error
tar: test/ecdhtest.c: Cannot create symlink to ‘../crypto/ecdh/ecdhtest.c’: Protocol error
tar: test/dsatest.c: Cannot create symlink to ‘../crypto/dsa/dsatest.c’: Protocol error
tar: test/dhtest.c: Cannot create symlink to ‘../crypto/dh/dhtest.c’: Protocol error
tar: test/destest.c: Cannot create symlink to ‘../crypto/des/destest.c’: Protocol error
tar: test/constant_time_test.c: Cannot create symlink to ‘../crypto/constant_time_test.c’: Protocol error
tar: test/casttest.c: Cannot create symlink to ‘../crypto/cast/casttest.c’: Protocol error
tar: test/bntest.c: Cannot create symlink to ‘../crypto/bn/bntest.c’: Protocol error
tar: test/bftest.c: Cannot create symlink to ‘../crypto/bf/bftest.c’: Protocol error
tar: include/openssl/x509_vfy.h: Cannot create symlink to ‘../../crypto/x509/x509_vfy.h’: Protocol error
tar: include/openssl/x509v3.h: Cannot create symlink to ‘../../crypto/x509v3/x509v3.h’: Protocol error
tar: include/openssl/x509.h: Cannot create symlink to ‘../../crypto/x509/x509.h’: Protocol error
tar: include/openssl/whrlpool.h: Cannot create symlink to ‘../../crypto/whrlpool/whrlpool.h’: Protocol error
tar: include/openssl/ui.h: Cannot create symlink to ‘../../crypto/ui/ui.h’: Protocol error
tar: include/openssl/ui_compat.h: Cannot create symlink to ‘../../crypto/ui/ui_compat.h’: Protocol error
tar: include/openssl/txt_db.h: Cannot create symlink to ‘../../crypto/txt_db/txt_db.h’: Protocol error
tar: include/openssl/ts.h: Cannot create symlink to ‘../../crypto/ts/ts.h’: Protocol error
tar: include/openssl/tls1.h: Cannot create symlink to ‘../../ssl/tls1.h’: Protocol error
tar: include/openssl/symhacks.h: Cannot create symlink to ‘../../crypto/symhacks.h’: Protocol error
tar: include/openssl/stack.h: Cannot create symlink to ‘../../crypto/stack/stack.h’: Protocol error
tar: include/openssl/ssl.h: Cannot create symlink to ‘../../ssl/ssl.h’: Protocol error
tar: include/openssl/ssl3.h: Cannot create symlink to ‘../../ssl/ssl3.h’: Protocol error
tar: include/openssl/ssl2.h: Cannot create symlink to ‘../../ssl/ssl2.h’: Protocol error
tar: include/openssl/ssl23.h: Cannot create symlink to ‘../../ssl/ssl23.h’: Protocol error
tar: include/openssl/srtp.h: Cannot create symlink to ‘../../ssl/srtp.h’: Protocol error
tar: include/openssl/srp.h: Cannot create symlink to ‘../../crypto/srp/srp.h’: Protocol error
tar: include/openssl/sha.h: Cannot create symlink to ‘../../crypto/sha/sha.h’: Protocol error
tar: include/openssl/seed.h: Cannot create symlink to ‘../../crypto/seed/seed.h’: Protocol error
tar: include/openssl/safestack.h: Cannot create symlink to ‘../../crypto/stack/safestack.h’: Protocol error
tar: include/openssl/rsa.h: Cannot create symlink to ‘../../crypto/rsa/rsa.h’: Protocol error
tar: include/openssl/ripemd.h: Cannot create symlink to ‘../../crypto/ripemd/ripemd.h’: Protocol error
tar: include/openssl/rc4.h: Cannot create symlink to ‘../../crypto/rc4/rc4.h’: Protocol error
tar: include/openssl/rc2.h: Cannot create symlink to ‘../../crypto/rc2/rc2.h’: Protocol error
tar: include/openssl/rand.h: Cannot create symlink to ‘../../crypto/rand/rand.h’: Protocol error
tar: include/openssl/pqueue.h: Cannot create symlink to ‘../../crypto/pqueue/pqueue.h’: Protocol error
tar: include/openssl/pkcs7.h: Cannot create symlink to ‘../../crypto/pkcs7/pkcs7.h’: Protocol error
tar: include/openssl/pkcs12.h: Cannot create symlink to ‘../../crypto/pkcs12/pkcs12.h’: Protocol error
tar: include/openssl/pem.h: Cannot create symlink to ‘../../crypto/pem/pem.h’: Protocol error
tar: include/openssl/pem2.h: Cannot create symlink to ‘../../crypto/pem/pem2.h’: Protocol error
tar: include/openssl/ossl_typ.h: Cannot create symlink to ‘../../crypto/ossl_typ.h’: Protocol error
tar: include/openssl/opensslv.h: Cannot create symlink to ‘../../crypto/opensslv.h’: Protocol error
tar: include/openssl/opensslconf.h: Cannot create symlink to ‘../../crypto/opensslconf.h’: Protocol error
tar: include/openssl/ocsp.h: Cannot create symlink to ‘../../crypto/ocsp/ocsp.h’: Protocol error
tar: include/openssl/obj_mac.h: Cannot create symlink to ‘../../crypto/objects/obj_mac.h’: Protocol error
tar: include/openssl/objects.h: Cannot create symlink to ‘../../crypto/objects/objects.h’: Protocol error
tar: include/openssl/modes.h: Cannot create symlink to ‘../../crypto/modes/modes.h’: Protocol error
tar: include/openssl/mdc2.h: Cannot create symlink to ‘../../crypto/mdc2/mdc2.h’: Protocol error
tar: include/openssl/md5.h: Cannot create symlink to ‘../../crypto/md5/md5.h’: Protocol error
tar: include/openssl/md4.h: Cannot create symlink to ‘../../crypto/md4/md4.h’: Protocol error
tar: include/openssl/lhash.h: Cannot create symlink to ‘../../crypto/lhash/lhash.h’: Protocol error
tar: include/openssl/kssl.h: Cannot create symlink to ‘../../ssl/kssl.h’: Protocol error
tar: include/openssl/krb5_asn.h: Cannot create symlink to ‘../../crypto/krb5/krb5_asn.h’: Protocol error
tar: include/openssl/idea.h: Cannot create symlink to ‘../../crypto/idea/idea.h’: Protocol error
tar: include/openssl/hmac.h: Cannot create symlink to ‘../../crypto/hmac/hmac.h’: Protocol error
tar: include/openssl/evp.h: Cannot create symlink to ‘../../crypto/evp/evp.h’: Protocol error
tar: include/openssl/err.h: Cannot create symlink to ‘../../crypto/err/err.h’: Protocol error
tar: include/openssl/e_os2.h: Cannot create symlink to ‘../../e_os2.h’: Protocol error
tar: include/openssl/engine.h: Cannot create symlink to ‘../../crypto/engine/engine.h’: Protocol error
tar: include/openssl/ec.h: Cannot create symlink to ‘../../crypto/ec/ec.h’: Protocol error
tar: include/openssl/ecdsa.h: Cannot create symlink to ‘../../crypto/ecdsa/ecdsa.h’: Protocol error
tar: include/openssl/ecdh.h: Cannot create symlink to ‘../../crypto/ecdh/ecdh.h’: Protocol error
tar: include/openssl/ebcdic.h: Cannot create symlink to ‘../../crypto/ebcdic.h’: Protocol error
tar: include/openssl/dtls1.h: Cannot create symlink to ‘../../ssl/dtls1.h’: Protocol error
tar: include/openssl/dso.h: Cannot create symlink to ‘../../crypto/dso/dso.h’: Protocol error
tar: include/openssl/dsa.h: Cannot create symlink to ‘../../crypto/dsa/dsa.h’: Protocol error
tar: include/openssl/dh.h: Cannot create symlink to ‘../../crypto/dh/dh.h’: Protocol error
tar: include/openssl/des_old.h: Cannot create symlink to ‘../../crypto/des/des_old.h’: Protocol error
tar: include/openssl/des.h: Cannot create symlink to ‘../../crypto/des/des.h’: Protocol error
tar: include/openssl/crypto.h: Cannot create symlink to ‘../../crypto/crypto.h’: Protocol error
tar: include/openssl/conf.h: Cannot create symlink to ‘../../crypto/conf/conf.h’: Protocol error
tar: include/openssl/conf_api.h: Cannot create symlink to ‘../../crypto/conf/conf_api.h’: Protocol error
tar: include/openssl/comp.h: Cannot create symlink to ‘../../crypto/comp/comp.h’: Protocol error
tar: include/openssl/cms.h: Cannot create symlink to ‘../../crypto/cms/cms.h’: Protocol error
tar: include/openssl/cmac.h: Cannot create symlink to ‘../../crypto/cmac/cmac.h’: Protocol error
tar: include/openssl/cast.h: Cannot create symlink to ‘../../crypto/cast/cast.h’: Protocol error
tar: include/openssl/camellia.h: Cannot create symlink to ‘../../crypto/camellia/camellia.h’: Protocol error
tar: include/openssl/buffer.h: Cannot create symlink to ‘../../crypto/buffer/buffer.h’: Protocol error
tar: include/openssl/bn.h: Cannot create symlink to ‘../../crypto/bn/bn.h’: Protocol error
tar: include/openssl/blowfish.h: Cannot create symlink to ‘../../crypto/bf/blowfish.h’: Protocol error
tar: include/openssl/bio.h: Cannot create symlink to ‘../../crypto/bio/bio.h’: Protocol error
tar: include/openssl/asn1t.h: Cannot create symlink to ‘../../crypto/asn1/asn1t.h’: Protocol error
tar: include/openssl/asn1_mac.h: Cannot create symlink to ‘../../crypto/asn1/asn1_mac.h’: Protocol error
tar: include/openssl/asn1.h: Cannot create symlink to ‘../../crypto/asn1/asn1.h’: Protocol error
tar: include/openssl/aes.h: Cannot create symlink to ‘../../crypto/aes/aes.h’: Protocol error
tar: apps/md4.c: Cannot create symlink to ‘../crypto/md4/md4.c’: Protocol error
tar: Exiting with failure status due to previous errors
make: *** [/home/zcash/zcash/depends/work/build/x86_64-unknown-linux-gnu/openssl/1.0.1k-2445bf7e363/.stamp_extracted] Error 2
make: Leaving directory `/home/zcash/zcash/depends'


I'm using a Vagrant box with ubuntu/trusty64. I've completed all previous steps as outlined in the Alpha Guide.

Regards,
Vincent


#2

Could this be a permissions issue?


#3

Thanks for your answer. I tried it again as root. Unfortunately, that didn't help. Still getting the same error ..


#4

Problem found! I was using Vagrant on a Windows system and tried to compile Zcash in a directory located on my Windows/NTFS partition. Moved it to a directory within the virtual machine and now it's compiling :slight_smile:


#5

I'm getting an error on my 4th install:
" could not load param file at ~/.zcash-params/z7-verifying.key "
bitcoin in AppInit()

But previous installs did not have in that locatio. Help

[edit: never mind, it was trying to tell me there was no zcash.conf file ]


#6

Yep, this is issue #942.