Re: [Rdkit-devel] [PATCH 2/2] Install libraries in ${RDKit_LibDir}
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Gianluca S. <gi...@gm...> - 2010-07-21 10:46:09
|
On Wed, Jul 21, 2010 at 5:59 AM, Greg Landrum <gre...@gm...> wrote: > I guess I don't see how we're going to know at build time where things > will be installed. That's not known until the user does "make install" It is true files are installed after the build step. However, the various installation paths are interpolated and defined when you run cmake; in particular, the %cmake macro used while building the RPM expands to: cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON and at this point we are able to tell where things will land with a "make install". I will try to implement something in the next few days so we can see if it's going to be clean and simple as I would like it to be. Cheers G. -- Gianluca Sforna http://morefedora.blogspot.com http://www.linkedin.com/in/gianlucasforna |