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 build error #197

Open
xmhu opened this issue Jun 12, 2018 · 7 comments
Open

make build error #197

xmhu opened this issue Jun 12, 2018 · 7 comments

Comments

@xmhu
Copy link

xmhu commented Jun 12, 2018

Mac OS 10.12
go version go1.10 darwin/amd64

$ make build                                                        [18:19:21]
cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=f9162525afa69d4ba6a5eefc9f1cfb2d964d2dac -X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-f9162525afa69d4ba6a5eefc9f1cfb2d964d2dac
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
../../vendor/github.com/tecbot/gorocksdb/options.go:1045:2: could not determine kind of name for C.rocksdb_options_set_allow_ingest_behind
make: *** [build] Error 2
@yupnano
Copy link
Contributor

yupnano commented Jun 15, 2018

@vodanh1369
Copy link

vodanh1369 commented Jun 28, 2018

I have Mac OS 10.13.4 and I've meet this error :

cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=7470724e2ed1f2f1e54af19e3ead477d324d542e -X main.branch=master -X main.compileAt=`date +%s`" -o ../../neb-7470724e2ed1f2f1e54af19e3ead477d324d542e
# github.com/nebulasio/go-nebulas/vendor/github.com/tecbot/gorocksdb
../../vendor/github.com/tecbot/gorocksdb/backup.go:36:15: could not determine kind of name for C.rocksdb_backup_engine_info_size

clang errors for preamble:
In file included from ../../vendor/github.com/tecbot/gorocksdb/backup.go:3:
In file included from /usr/include/stdlib.h:65:
In file included from /usr/include/sys/wait.h:110:

@vodanh1369
Copy link

@yupnano Why do not you talk me how to fix the problem ? I used brew install rocksdb but still failed. Did you try it before ?
Bad project !!!

@yupnano
Copy link
Contributor

yupnano commented Jul 5, 2018

Sorry but I don't know the exact reason for this error, I have not meet this error before.
I will try to find the reason soon.

@dreamflyfengzi
Copy link
Contributor

@vodanh1369 please check your rocksdb version . You'll need to build RocksDB v5.5+ on your machine.

@vodanh1369
Copy link

vodanh1369 commented Jul 5, 2018

@yupnano @dreamflyfengzi
I use the latest version. Current is rocksdb 5.14.2 and go version go1.10.3 darwin/amd64 . I have tried uninstalling many times and still have errors.
I use Mac Pro 2017 with touch bar and Mac OS 10.13.4 (17E199).

@weiht12
Copy link

weiht12 commented Dec 5, 2018

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/
(英文);https://wiki.nebulas.io/zh_CN/latest/ (中文)
Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English) ; https://wiki.nebulas.io/zh_CN/latest/ (Chinese)

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

5 participants