On 2014-08-26 17:34, Andrew Pannifer wrote:
Hi,
I have just installed rdkit on a RHEL machine (from source) together with postgresql 9.0 (from the repo on the website). rdkit is doing fine on the ctest results and modules import fine while postgresql is also OK.

In contrast, attempts to build the cartridge are not so good (results below). I wasn't sure if the devel package was in there so installed again via yum and no errors there but still get the same result. Any help here to solve this would be appreciated.

make && make install && make installcheck
make: pg_config: Command not found
/bin/sh: pg_config: command not found
make: Nothing to be done for `all'.
make: pg_config: Command not found
/bin/sh: pg_config: command not found
make: *** No rule to make target `install'.  Stop.

thanks,
Andrew

Hi Andrew,

Red Hat is a bit peculiar about how it packages PostgreSQL - well, at least it differs from Debian/Ubuntu. Even when you have installed the devel package, pg_config may not be on your standard PATH.

I am on CentOS 6.5 with PostgreSQL 9.3 at the moment and to build the RDKit cartridge I do this first:

    export PATH=$PATH:/usr/pgsql-9.3/bin/

and then it builds for me. So something similar may apply to your setup ?

When you can run 'pg_config' from the command line before you build, you should be good to go.

Cheers
-- Jan
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to