Re: Error during make when installing geos for postgis install...still trying - Mailing list pgsql-general

From Tom Lane
Subject Re: Error during make when installing geos for postgis install...still trying
Date
Msg-id 2142.1262366921@sss.pgh.pa.us
Whole thread Raw
In response to Error during make when installing geos for postgis install...still trying  (Nick <nick.uebelhor@noaa.gov>)
List pgsql-general
Nick <nick.uebelhor@noaa.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@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

pgsql-general by date:

Previous
From: Rilindo Foster
Date:
Subject: Re: please help
Next
From: Chris McDonald
Date:
Subject: Re: Query very slow when in plpgsql function