Re: [Rdkit-devel] boost checks skipped
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Greg L. <gre...@gm...> - 2011-05-18 04:20:08
|
Hi Gianluca,
On Tue, May 17, 2011 at 4:26 PM, Gianluca Sforna <gi...@gm...> wrote:
> I just noticed the boost version check (but this is probably true for
> other ones) looks like being done only once; basically, the first time
> you run "cmake" with a older boost version available you get the error
> message. Running again cmake proceeds without any warning (see below).
>
> Is this the expected behavior?
Not at all. I would expect it to always fail.
> [giallu@g-centos5-i386 build2]$ cmake ..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
...
> -- Found PythonInterp: /usr/bin/python2.4
> CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:868 (message):
> Unable to find the requested Boost libraries.
>
> Boost version: 1.33.1
>
> Boost include path: /usr/include
>
> Detected version of Boost is too old. Requested version was 1.39 (or
> newer).
> Call Stack (most recent call first):
> CMakeLists.txt:69 (find_package)
>
>
> -- Found BISON: /usr/bin/bison
> -- Found FLEX: /usr/bin/flex
> CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:868 (message):
> Unable to find the requested Boost libraries.
>
> Boost version: 1.33.1
>
> Boost include path: /usr/include
>
> Detected version of Boost is too old. Requested version was 1.39 (or
> newer).
> Call Stack (most recent call first):
> Code/GraphMol/SLNParse/CMakeLists.txt:4 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> [giallu@g-centos5-i386 build2]$ cmake ..
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/giallu/RDKit_2011_03_2/build2
>
Here's what happens to me on a bare-bones centos VM:
[root@localhost build]# cmake -D RDK_BUILD_PYTHON_WRAPPERS=OFF ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
...
CMake Error at /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1128
(message):
Unable to find the requested Boost libraries.
Boost version: 1.33.1
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.39 (or
newer).
Call Stack (most recent call first):
CMakeLists.txt:97 (find_package)
-- Found BISON: /usr/bin/bison
-- Found FLEX: /usr/bin/flex
CMake Error at /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1128
(message):
Unable to find the requested Boost libraries.
Boost version: 1.33.1
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.39 (or
newer).
The following Boost libraries could not be found:
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
Code/GraphMol/SLNParse/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
And the second attempt:
[root@localhost build]# cmake ..
CMake Error at /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1128
(message):
Unable to find the requested Boost libraries.
Boost version: 1.33.1
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.39 (or
newer).
The following Boost libraries could not be found:
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
Code/GraphMol/SLNParse/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
[root@localhost build]#
This is what I'd expect.
I'm using cmake v2.8.4 (installed from source); which version are you using?
-greg
|