cosmos-sdk: Install Gaia failed
result of make get_tools && make get_vendor_deps && make install from readme instructions:
(1/57) Wrote github.com/cosmos/go-bip39@52158e4697b87de16ed390e1bdaf813e581008fa
(2/57) Wrote github.com/prometheus/common@master
(3/57) Wrote github.com/prometheus/procfs@master
(4/57) Wrote github.com/gorilla/context@v1.1.1
(5/57) Wrote github.com/davecgh/go-spew@v1.1.0
(6/57) Wrote github.com/btcsuite/btcutil@d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4
(7/57) Wrote github.com/bartekn/go-bip39@master
(8/57) Wrote github.com/beorn7/perks@master
(9/57) Wrote github.com/btcsuite/btcd@master
(10/57) Wrote gopkg.in/yaml.v2@v2.2.2
(11/57) Wrote github.com/ZondaX/hid-go@master
(12/57) Wrote github.com/mattn/go-isatty@v0.0.4
(13/57) Wrote github.com/magiconair/properties@v1.8.0
(14/57) Wrote github.com/mitchellh/mapstructure@v1.1.2
(15/57) Wrote github.com/fsnotify/fsnotify@v1.4.7
(16/57) Wrote github.com/bgentry/speakeasy@v0.1.0
(17/57) Wrote github.com/jmhodges/levigo@master
(18/57) Wrote github.com/rakyll/statik@v0.1.4
(19/57) Wrote github.com/golang/snappy@master
(20/57) Wrote github.com/gorilla/mux@v1.6.2
(21/57) Wrote github.com/gorilla/websocket@v1.4.0
(22/57) Wrote github.com/inconshreveable/mousetrap@v1.0
(23/57) Wrote github.com/go-stack/stack@v1.8.0
(24/57) Wrote github.com/hashicorp/hcl@v1.0.0
(25/57) Wrote github.com/go-logfmt/logfmt@v0.4.0
(26/57) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(27/57) Wrote github.com/go-kit/kit@v0.6.0
(28/57) Wrote github.com/mitchellh/go-homedir@v1.0.0
(29/57) Wrote github.com/prometheus/client_golang@v0.9.1
(30/57) Wrote github.com/golang/protobuf@v1.1.0
(31/57) Wrote github.com/pelletier/go-toml@v1.2.0
(32/57) Wrote github.com/pkg/errors@v0.8.0
(33/57) Wrote github.com/pmezard/go-difflib@v1.0.0
(34/57) Wrote github.com/prometheus/client_model@master
(35/57) Wrote github.com/tendermint/iavl@v0.12.0
(36/57) Wrote github.com/zondax/ledger-goclient@v0.1.0
(37/57) Wrote github.com/tendermint/btcd@e5840949ff4fff0c56f9b6a541e22b63581ea9df
(38/57) Wrote github.com/tendermint/go-amino@v0.14.1
(39/57) Wrote golang.org/x/crypto (from https://github.com/tendermint/crypto)@3764759f34a542a3aef74d6b02e35be7ab893bba
(40/57) Wrote github.com/rs/cors@v1.6.0
(41/57) Wrote github.com/spf13/pflag@v1.0.3
(42/57) Wrote github.com/spf13/viper@v1.0.3
(43/57) Wrote github.com/gogo/protobuf@v1.1.1
(44/57) Wrote github.com/spf13/cast@v1.3.0
(45/57) Wrote github.com/spf13/afero@v1.1.2
(46/57) Wrote golang.org/x/sys@4e1fef5609515ec7a2cee7b5de30ba6d9b438cbf
(47/57) Wrote github.com/stretchr/testify@v1.2.1
(48/57) Wrote github.com/spf13/cobra@v0.0.3
(49/57) Wrote github.com/kr/logfmt@master
(50/57) Wrote github.com/tendermint/tendermint@v0.27.0-dev1
(51/57) Wrote golang.org/x/net@292b43bbf7cb8d35ddf40f8d5100ef3837cced3f
(52/57) Wrote github.com/spf13/jwalterweatherman@v1.0.0
(53/57) Wrote github.com/syndtr/goleveldb@c4c61651e9e37fa117f53c5a906d3b63090d8445
(54/57) Wrote github.com/rcrowley/go-metrics@e2704e165165ec55d062f5919b4b29494e9fa790
(55/57) Wrote golang.org/x/text@v0.3.0
(56/57) Wrote google.golang.org/genproto@383e8b2c3b9e36c4076b235b32537292176bae20
(57/57) Wrote google.golang.org/grpc@v1.16.0
leedy:cosmos-sdk leedy$ make install
make: statik: No such file or directory
make: *** [update_gaia_lite_docs] Error 1
$(GOPATH)/bin/statik and vendor/github.com/rakyll/statik are exists.
But vendor/github.com/rakyll/statik/statik.go is not exists, Is that the reason?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (7 by maintainers)
Was following the thread as I got same error when installing gaia. I think that I has found the source of the problem: sh commands listed on https://cosmos.network/docs/cosmos-hub/installation.html#install-gaia is incorrect and following them will result with incorrect ~/.bash_profile exports. This is due env variables may not be present on the user environment
One can use that instructions instead:
Notice that $ is escaped.
it’s my fault, should reload bash_profile before each
exportruns echo “export GOPATH=$HOME/go” >> ~/.bash_profile echo “export GOBIN=$GOPATH/bin” >> ~/.bash_profile echo “export PATH=$PATH:$GOBIN” >> ~/.bash_profile