Re: development setup and libdir - Mailing list pgsql-hackers

From Mark Cave-Ayland
Subject Re: development setup and libdir
Date
Msg-id 4B660328.9000003@siriusit.co.uk
Whole thread Raw
In response to Re: development setup and libdir  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: development setup and libdir  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-hackers
Ivan Sergio Borgonovo wrote:

> Of course I can write a script that can workaround this.
> It seems that the only thing missing is that pgxs 8.3 used to
> prefix .so with lib and then rename them at install time, but pgxs
> 8.4 build them directly without prefix.
> I'm just speculating this is the issue and it is the only one I
> still have to solve... but... what's going to happen next release?
> Wouldn't it be better if make install could install stuff where I
> ask so I could put modules in different places *even* for the same
> installation of postgres?

FWIW the soon-to-be-released PostGIS 1.5 has an "out of place" 
regression testing feature that allows PostGIS to be built using PGXS 
and regression tested without putting anything in the PostgreSQL 
installation directory itself.

It's a little bit of a hack, but take a look at the PGXS makefile and 
the regression makefile to see how it all works:

http://trac.osgeo.org/postgis/browser/trunk/postgis/Makefile.in
http://trac.osgeo.org/postgis/browser/trunk/regress/Makefile.in


HTH,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Augment WAL records for btree delete with GetOldestXmin() to
Next
From: Robert Haas
Date:
Subject: Re: Eliminating VACUUM FULL WAS: remove flatfiles.c