CIRCL/AIL-framework

Rocksdb won't build

Senator3223 opened this issue · 0 comments

I'm trying to execute ./installing_deps.sh but it fails on building rocksdb:

digita@ubuntu:~/ail-framework$ ./installing_deps.sh
[...]
>>>>> Unpacking ROCKSDB
<<<<< Done unpacking ROCKSDB
>>>>> Building ROCKSDB
make[2]: Entering directory '/home/digita/ail-framework/ardb/deps/rocksdb-6.8.1'
$DEBUG_LEVEL is 0
  GEN      util/build_version.cc
$DEBUG_LEVEL is 0
  GEN      util/build_version.cc
  CC       cache/clock_cache.o
  CC       cache/lru_cache.o
  CC       cache/sharded_cache.o
  CC       db/arena_wrapped_db_iter.o
  CC       db/builder.o
  CC       db/c.o
  CC       db/column_family.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [Makefile:2117: db/column_family.o] Error 1
make[2]: Leaving directory '/home/digita/ail-framework/ardb/deps/rocksdb-6.8.1'
make[1]: *** [Makefile:411: /home/digita/ail-framework/ardb/src/../deps/rocksdb-6.8.1/librocksdb.a] Error 2
make[1]: Leaving directory '/home/digita/ail-framework/ardb/src'
make: *** [Makefile:4: all] Error 2

any idea what's wrong?

Edit: I learned its probably caused by too little memory available while compiling