On Thu, Sep 5, 2019 at 10:29 PM Amit Ghadge <amitg.b14@xxxxxxxxx> wrote: > > Hi, > > I try to build Ceph v13.2.6 locally and I was clone and checkout with v13.2.6 tag. > I run ./run-make-check.sh but it's failed. It's shows below error > > [100%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.cc.o > [100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o > Linking CXX static library librocksdb.a > [100%] Built target rocksdb > [ 8%] Performing install step for 'rocksdb_ext' > [ 8%] Completed 'rocksdb_ext' > [ 8%] Built target rocksdb_ext > make[1]: *** [CMakeFiles/tests.dir/rule] Error 2 > make: *** [tests] Error 2 > > While I try, > $ sudo ./install-deps.sh > $ ./do_cmake.sh > $ cd build > $ make > > It raised below exception, > > In file included from /home/user/my/ceph/ceph/src/common/config.h:24:0, > from /home/user/my/ceph/ceph/src/common/dout.h:22, > from /home/user/my/ceph/ceph/src/kv/LevelDBStore.h:25, > from /home/user/my/ceph/ceph/src/kv/KeyValueDB.cc:6: > /home/user/my/ceph/ceph/src/log/SubsystemMap.h:65:25: error: enclosing class of constexpr non-static member function 'const char* ceph::logging::SubsystemMap::get_name(unsigned int) const' is not a literal type > constexpr const char* get_name(unsigned subsys) const { > ^~~~~~~~ > /home/user/my/ceph/ceph/src/log/SubsystemMap.h:19:7: note: 'ceph::logging::SubsystemMap' is not literal because: > class SubsystemMap { > ^~~~~~~~~~~~ > /home/user/my/ceph/ceph/src/log/SubsystemMap.h:19:7: note: 'ceph::logging::SubsystemMap' has a non-trivial destructor > make[3]: *** [src/kv/CMakeFiles/kv_objs.dir/KeyValueDB.cc.o] Error 1 > make[2]: *** [src/kv/CMakeFiles/kv_objs.dir/all] Error 2 > > Please help me here to suggest any better way to build ceph. What OS and what compiler are you using? > > > Thanks, > Amit G > > > > _______________________________________________ > Dev mailing list -- dev@xxxxxxx > To unsubscribe send an email to dev-leave@xxxxxxx -- Cheers, Brad _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx