Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: *** [Makefile:158: exchain] Error 1 #3264

Open
solfeng opened this issue Nov 23, 2023 · 5 comments
Open

make: *** [Makefile:158: exchain] Error 1 #3264

solfeng opened this issue Nov 23, 2023 · 5 comments

Comments

@solfeng
Copy link

solfeng commented Nov 23, 2023

environment
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
goland
1.20.11 (1.21.4)

exchain
v1.8.0

question

Install the binaries
cd exchain after
make install

questions
make: *** [Makefile:158: exchain] Error 1

Ask for help

@solfeng
Copy link
Author

solfeng commented Nov 23, 2023

Problem Solved make rocksdb fails and needs to be remade
Note g++

@giskook
Copy link
Contributor

giskook commented Nov 23, 2023

Hi @solfeng ,
Before you install exchain, I think you should install rocksdb first. we provide a command make rocksdb, I install rocksdb on ubuntu 22.04 successfully with this command. for more information, please refer to https://forum.okt.club/d/299-how-to-start-a-mainnet-node

@solfeng
Copy link
Author

solfeng commented Nov 24, 2023

Hi @solfeng , Before you install exchain, I think you should install rocksdb first. we provide a command make rocksdb, I install rocksdb on ubuntu 22.04 successfully with this command. for more information, please refer to https://forum.okt.club/d/299-how-to-start-a-mainnet-node

This is indeed the case, but when make install checks rocksdb, this version is not detected and is displayed as "ignore"

The following is the original text
check go and rocksdb version:
go check success: 1.20.11
rocksdb version check:ignore


And exchaincli: command not found

@solfeng
Copy link
Author

solfeng commented Nov 24, 2023

background:
make mainnet or make testnet will install exchaind/exchaincli under GOBIN

If GOBIN is not declared in the system environment variable, the exchaind/exchaincli binary executable file cannot be found after compilation.

solution:
export GOPATH=your gopath
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

https://forum.okt.club/d/198-okcexchaindexchaincli

@giskook
Copy link
Contributor

giskook commented Nov 25, 2023

Hi @solfeng , Before you install exchain, I think you should install rocksdb first. we provide a command make rocksdb, I install rocksdb on ubuntu 22.04 successfully with this command. for more information, please refer to https://forum.okt.club/d/299-how-to-start-a-mainnet-node

This is indeed the case, but when make install checks rocksdb, this version is not detected and is displayed as "ignore"

The following is the original text check go and rocksdb version: go check success: 1.20.11 rocksdb version check:ignore

And exchaincli: command not found

got it, I tried on 22.04 again, it seems make install works well too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants