Illumina / ExpansionHunter

A tool for estimating repeat sizes
Other
183 stars 51 forks source link

Make step stops at 77% after completing 'Boost' #165

Open alphahmed opened 2 years ago

alphahmed commented 2 years ago

I am trying to compile from the cloned git folder. Once the make reaches 77% after completing 'Boost' I get Error 2. Centos Stream 9, latest cmake. Running binary version 5 is fine, I just don't want to miss the newer features.

...updated 15425 targets...
[ 75%] No install step for 'Boost'
[ 77%] Completed 'Boost'
[ 77%] Built target Boost
make: *** [Makefile:91: all] Error 2
Stikus commented 11 months ago

Same problem here, Oracle Linux 9

Stikus commented 11 months ago

Looks like here is the first reason: https://github.com/Illumina/ExpansionHunter/issues/160

And this is the second reason: https://github.com/Illumina/ExpansionHunter/issues/168

Upgrading googletest to 1.11.0 and adding #include <limits> to GraphCoordinates.cpp helps.

sed -i '/GIT_TAG/s/release-1.10.0/release-1.11.0/' CMakeLists.txt
sed -i '/^#include <cassert>/a #include <limits>' ehunter/thirdparty/graph-tools-master-0cd9399/src/graphcore/GraphCoordinates.cpp