On Thu, Jan 21, 2010 at 9:23 AM, Gianluca Sforna <[email protected]> wrote: > On Thu, Jan 21, 2010 at 8:58 AM, Gianluca Sforna <[email protected]> wrote: >> On Wed, Jan 20, 2010 at 7:59 PM, Greg Landrum <[email protected]> wrote: >>> The reason for the hackery is to allow an alternate python >>> installation to be used on systems that have more than one. This was >>> the only way I could figure out how to do this. >> >> What about running ccmake and editing the paths to your preferred >> boost installation? > > For completeness, I checked how to achieve the same with regular cmake. > > It seems the magic incantation is something like: > cmake -DBOOST_ROOT=path/to/your/boost > > I'm not sure what happens if you have more than one installed at the > same time, though; if needed, I can try to find some spare time to > test this other scenario.
Yes, that mostly works with boost, as does setting the BOOST_ROOT environment variable (as I put in the wiki) but it doesn't work with python.[1] The ugly 'hackery' in $RDBASE/Code/CMakeLists.txt has to do with the python versions. -greg [1] Note: it did not work completely on Kirk's machine, there cmake set things up so that the correct include files were being found but the wrong libraries were being used. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

