Open cody-adams opened 8 years ago
A few questions:
Thanks!
Ubuntu 16.04
go version go1.6.3 linux/amd64
And I'm following the guide in the BUILDING.md here
https://github.com/cloudflare/cfssl/blob/master/BUILDING.md
Using go install github.com/cloudflare/cfssl/...
I had the same issue on 14.04 with Go 1.6 with, for some reason, GO15VENDOREXPERIMENT set to 1. After unsetting the variable, it worked for me.
As an intermediate step, but that was inconclusive, I did
sudo apt install libssl-dev
go get -u go get github.com/google/certificate-transparency/go/merkletree
go 1.7.3 ubuntu 14.04:
go get -u github.com/google/certificate-transparency/go/merkletree github.com/google/certificate-transparency/go/merkletree In file included from ../../google/certificate-transparency/go/merkletree/merkle_tree_go.cc:1:0: ../../cpp/merkletree/merkle_tree.h:28:11: error: looser throw specifier for ‘virtual MerkleTree::~MerkleTree()’ In file included from ../../cpp/merkletree/merkle_tree.h:9:0, from ../../google/certificate-transparency/go/merkletree/merkle_tree_go.cc:1: ../../cpp/merkletree/merkle_tree_interface.h:19:11: error: overriding ‘virtual cert_trans::MerkleTreeInterface::~MerkleTreeInterface() noexcept (true)’
When compiling merkletree it gives me this error
# github.com/cloudflare/cfssl/vendor/github.com/google/certificate-transparency/go/merkletree
github.com/cloudflare/cfssl/vendor/github.com/google/certificate-transparency/go/merkletree/merkle_tree_go.cc:1:36: fatal error: merkletree/merkle_tree.h: No such file or directory
When I look in the repo there is no Merkle_tree.h so I'm not sure exactly how I'm supposed to compile this outside of making my own.