[postgis-devel] RE: pgxs

alex bodnaru alexbodn at 012.net.il
Wed Apr 27 15:03:38 PDT 2005


hi friends,

the making system i was talking about was good for pgsql 7.2, 7.4, 8.0
at least.

the more general pgxs aproach may be used as a model, but it should be
necessary, to my opinion, just for makefile.shlib, because the variables
in makefile.global are easy to determin from pg_config.

regards,

alex

On Wed, 2005-04-27 at 17:20 +0100, Mark Cave-Ayland wrote:
> > -----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
> 
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list