Re: PostGIS spatial extensions

From: Paul Ramsey <pramsey(at)refractions(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostGIS spatial extensions
Date: 2001-08-15 17:13:55
Message-ID: 3B7AADD3.CC5CD796@refractions.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut wrote:

> The 7.1 RPMs should contain the server side headers somewhere. Earlier
> versions only included a not very well defined subset of them.

Indeed they do (nice!), which brings me to a different question:

1 - I download the tarball
2 - ./configure ; make ; make install
3 - Delete the source tree

I now have a complete working pgsql installation, with all the libs to
run the server, and all the headers to build custom clients, but *not*
enough headers to build server extensions, because postgres.h is
missing. However, if I have an RPM-based installation, I *will* have
the server headers I need. Why do we discriminate against people who
compile from the tarball?

> This is a matter taste, or of the file system standard of the system you
> use. If you use autoconf and thus the GNU layout for your source package
> then the default is going to end up something like
>
> /usr/local/lib/postgis/postgis.so
> /usr/local/share/postgis/install-postgis.sql
>
> For binary distributions you'd fiddly with the configure --xxxdir flags a
> little.
>
> Maybe you had in mind some sort of standard layout under a standard
> directory, such as /usr/lib/postgresql/site-stuff (cf. perl), but this
> sort of a arrangement is a major pain. For instance, it won't allow
> non-root installs.

I am tempted to start moving the postgis release to a completely
independant package (not living in contrib by default), with its own
configure script, etc etc, but until the availability of postgres.h is
resolved that might be ill-advised.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-15 17:53:09 Re: [PATCHES] Re: PostGIS spatial extensions
Previous Message Mikhail Terekhov 2001-08-15 16:58:14 Re: WIN32 errno patch

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-15 17:53:09 Re: [PATCHES] Re: PostGIS spatial extensions
Previous Message Mikhail Terekhov 2001-08-15 16:58:14 Re: WIN32 errno patch