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

编译错误 #5

Open
jiangjianjian opened this issue Oct 25, 2017 · 2 comments
Open

编译错误 #5

jiangjianjian opened this issue Oct 25, 2017 · 2 comments

Comments

@jiangjianjian
Copy link

[root@10-19-77-130 terarkdb]# make -C rocksdb shared_lib DEBUG_LEVEL=0
snappy is required but can not detected
make: Entering directory /root/terarkdb/rocksdb' Makefile:177: *** "/root/terarkdb/rocksdb/build_tools/build_detect_platform failed". Stop. make: Leaving directory /root/terarkdb/rocksdb'
[root@10-19-77-130 terarkdb]# rpm -qa|grep snappy
snappy-1.1.0-1.el6.x86_64

@rockeet
Copy link
Member

rockeet commented Oct 25, 2017

You should install snappy-devel:

sudo yum install snappy-devel

@mm304321141
Copy link

EXTRA_CFLAGS='-I/path/to/snappy/include' make xxxx

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

3 participants