cosmos / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
6.24k stars 3.61k forks source link

make tools install error.. #4634

Closed jerryma0912 closed 5 years ago

jerryma0912 commented 5 years ago

Hi! I install Gaia follow the guideline:

mkdir -p $GOPATH/src/github.com/cosmos cd $GOPATH/src/github.com/cosmos git clone https://github.com/cosmos/cosmos-sdk cd cosmos-sdk && git checkout master make tools install

But I got errors: make: Nothing to be done for 'tools'. make: *** No rule to make target 'install'. Stop.

My go version is: go version go1.12.6 linux/amd64

My os env is:LC_PAPER=zh_CN.UTF-8 LC_ADDRESS=zh_CN.UTF-8 XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/jerry LC_MONETARY=zh_CN.UTF-8 CLUTTER_IM_MODULE=xim GNOME_SESSION_XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 TERM=xterm-256color VTE_VERSION=4402 XDG_MENU_PREFIX=gnome- SHELL=/bin/bash SSH_AGENT_LAUNCHER=gnome-keyring GOBIN=/home/jerry/go/bin QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 WINDOWID=50334743 LC_NUMERIC=zh_CN.UTF-8 OLDPWD=/home/jerry/go/src/github.com/cosmos/cosmos-sdk/x UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2320 GTK_MODULES=gail:atk-bridge:unity-gtk-module http_proxy=http://127.0.0.1:8118 USER=jerry LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36: LC_TELEPHONE=zh_CN.UTF-8 QT_ACCESSIBILITY=1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SESSION_MANAGER=local/jerry-vm:@/tmp/.ICE-unix/2562,unix/jerry-vm:/tmp/.ICE-unix/2562 DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/systemd-session:/usr/share/upstart/xdg:/etc/xdg DESKTOP_SESSION=ubuntu PATH=/home/jerry/gnuarm/bin:/home/jerry/bin:/home/jerry/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jerry/Desktop/osmocombb/install/bin:/usr/local/go/bin:/home/jerry/go/bin QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=qgnomeplatform LC_IDENTIFICATION=zh_CN.UTF-8 XDG_SESSION_TYPE=x11 PWD=/home/jerry/go/src/github.com/cosmos/cosmos-sdk XMODIFIERS=@im=ibus LANG=en_SG.UTF-8 GDM_LANG=en_US MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path LC_MEASUREMENT=zh_CN.UTF-8 COMPIZ_CONFIG_PROFILE=ubuntu IM_CONFIG_PHASE=1 https_proxy=http://127.0.0.1:8118 GDMSESSION=ubuntu GTK2_MODULES=overlay-scrollbar SHLVL=2 HOME=/home/jerry LANGUAGE=en_US GNOME_DESKTOP_SESSION_ID=this-is-deprecated XDG_SESSION_DESKTOP=ubuntu LOGNAME=jerry DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop QT4_IM_MODULE=xim GOPATH=/home/jerry/go LESSOPEN=| /usr/bin/lesspipe %s JOURNAL_STREAM=8:26238 MANAGERPID=2119 XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 GTK_IM_MODULE=ibus XDG_CURRENT_DESKTOP=Unity LESSCLOSE=/usr/bin/lesspipe %s %s LC_TIME=zh_CN.UTF-8 LC_NAME=zhCN.UTF-8 XAUTHORITY=/home/jerry/.Xauthority COLORTERM=truecolor =/usr/bin/env

My OS is: ubantu 16.10 Linux version 4.8.0-22-generic (buildd@lgw01-11) (gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) ) #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016

I also try to install on macOS 10.13.6 , but the same problem has arisen. I don't know how to resolve this problem. Can anybody help me? Thanks!

alexanderbez commented 5 years ago

Well the tools target is doing its job correctly -- as in you already have tools installed. However, idk the proper make semantics/UX here. Should Make still fail if other targets are given @alessio ?

AllBeaver commented 5 years ago

I have the same problem make: Nothing to be done for 'tools'. make: *** No rule to make target 'install'. Stop.

go version go1.12.2 linux/amd64

alessio commented 5 years ago

There is no install target in cosmos-sdk master. tools is no-op if tools are installed already

AllBeaver commented 5 years ago

Good. how can i install gaia?

alessio commented 5 years ago

cosmos-sdk and gaia have been split. gaia now lives in its own repository: https://github.com/cosmos/gaia

If you intend to install one of the stable releases just checkout the cosmos-sdk repository's respective tag and run make install, e.g.:

git checkout v0.35.0
make install

If conversely you want to build the in-development version of gaia, just clone the new repository:

git checkout https://github.com/cosmos/gaia
cd gaia && make install

Future releases of gaia will be shipped from the new repository.

luboremo commented 5 years ago

cosmos-sdk and gaia have been split. gaia now lives in its own repository: https://github.com/cosmos/gaia

If you intend to install one of the stable releases just checkout the cosmos-sdk repository's respective tag and run make install, e.g.:

git checkout v0.35.0
make install

If conversely you want to build the in-development version of gaia, just clone the new repository:

git checkout https://github.com/cosmos/gaia
cd gaia && make install

Future releases of gaia will be shipped from the new repository.

I tried both of your suggestions. Checkout 0.35.0 version and also cloned separate gaia repository, but after make install I get (in gaia): Makefile:29: *** gcc not installed for ledger support, please install or set LEDGER_ENABLED=false. Stop.

and in v0.35.0 Makefile:30: *** gcc not installed for ledger support, please install or set LEDGER_ENABLED=false. Stop.

luboremo commented 5 years ago

git checkout v0.35.0

Ok, I made it work after updating Centos and installing gcc (I thought it was already included :/)

$ yum -y update $ yum -y install gcc $ git checkout v0.35.0 $ make install

alessio commented 5 years ago

Thanks. Closing for now.

godas14 commented 4 years ago

Hello

cosmos-sdk and gaia have been split. gaia now lives in its own repository: https://github.com/cosmos/gaia If you intend to install one of the stable releases just checkout the cosmos-sdk repository's respective tag and run make install, e.g.:

git checkout v0.35.0
make install

If conversely you want to build the in-development version of gaia, just clone the new repository:

git checkout https://github.com/cosmos/gaia
cd gaia && make install

Future releases of gaia will be shipped from the new repository.

I tried both of your suggestions. Checkout 0.35.0 version and also cloned separate gaia repository, but after make install I get (in gaia): Makefile:29: *** gcc not installed for ledger support, please install or set LEDGER_ENABLED=false. Stop.

and in v0.35.0 Makefile:30: *** gcc not installed for ledger support, please install or set LEDGER_ENABLED=false. Stop.

Hello! How to remove command git checkout https://github.com/cosmos/gaia cd gaia && make install