Not the answer you need?
Register and ask your own question!

How to build rocksdb support?

mareksmareks EntrantCurrent User Role Beginner
As far as I ca see, you should use "scons --rocksdb=on all" to build it, but I'll get an error:
In file included from src/mongo/db/storage/rocks/src/rocks_parameters.h:32:0,
                 from src/mongo/db/storage/rocks/src/rocks_parameters.cpp:32:
src/mongo/db/storage/rocks/src/rocks_engine.h:40:27: fatal error: rocksdb/cache.h: No such file or directory
compilation terminated.

Is it just me or there is something wrong with scons files?

Comments

  • tplavcictplavcic QA Engineer Percona Staff Role
    Hi mareks,

    There's a script here which can build PSMDB 3.4 from github repo: https://github.com/Percona-QA/psmdb-misc-scripts/blob/master/build_psmdb_3.4.sh#L112-L124
    I have marked the lines which could be of interest to you, but you might as well use the whole script.
    Before using it you need to do "git submodule init" and "git submodule update".
    Also notice the script builds the mongo tools also so you'll need golang for that or just comment that part if you don't need it.
  • mareksmareks Entrant Current User Role Beginner
    Oh, that is really helpful. Thanks!
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.