Thread: [Rdkit-devel] boost checks skipped
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2011-05-17 14:27:06
|
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? [giallu@g-centos5-i386 build2]$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PythonLibs: /usr/lib/python2.4/config/libpython2.4.a -- 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 -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu |
|
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
|
|
From: Gianluca S. <gi...@gm...> - 2011-05-18 06:46:27
|
On Wed, May 18, 2011 at 6:19 AM, Greg Landrum <gre...@gm...> wrote: > This is what I'd expect. Yeah, me too :) > > I'm using cmake v2.8.4 (installed from source); which version are you using? > version 2.6.4, from the EPEL repository (more on this in another mail) I'll see if there is something in the documentation about this difference in behavior, maybe it can be easily fixed without affecting 2.8.4 Thanks a lot G. -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu |