Re: [IMP-users] Help: Troubleshooting CMake configuration errors
Ben,
I used the cmake command from the Wiki: https://github.com/salilab/imp/wiki/Cmake
> cmake ../imp -DCMAKE_BUILD_TYPE=Debug -DIMP_DISABLED_MODULES=cgal:membrane -DIMP_PER_CPP_COMPILATION=core > CmakeSTDOUT.log 2>&1
Cmake screen output: https://gist.github.com/vadim/5c0dd1ce0d3f3c2c410c
On 03/19/2013 03:26 PM, Vadim Patsalo wrote: > Cmake screen output: > https://gist.github.com/vadim/5c0dd1ce0d3f3c2c410c
The first error here is the most informative:
CMake Error at CMakeLists.txt:73 (include): include could not find load file: GNUInstallDirs
What version of cmake are you using? If it's older than 2.8.5, we should be able to fix this by including a copy of GNUInstallDirs with IMP.
Ben
Ben, a truly insightful observation!
I was previously using cmake version 2.8.1. Using the latest cmake (version 2.8.10.2) fixes the issues, and the configuration succeeds.
FYI, The Installation page lists cmake 2.8 as a dependency: http://salilab.org/imp/nightly/doc/html/installation.html
Thank you for your help!
On Mar 19, 2013, at 4:01 PM, Ben Webb ben@salilab.org wrote:
> CMake Error at CMakeLists.txt:73 (include): > include could not find load file: > GNUInstallDirs
On 3/19/13 4:21 PM, Vadim Patsalo wrote: > I was previously using cmake version 2.8.1. Using the latest cmake > (version 2.8.10.2) fixes the issues, and the configuration succeeds.
Great!
> FYI, The Installation page lists cmake 2.8 as a dependency
Right, that's why I asked which version you were using, so we can make sure that the dependency matches the minimum version of cmake that actually works.
Ben
participants (2)
-
Ben Webb
-
Vadim Patsalo