Re: [Rdkit-devel] find_package(RDKit)
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Riccardo V. <ric...@gm...> - 2011-08-07 14:33:27
|
Hi Greg, On Sun, Aug 7, 2011 at 11:40 AM, Greg Landrum <gre...@gm...> wrote: > Hi Riccardo, > > I'm trying to get your patch working in a local install now. > > I tried an in-source build and have encountered a somewhat odd > problem: "make install" fails. yes, it's actually quite strange.. to my understanding the additional management of package configuration files wasn't supposed to affect the existing build and installation process of the other targets. I didn't observe anything like that in my tests, but I'm now repeating the whole build and (in-tree) install process investigating this behaviour in a more specific way. Riccardo > > Here's the situation after doing "make": > > /scratch/RDKit_vianello > ls -l lib/*RDBoost* > lrwxrwxrwx 1 glandrum glandrum 15 2011-08-07 11:31 > lib/libRDBoost.so -> libRDBoost.so.1 > lrwxrwxrwx 1 glandrum glandrum 28 2011-08-07 11:31 > lib/libRDBoost.so.1 -> libRDBoost.so.1.2011.09.1pre > -rwxr-xr-x 1 glandrum glandrum 13342 2011-08-07 11:31 > lib/libRDBoost.so.1.2011.09.1pre > > Now I do a verbose "make instal"l: > > /scratch/RDKit_vianello > VERBOSE=1 make install > /usr/local/bin/cmake -H/scratch/RDKit_vianello > -B/scratch/RDKit_vianello --check-build-system > CMakeFiles/Makefile.cmake 0 > /usr/local/bin/cmake -E cmake_progress_start > /scratch/RDKit_vianello/CMakeFiles > /scratch/RDKit_vianello/CMakeFiles/progress.marks > make -f CMakeFiles/Makefile2 all > > <SNIP> > > make[1]: Leaving directory `/scratch/RDKit_vianello' > Install the project... > /usr/local/bin/cmake -P cmake_install.cmake > -- Install configuration: "Release" > -- Up-to-date: /scratch/RDKit_vianello/lib/rdkit-targets.cmake > -- Up-to-date: /scratch/RDKit_vianello/lib/rdkit-targets-release.cmake > -- Up-to-date: /scratch/RDKit_vianello/lib/rdkit-config.cmake > -- Up-to-date: /scratch/RDKit_vianello/lib/rdkit-config-version.cmake > -- Up-to-date: /scratch/RDKit_vianello/lib/libRDGeneral_static.a > CMake Error at Code/RDBoost/cmake_install.cmake:50 (FILE): > file INSTALL cannot find > "/scratch/RDKit_vianello/lib/libRDBoost.so.1.2011.09.1pre". > Call Stack (most recent call first): > Code/cmake_install.cmake:38 (INCLUDE) > cmake_install.cmake:70 (INCLUDE) > > And, if I look in lib the library has vanished: > > /scratch/RDKit_vianello > ls -l lib/*RDBoost* > lrwxrwxrwx 1 glandrum glandrum 15 2011-08-07 11:31 lib/libRDBoost.so > -> libRDBoost.so.1 > lrwxrwxrwx 1 glandrum glandrum 28 2011-08-07 11:31 lib/libRDBoost.so.1 > -> libRDBoost.so.1.2011.09.1pre > /scratch/RDKit_vianello > > > Any ideas what's wrong here? > > -greg > |