[geos-devel] Re: Problems with installation of geos on RedHat 9
(third try, i hope this is text)
strk at refractions.net
strk at refractions.net
Thu May 18 03:18:46 EDT 2006
On Thu, May 18, 2006 at 09:12:30AM +0200, Johan V wrote:
> Thx, In postgis_geos_version.h stood that version 1.0 was needed. I
> now tried it with a rpm package of the geos 1.0 version, and i didn't
> get any error. But now I'll have to post on the postgis mailing list
> cause now i get error for their product :-)
Don't worry, it's still us :)
The postgis_geos_version.h file is automatically generated
looking at version of installed geos. In case you have more
then one geos installed the ./configure --with-geos flag
can be used to specify which one to use.
Since the ./configure output you showed contains a GEOS =
line, you should check the geos_version.sh script, which
seems to be failing. The script goes:
version=`${geos_dir}/bin/geos-config --version`
if [ "$version" = "@GEOS_VERSION@" ]; then
geos_version=100
else
...
fi
so, in your case it seems that the first line
somehow failed. You could inspect what went wrong
by running:
sh -x geos_version.sh <geosdir>
Feel free to send output here.
--strk;
>
> grz
> Johan
>
> 2006/5/17, strk at refractions.net <strk at refractions.net>:
> >Something is wrong with postgis configuration.
> >1.1.2 should not try to build lwgeom_geos_wrapper.o
> >when building against geos-3.0.0.
> >See what's in postgis_geos_version.h
> >
> >On Wed, May 17, 2006 at 03:21:30PM +0200, Johan V wrote:
> >> I'm running a Postgresql "8.0.6-1PGDG" database on Redhat 9 and I'm
> >> trying to install geos (from cvs 3.0.0) for use with Postgis &
> >> Postgresql. After the configure (see below) I do a make and this is
> >> the output (see after the configure part):
> >
> >...
> >
> >> lwgeom_geos_wrapper.o lwgeom_geos_wrapper.cpp
> >> lwgeom_geos_wrapper.cpp:11:23: fout: geos/geom.h: Onbekend bestand of map
> >
> >--strk;
> >_______________________________________________
> >geos-devel mailing list
> >geos-devel at geos.refractions.net
> >http://geos.refractions.net/mailman/listinfo/geos-devel
> >
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-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 geos-devel
mailing list