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

Support newer leveldb versions (1.18) from google repo #78

Open
cupuyc opened this issue Sep 26, 2016 · 0 comments
Open

Support newer leveldb versions (1.18) from google repo #78

cupuyc opened this issue Sep 26, 2016 · 0 comments

Comments

@cupuyc
Copy link

cupuyc commented Sep 26, 2016

I would like to use leveldb 1.18 version from https://github.com/google/leveldb repository.
Current 1.8 leveldb has corruption issue on Mac when process terminated with SIGKILL, which is fixed in 1.18.

When I try to use leveldb from google repo, I get on Mac in mvn clean install -P download -P osx:

[INFO] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -arch x86_64 -arch i386 -g -O2 -I/Users/stan/work/leveldb/testbuild-1.19/leveldb-1.19/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/include/darwin -c src/leveldbjni.cpp  -fno-common -DPIC -o src/.libs/leveldbjni.o
[INFO] src/leveldbjni.cpp:426:35: error: no member named 'ResumeCompactions' in 'leveldb::DB'
[INFO]         ((leveldb::DB *)(intptr_t)arg0)->ResumeCompactions();
[INFO]         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
[INFO] src/leveldbjni.cpp:435:35: error: no member named 'SuspendCompactions' in 'leveldb::DB'
[INFO]         ((leveldb::DB *)(intptr_t)arg0)->SuspendCompactions();
[INFO]         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
[INFO] 2 errors generated.
[INFO] make: *** [src/leveldbjni.lo] Error 1
[INFO] rc: 2
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

1 participant