-
Notifications
You must be signed in to change notification settings - Fork 538
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
On FreeBSD 10.0-STABLE leveldb within eleveldb cannot be built #496
Comments
For 2.0 we might require using gcc instead of clang, both @Vagabond and I ran into the same problem. I'll set the target of addressing clang for 2.0.1 milestone for now. |
Please do note FreeBSD Port has its own leveldb (/usr/ports/databases/leveldb) 1.15.0. Also, the default Port gcc is now 4.7.3 (port devel/gcc47). |
Their leveldb != our leveldb. Unlke the other leveldb forks out there (hyperdex's hyperleveldb and Facebook's RocksDB) we have not renamed our fork, although we probably should. |
I suggest Riak's leveldb to be renamed to avoid confusion. |
I agree. |
Is this issue resolved? |
Yes, if you build with the GCC flags then the world is happy, if you try to build with clang, the world is sad. I'm set on FreeBSD10, but if you want people to be able to build leveldb out of the box on FreeBSD with the default compiler, then no there is still an issue. |
I hope clang issue will be solved on the next Riak release after 2.0. |
The leveldb in eleveldb deps cannot be built on 2.0.0pre16. Confirmed other components built OK on
gmake rel
. See basho/eleveldb#97 for the details.Compilation with GNU cc 4.6.4 from FreeBSD Port selection aka
gcc46
andg++46
solves the building problem, withenv CC=gcc46 CXX=g++46 gmake rel
.The text was updated successfully, but these errors were encountered: