[postgis-devel] Death to PGXS

Bborie Park dustymugs at gmail.com
Thu Dec 4 16:29:30 PST 2014


+1 here. Whatever brings us less headaches, +Infinity.

On Thu, Dec 4, 2014 at 1:50 PM, Stephen Woodbridge <woodbri at swoodbridge.com>
wrote:

> Very timely! as I'm sitting here banging my head on my desk trying to use
> PGXS to build a VRP extension.
>
> -Steve
>
>
> On 12/4/2014 4:20 PM, Paul Ramsey wrote:
>
>> I’m somewhat at a loss as to what PGXS is buying us anymore. We can get
>> all the proper install locations and paths and so on directly from
>> pg_config. Using PGXS means we inherit from the PostgreSQL build
>> sometimes complete annoying build stuff, like flags we don’t want (or
>> lack of flags we *do* want, like say debugging or profiling flags).
>>
>> More terribly, I found a postgresql93 package on freebsd that was
>> compiled in an environment apparently without perl, so PGXS defines
>> $(PERL) as "/bin/sh
>> /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/missing”,
>> which doesn’t really help our build at all.
>>
>> Similarly, and also terribly, I found the postgresql package on Solaris
>> from OpenCSW is built with $(CC) defined as "/opt/solarisstudion/bin/cc”
>> or somesuch, suffice to say it was a compiler I did not have ready
>> access to without going through a big manual register, donate kidney,
>> install process.
>>
>> Why can’t we drop PGXS and start controlling our own build/install
>> destiny again? As long as we listen carefully to what pg_config is
>> telling us, it should all work fine, no?
>>
>> P.
>>
>>
>> --
>> Paul Ramsey
>> http://cleverelephant.ca
>> http://postgis.net
>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>
>>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20141204/1fe61b66/attachment.html>


More information about the postgis-devel mailing list