Hello, On Tue, Jul 6, 2010 at 10:16 AM, Noel O'Boyle <baoille...@gmail.com> wrote: > On 5 July 2010 21:33, Gianluca Sforna <gia...@gmail.com> wrote: >[...] >> Installation - files installed by the "make install" step should >> honour the "DESTDIR" environment variable; this is becasue packagers >> need to put files under a certain build directory to be picked up >> later by the packaging script; this is usually accomplished by setting >> the env variable DESTDIR or running "make install DESTDIR=xxx". I also >> need to mention this buildroot (xxx in the example) usually translates >> to "/" when the package is installed, so default installation >> subdirectories should be picked according to common standard naming. > > AFAIK, with CMAKE you set -DCMAKE_INSTALL_PREFIX for a local install.
yes, but I think prefix and destdir are used in slightly different ways. Prefix informs the build systems about the filesystem location where the software will be installed (in order, for example, to configure the application and/or hardcoding paths), and destdir is used when packaging to perform a staged installation that reproduces the final layout under a temporary filesystem location (so that it is possible to keep track of which files are produced by the installation process in a reliable way). If I'm not wrong, cmake supports both mechanisms, but I've got the impression that the basic issue here is that RDKit is usually installed inside its own "source" tree, which is fine for personal use and custom builds, but doesn't integrate very well with a linux distribution. Riccardo ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss