[postgis-devel] RE: pgxs

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Wed Apr 27 09:20:24 PDT 2005


> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net 
> [mailto:postgis-devel-bounces at postgis.refractions.net] On 
> Behalf Of strk at refractions.net
> Sent: 27 April 2005 16:51
> To: 'PostGIS Development Discussion'
> Subject: Re: [postgis-devel] RE: pgxs
> 
> 
> Mark, your Makefile.pgxs was done in 0.9 branch times.
> It looks like it was intended to be a single Makefile to
> use when choosing pgxs mode. This can still be a good
> layout, but things got complicated lately.
> 
> We now have a top Makefile.config and Version.in which
> is included by about all subdirs.
> 
> Moreover, the pgxs does not tell anything about manual
> pages and the like, and IMO does not give enough space
> for module's data (talks about "random module data",
> which would be dropped all in a single dir).
> 
> Are we sure we want to jump aboard ?
> I'm not even sure we want to "mimic" this behaviour...
> 
> PostGIS might be grown enough for this.
> 
> --strk;


Hi strk,

My hope was that we could use the pgxs framework to get access to the
compiler and/or linker flags for all the different build platforms so we
don't have to maintain a large variety of platforms in parallel with the
PGDG. I agree with you that using the prebuilt symbols would be too
restrictive for PostGIS because of the path issues - I seem to remember
doing some horrible things when trying to work further with it... ;)

Alex sent an email earlier about his make system which uses Makefile.global
and Makefile.shlib - these are include as part of pgxs in the
/lib/postgresql/pgxs/src directory. So if we could pick up the location of
these files from 'pg_config --pgxs' and combine this with Alex's approach
then we would have a reliable build system that would support both source
tree and non-source tree builds for PG >= 8.0 without putting the burdern of
maintaining platform differences upon the project.


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT 

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk





More information about the postgis-devel mailing list