-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
Hi,
I encounter the following error when trying to compile mongo 3.6.5 with rocksdb 5.14.2 on ubuntu 14.04:
src/mongo/db/modules/rocks/src/rocks_init.cpp: In member function 'virtual mongo::StorageEngine* mongo::{anonymous}::RocksFactory::create(const mongo::StorageGlobalParams&, const mongo::StorageEngineLockFile*) const':
src/mongo/db/modules/rocks/src/rocks_init.cpp:63:62: error: invalid new-expression of abstract class type 'mongo::RocksEngine'
params.readOnly);
^
In file included from src/mongo/db/modules/rocks/src/rocks_init.cpp:39:0:
src/mongo/db/modules/rocks/src/rocks_engine.h:73:11: note: because the following virtual functions are pure within 'mongo::RocksEngine':
class RocksEngine final : public KVEngine {
^
In file included from src/mongo/db/modules/rocks/src/rocks_engine.h:46:0,
from src/mongo/db/modules/rocks/src/rocks_init.cpp:39:
src/mongo/db/storage/kv/kv_engine.h:274:23: note: virtual mongo::Timestamp mongo::KVEngine::getAllCommittedTimestamp(mongo::OperationContext*) const
virtual Timestamp getAllCommittedTimestamp(OperationContext* opCtx) const = 0;
^
scons: *** [build/opt/mongo/db/modules/rocks/src/rocks_init.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/modules/rocks/src/rocks_init.o failed: Error 1
I used the following command to proceed:
scons -j 4 --ssl --prefix=/opt/mongo \
--disable-warnings-as-errors \
MONGO_VERSION=3.6.5 \
core install
note that using the same environment/command with mongo 3.4.X, i never had any problem
Metadata
Metadata
Assignees
Labels
No labels