Hi Greg, This is probably pretty straightforward.
You were correct there!
In order to build the cartridge you need to have $RDBASE pointing to the
directory containing the RDKit source distribution
(/usr/local/Cellar/rdkit/2012.03.1 in the example above from Hans). You're
looking for the directory that contains the RDKit's Code directory. You don't
have to change this globally or in your .bashrc file; you can just set the
appropriate value of RDBASE in the shell where you want to build the cartridge
and then try running make.
I couldn't get it to work by playing with RDBASE but instead I altered the
Makefile so that all the -L${RDKIT}/lib were changed to -L/usr/local/lib and
similarly with -I${RDKIT}/Code to -I/usr/local/include/rdkit.
Thanks for the help.
Best,
Nick
Nicholas C. Firth | PhD Student | Cancer Therapeutics
The Institute of Cancer Research | 15 Cotswold Road | Belmont | Sutton | Surrey
| SM2 5NG
T 020 8722 4033 | E [email protected]<mailto:[email protected]> |
W www.icr.ac.uk<http://www.icr.ac.uk/> | Twitter
@ICRnews<https://twitter.com/ICRnews>
Facebook
www.facebook.com/theinstituteofcancerresearch<http://www.facebook.com/theinstituteofcancerresearch>
Making the discoveries that defeat cancer
[cid:[email protected]]
On 15 May 2013, at 05:10, Greg Landrum
<[email protected]<mailto:[email protected]>> wrote:
Hi Nick,
On Tue, May 14, 2013 at 12:19 PM, Nicholas Firth
<[email protected]<mailto:[email protected]>> wrote:
Hi RDKitters (in particular Hans),
I have an issue with the installation of the RDKit postgres cartridge using the
brewed version of RDKit. I got an email from Eddie yesterday (below) with some
instruction from Hans about how to do it. However I'm experiencing some
problems.
My issue starts at step 2) (it's worth noting that I'm doing this with the
latest release of RDKit). I started by following the instructions as they were
but when I got to the make stage I get the error below,
adapter.cpp:32:10: fatal error: 'GraphMol/RDKitBase.h' file not found
#include <GraphMol/RDKitBase.h>
So I then went back and checked a few things and it seems that my $RDBASE
variable is in a different place to the instructions mine is
/usr/local/share/RDKit
I then created the link from the source to this RDBASE and I get the same error
when I try to make.
This is about where my knowledge of UNIX runs out, so I thought I should ask
the forum before I end up breaking it all!
This is probably pretty straightforward.
The cartridge is built, as you've seen, with a separate makefile - it does not
use the cmake environment that the rest of the rdkit build does.
That makefile uses the value of the environment variable $RDBASE to tell the
compiler where to find the rdkit's header files.
In order to build the cartridge you need to have $RDBASE pointing to the
directory containing the RDKit source distribution
(/usr/local/Cellar/rdkit/2012.03.1 in the example above from Hans). You're
looking for the directory that contains the RDKit's Code directory. You don't
have to change this globally or in your .bashrc file; you can just set the
appropriate value of RDBASE in the shell where you want to build the cartridge
and then try running make.
Hope this helps,
-greg
The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company
Limited by Guarantee, Registered in England under Company No. 534147 with its
Registered Office at 123 Old Brompton Road, London SW7 3RP.
This e-mail message is confidential and for use by the addressee only. If the
message is received by anyone other than the addressee, please return the
message to the sender by replying to it and then delete the message from your
computer and network.<<inline: image001.gif>>
------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

