Re: [Rdkit-discuss] Problems building from source

2021-12-20 Thread Greg Landrum
Hi Tim,

You probably need to provide the argument "-DBoost_NO_BOOST_CMAKE=TRUE" to
cmake.

-greg


On Mon, Dec 20, 2021 at 6:20 PM Tim Dudgeon  wrote:

> I'm hitting problems when building from source on an Ubuntu system.
> I've installed the dependencies (e.g. boost) using apt and think I have
> everything set properly, but cmake is failing. Early on it says:
>
> -- Found Boost:
> /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found
> suitable version "1.71.0", minimum required is "1.56.0") found components:
> serialization
> == Using strict rotor definition
> -- Found Boost:
> /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found
> suitable version "1.71.0", minimum required is "1.56.0") found components:
> system iostreams
>
> Then a little later it spits out a large number of statements like this
>
> CMake Error at Code/cmake/Modules/RDKitUtils.cmake:153 (add_executable):
>   Target "testCoordGen" links to target "Boost::system" but the target was
>   not found.  Perhaps a find_package() call is missing for an IMPORTED
>   target, or an ALIAS target is missing?
> Call Stack (most recent call first):
>   External/CoordGen/CMakeLists.txt:110 (rdkit_test)
>
> These are the boost libs I have:
>
> apt list --installed | grep libboost
>
> WARNING: apt does not have a stable CLI interface. Use with caution in
> scripts.
>
> libboost-atomic1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-atomic1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost-chrono1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-chrono1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost-date-time1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-date-time1.71.0/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed]
> libboost-iostreams1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-iostreams1.71.0/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-python1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-python1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost-regex1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-regex1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost-serialization1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-serialization1.71.0/focal,now 1.71.0-6ubuntu6 amd64
> [installed,automatic]
> libboost-system1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-system1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost-thread1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
> libboost-thread1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
> libboost1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
>
> Any idea what is wrong?
>
> Tim
>
> ___
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


[Rdkit-discuss] Problems building from source

2021-12-20 Thread Tim Dudgeon
I'm hitting problems when building from source on an Ubuntu system.
I've installed the dependencies (e.g. boost) using apt and think I have
everything set properly, but cmake is failing. Early on it says:

-- Found Boost:
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found
suitable version "1.71.0", minimum required is "1.56.0") found components:
serialization
== Using strict rotor definition
-- Found Boost:
/usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found
suitable version "1.71.0", minimum required is "1.56.0") found components:
system iostreams

Then a little later it spits out a large number of statements like this

CMake Error at Code/cmake/Modules/RDKitUtils.cmake:153 (add_executable):
  Target "testCoordGen" links to target "Boost::system" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  External/CoordGen/CMakeLists.txt:110 (rdkit_test)

These are the boost libs I have:

apt list --installed | grep libboost

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

libboost-atomic1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-atomic1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost-chrono1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-chrono1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost-date-time1.71-dev/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-date-time1.71.0/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-dev/focal,now 1.71.0.0ubuntu2 amd64 [installed]
libboost-iostreams1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-iostreams1.71.0/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-python1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-python1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost-regex1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-regex1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost-serialization1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-serialization1.71.0/focal,now 1.71.0-6ubuntu6 amd64
[installed,automatic]
libboost-system1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-system1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost-thread1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed]
libboost-thread1.71.0/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]
libboost1.71-dev/focal,now 1.71.0-6ubuntu6 amd64 [installed,automatic]

Any idea what is wrong?

Tim
___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss