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

On FreeBSD 10.0-STABLE leveldb within eleveldb cannot be built #496

Closed
jj1bdx opened this issue Feb 22, 2014 · 8 comments
Closed

On FreeBSD 10.0-STABLE leveldb within eleveldb cannot be built #496

jj1bdx opened this issue Feb 22, 2014 · 8 comments

Comments

@jj1bdx
Copy link
Contributor

jj1bdx commented Feb 22, 2014

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 and g++46 solves the building problem, with env CC=gcc46 CXX=g++46 gmake rel.

@jaredmorrow
Copy link
Contributor

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.

@jaredmorrow jaredmorrow added this to the 2.0.1 milestone Mar 24, 2014
@jj1bdx
Copy link
Contributor Author

jj1bdx commented Mar 24, 2014

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).

@Vagabond
Copy link
Contributor

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.

@jj1bdx
Copy link
Contributor Author

jj1bdx commented Mar 25, 2014

I suggest Riak's leveldb to be renamed to avoid confusion.

@Vagabond
Copy link
Contributor

I agree.

@matthewvon
Copy link

Is this issue resolved?

@jaredmorrow
Copy link
Contributor

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.

@jj1bdx
Copy link
Contributor Author

jj1bdx commented May 9, 2014

I hope clang issue will be solved on the next Riak release after 2.0.

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

No branches or pull requests

4 participants