Re: Error during make when installing geos for postgis install...still trying

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nick <nick(dot)uebelhor(at)noaa(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error during make when installing geos for postgis install...still trying
Date: 2010-01-01 17:28:41
Message-ID: 2142.1262366921@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nick <nick(dot)uebelhor(at)noaa(dot)gov> writes:
> Still having problems installing the geos file when trying to install
> postgis...have a printout of errors we are still getting

> checking for geos-config... no
> configure: error: could not find geos-config within the current path.
> You may need to try re-running configure with a --with-geosconfig
> parameter.

It's telling you exactly what the problem is and what to do about it.

> [root(at)zoa-project postgis-1.4.1]# find / | egrep -i geos-config
> /usr/local/geos-3.2.0/tools/geos-config.in
> /usr/local/geos-3.2.0/tools/geos-config

What you'd probably need here is
--with-geosconfig=/usr/local/geos-3.2.0/tools
or else persuade geos to install itself in a more standard place.

But I concur with the suggestions to install RPMs built by someone else,
instead. In a Red Hat system it's just a lot easier to manage software
that's packaged that way than to deal with "loose" software. If you
really feel a need to do it yourself, why don't you download Devrim's
SRPMs and build RPMs from those? You could study the spec files to see
what you missed while trying to do it by hand.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message benoît carpentier 2010-01-01 20:30:09 Benetl, a free ETL tool for files using postgreSQL, is out in version 3.3
Previous Message Rilindo Foster 2010-01-01 17:08:31 Re: please help