Ceph (master) compilation on Fedora 29 fails (with Python 3)
Due to different bugs (filed elsewhere) I have to try to compile on Fedora 29 with Python 3. My attempt has failed:
"cmake .. -DWITH_PYTHON2=OFF -DWITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3" (per https://bugzilla.redhat.com/show_bug.cgi?id=1643450#c8 )
and it fails with:
Scanning dependencies of target ec_isa
[ 1%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o
In file included from /home/ykaul/github/ceph/src/include/types.h:19,
/home/ykaul/github/ceph/src/include/byteorder.h:5:10: fatal error: type_traits: No such file or directory
Seems to be something with the flags passed to gcc?
#1 Updated by Brad Hubbard about 5 years ago
Yaniv, can you try the following please?
$ git submodule update --init --recursive;git clean -fdx;git submodule foreach git clean -fdx; mkdir build; cd build
Then try the cmake command and build again? If that fails please let us know the sha1 you are trying to build, thanks.