Closed snej closed 7 years ago
Hi, thanks for the report. Could this be RocksDB build issue (by simply trying to build rocksdb separately on MacOS) ?
git clone --recursive git://github.com/pmwkaa/ioarena.git
cd db/rocksdb
cmake .
make
Unfortunately i don't have a MacOSX to test it atm.
cmake failed with errors. The comment at the first line of CMakeLists.txt says This cmake build is for Windows 64-bit only
— looks like Unix builds just use make
.
make static_lib
succeeds.make shared_lib
succeeds.Now devel branch should be build successfully. @snej, could you check this?
Sorry, building current devel branch of ioarena (commit a62cf1b83f1c1eae395616ec20a0137fb2873391) fails exactly as before.
Hm, it is very strange.
Current cmake script inside IoArena don't call RocksDB to build db_bench
, but only the shared_lib
target. Therefore such building errors are NOT possible. I has checked this right now.
@snej, please check this again using a clean environment, for instance just run the ./runme.sh
Weird! I did a fresh clone of ioarena from Github, then git checkout devel
. Let me try again.
Reproduced it, again with a fresh checkout. Here's a log of the session: ioarena_build.txt
Here's a zip archive of the build
directory if you want to look at the generated makefiles:
build.zip
The runme.sh
script doesn't work either; it fails with:
Scanning dependencies of target libleveldb
[ 11%] Generating db/leveldb/libleveldb.so.1
make[3]: *** No rule to make target `libleveldb.so.1'. Stop.
make[2]: *** [db/leveldb/libleveldb.so.1] Error 2
make[1]: *** [CMakeFiles/libleveldb.dir/all] Error 2
make: *** [all] Error 2
I understood and fixed trouble with the leveldb, but not with rocksdb (seems it is a rockdb bug).
Please try again by the runme.sh (devel branch).
Please someone - check again the devel-branch on OSX in a clean environment by runme.sh
Please check this again in a week: devel-branch on OSX, in a clean environment by runme.sh Otherwise I will assume (hopefully) that the problem was fixed. Ok?
OOPS, it still broken as @snej described. It seems that it is RocksDB issue.
Checked out current master (853a50d2132796db5e12769a0daed04f1384daef) and configured it to build all of the databases except leveldb. I don't have any of them installed in /usr, so it's building the sources in the submodules.
The build fails with a link error building
db_bench
as part of RocksDB. See below. Looks like it's not linking with libz, as well as whatever library bzip comes from.(MacBook Pro running OS X 10.11.2. Dev tools from Xcode 7.1.1.)