Lancet won't use cmake3, although it is required
jbsysadmin opened this issue · 4 comments
Greetings. Prior sucessful builds of lancet involved specifying PATH to a custom build of cmake3.
However, cmake does not build when we install 3.12.1-1.el7 by yum. (Specifically: yum install cmake3.x86_64)
When I try to compile this, I get error "CMake 3.0 or higher is required. You are running version 2.8.12.2"
What needs to happen so that your build process sees an in-OS cmake3 ? ( Yum installs that in universal PATH, /usr/bin/ccmake3.)
Note: the new compilation context is re-building this as an RPM. We have a directive to move away from non-RPM builds.
Since specifying the path to cmake worked in the past. Can you specify the new path to the Yum cmake installation? Otherwise you could try creating a new "cmake" symlink to ccmake3. My guess is that the configure script looks for a "cmake" binary and cannot find it in the universal path.
Lancet specific source code does not require cmake for compilation. CMake is needed to compile the bamtools API which is included in the lancet distribution: https://github.com/pezmaster31/bamtools/wiki/Building-and-installing
I would recommend asking for support directly to the bamtools developers.