This repository was archived by the owner on Dec 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Compilation fails with "concurrent insert not supported" on FreeBSD 12 #131
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Hi
I try to run a project that uses RocksDB on FreeBSD 12.
I got this error when running npm install:
$ npm install rocksdb@3.1.0
> rocksdb@3.1.0 install /usr/home/obyte/headless-obyte/node_modules/rocksdb
> prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=x64 libc= platform=freebsd)
gmake: Entering directory '/usr/home/obyte/headless-obyte/node_modules/rocksdb/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/auto_roll_logger.o
In file included from ../deps/leveldb/leveldb-rocksdb/db/auto_roll_logger.cc:6:
In file included from ../deps/leveldb/leveldb-rocksdb/db/auto_roll_logger.h:13:
In file included from ../deps/leveldb/leveldb-rocksdb/db/filename.h:19:
In file included from ../deps/leveldb/leveldb-rocksdb/include/rocksdb/options.h:20:
In file included from ../deps/leveldb/leveldb-rocksdb/include/rocksdb/advanced_options.h:13:
../deps/leveldb/leveldb-rocksdb/include/rocksdb/memtablerep.h:101:5: error: cannot use 'throw' with exceptions disabled
throw std::runtime_error("concurrent insert not supported");
^
1 error generated.
gmake: *** [deps/leveldb/leveldb.target.mk:299: Release/obj.target/leveldb/deps/leveldb/leveldb-rocksdb/db/auto_roll_logger.o] Error 1
gmake: Leaving directory '/usr/home/obyte/headless-obyte/node_modules/rocksdb/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System FreeBSD 12.0-RELEASE
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/obyte/headless-obyte/node_modules/rocksdb
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
I tried with node8-8.16.0, node10-10.16.0, rocksdb@3.1.0 and rocksdb@4.0.0. That always fails with same error.
Any idea how to fix?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed