[El] New Install - And Errors
Peter Hopfgartner
peter.hopfgartner at r3-gis.com
Fri Sep 24 03:45:39 EDT 2010
--------Bill Thoen <bthoen at gisnet.com> wrote--------
Subject: Re: [El] New Install - And Errors
Date: 23.09.2010 23:42
>Mathieu Baudier wrote:
>> Hi Bill,
>>
>>
>>> These are the switches I used when I built the original database:
>>> ./configure \
>>> --with-pgsql=/usr/local/pgsql/bin/pg_config \
>>> --with-geos=/usr/local/bin/geos-config \
>>> --with-proj=/usr/local/ \
>>> --with-proj-libdir=/usr/local/lib/
>>>
>>
>> The postgis spec file is here:
>>
>https://projects.argeo.org/elgis/svn/factory/trunk/rpmbuild/elgis/postgis/SPECS/postgis.spec
>>
>> The configure is at the line 78 and it doesn't indeed have many
>options:
>> %configure --with-gui
>>
In this case, I think that something like gtk+-devel should be in the "BuildRequires".
Short poll: is there any interest in building the GUI, which, if I'm right is the GUI for shp2pgsql, which is the shapefile loader of PostGIS. Should this be a separate package? Many people use PostgreSQL/PostGIS on servers without X, which would not be possible if we include Gtk+ as a dependency.
>> But my understanding is that the configure automatically finds its
>> dependencies (geos, proj, postgres) which are installed at standard
>> locations via RPMs (otherwise the build would not go very far I guess)
>>
>PostGS would be pretty useless without PG and GEOS, and PG needs PROJ,
>so it would make sense that these would be included as the default
>setting. But the docs don't say. So I explicitly set them just to be on
>the safe side. But I think you're right; PostGIS must be able to find
>these packages, because if the RPM doesn't specify them, I'm sure you
>would have by now if it couldn't find PG. So I think we're OK on that.
When running rpmbuild, something like
-------------- Dependencies --------------
GEOS config: /usr/bin/geos-config
GEOS version: 3.2.2
PostgreSQL config: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 8.4.4
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.6.26
PostGIS debug level: 0
should appear on you terminal. rpmbuild should fail, if geos-devel or proj-devel are not already installed.
Peter
(...)
>
>If that doesn't work, then I'll be back.
>
>Thanks Matthew!
>
>--
>
>*Bill Thoen*
>GISnet - www.gisnet.com <http://www.gisnet.com/>
>1401 Walnut St., Suite C
>Boulder, CO 80302
>303-786-9961 tel
>303-443-4856 fax
>bthoen at gisnet.com
>
>
>
>_______________________________________________
>el mailing list
>el at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/el
>
More information about the el
mailing list