Dear all, a followup from Andrew's message this weekend:
On Sun, Jul 4, 2010 at 6:36 AM, Andrew Dalke <da...@dalkescientific.com> wrote: > > I run into problems because I have no postgresql contrib directory. > > Looking around, there's Postgres extension system called PGXS which > is meant for third-party extensions. In fact, it seems that building > in contrib is a relatively rare task: > > (from > http://justatheory.com/computers/databases/postgresql/no_more_use_pgxs.html ) > > > "I find this annoying, because third-party extensions are almost > never built from the contrib directory," > > I tried to put something together to get it working. This is as > far as I got > > #========= > > MODULE_big = rdkit > OBJS = rdkit_io.o mol_op.o bfp_op.o sfp_op.o rdkit_gist.o low_gist.o guc.o > cache.o adapter.o > PG_CPPFLAGS = -I$(BOOSTHOME) -I${RDKIT}/Code -DRDKITVER='"001900"' > > > PG_CONFIG = /opt/local/lib/postgresql83/bin/pg_config > PGXS := $(shell $(PG_CONFIG) --pgxs) > include $(PGXS) > > > #============ I added this, with some modifications to the cartridge makefile and checked it in this morning. It should now be possible to build the catridge using the postgresql packages supplied by your linux distribution; I'll update the wiki later today. Andrew: thanks again for finding the information and pointing it out. Note for people using ubuntu or other debian-derived linux distributions: The "make installcheck" step will fail due to a problem with the debian postgresql package: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554166 This means you can't test the installation using postgresql's testing infrastructure on debian-based platforms. Best Regards, -greg ------------------------------------------------------------------------------ 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