[postgis-devel] Adding postgis-config to PostGIS 1.1.2
strk at refractions.net
strk at refractions.net
Wed Mar 29 00:59:49 PST 2006
I think using SQL gives less chances of being confusing.
PostGIS *is* a database extension, so all info are related
to the specific database, not to a "primary" installation itself.
What use did you have in mind for your proposed command ?
--strk;
On Wed, Mar 29, 2006 at 01:16:18AM +0200, TECHER David wrote:
> Hi PostGISers,
>
> Happy to send a mail to my favorite mailing-list ;)
>
> I know that my idea is not new but I ask myself, if it could be (before
> writing anything...)
>
> Why not using a postgis-config like (geos-config does) for debugging and
> maintenance!
>
> I know, i know that for each info I need (example postgis_full_version)
> there is a query and a function
> (thanks Sandro for the work U do ;) )
>
> But I think that there is a helpfull info which is very interesting is
> the information returns at the end of
> a 'configure':
>
> cd postgis-1.1.1
> ./configure
> .....
> ....
> ....
>
> SUMMARY
> -------------------------------------------------------
>
> HOST_OS: linux-gnu
>
> PGSQL: /usr/local/pgsql/bin/pg_config
> GEOS: /usr/local/bin/geos-config (with C-API)
> PROJ: dir=/usr/local
> ICONV: 1
>
> PORTNAME: linux
> PREFIX: /usr/local/pgsql
> EPREFIX: ${prefix}
> DOC: /usr/local/pgsql/doc/contrib
> DATA: /usr/local/pgsql/share/contrib
> MAN: /usr/local/pgsql/man
> BIN: /usr/local/pgsql/bin
> EXT: /usr/local/pgsql/lib (\$$libdir)
> -------------------------------------------------------
>
> I think there are interesting information (above) on these summary that
> should be helpfull to have on
> command like a 'postgis-config' with options for debugging...
>
> For example, on a Debian (or other ..) PGLIB, PGHOME are not the same
> directory! (/usr/local/pgsql and /var/lib/postgresql,
> or
>
> So why not writting a command that can do
>
> postgis-config --help
>
> Options available:
>
> --version PostGIS version
> --configure give you the command line
> use by configure to build postgis here,
> --configure-summary ( like above)
> --prefix you guess, i think
> --with-geos 0 is PostGIS was compiled
> with Geos or else 0
> --with-proj (same idea...)
> --help prints these help then exit
>
> Others options?
>
> If U think it could be usefull, please let me know?
>
> But that's only an idea?
>
> --david;
>
>
>
>
>
> ___________________________________________________________________________
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
> Téléchargez sur http://fr.messenger.yahoo.com
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
--
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
More information about the postgis-devel
mailing list