[postgis-devel] loader/Makefile is broken in 1.4rc1

Devrim GÜNDÜZ devrim at gunduz.org
Sun Jul 5 14:28:26 PDT 2009


Hi Mark,

On Sun, 2009-07-05 at 12:57 +0100, Mark Cave-Ayland wrote:
> > Why was it changed? Why do I have to install PostGIS under PostgreSQL
> > directory? I believe RPM/deb/whatever users will want to stick with FHS.

> There are two reasons for going with PGXS: firstly, different
> distributions have different directory structures for storing their
> files; so tying everything into PostgreSQL means once PostgreSQL works,
> everything else just works. Secondly, any changes in the PostgreSQL
> Makefiles are automatically picked up via PGXS which saves us having to
> maintain the whole set of randomly-hacked PostgreSQL Makefiles ourselves
> (including supporting new platforms as and when they occur).

I see, thanks.

> Now the issue here is that PGXS doesn't handle building front-end 
> executables, and various experiments I tried to make this work failed 
> miserably and so a non-PGXS version was devised. However, as you quite 
> rightly point out, we need to know DESTDIR just in case we are building 
> out of the tree...
> 
> So please can you try the attached patch? 

It worked. Package is built cleanly.

Thanks for the quick response.

Regards,
-- 
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com 
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgis-loader-makefile.patch
Type: text/x-patch
Size: 1496 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090706/f9bcd863/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090706/f9bcd863/attachment.sig>


More information about the postgis-devel mailing list