[postgis-users] Re: ver 1.1.5 configure fails on Ubuntu

Steven Johnson sejohnson8 at gmail.com
Thu Nov 9 18:23:20 PST 2006


strk,
Thanks for your response to my ./configure woes. I tried your suggestion and
these are the results:
test !-f "/usr/bin/geos-config" yields
test flex --version "/usr/bin/geos-config"
bash: test: --version: binary operator expected

But if I locate geos-config it turns up in /usr/bin/

So, if I ./configure once again, I get to the "checking for geos-config"
section and I get
.
.
.
checking for geos-config... /usr/bin/geos-config
Usage: geos-config [OPTIONS]
Options:
     [--prefix]
     [--version]
     [--libs]
     [--cflags]
     [--includes]
     [--jtsport]

Is it looking for /usr/lib/libgeos.so.2.1.4? Or...?

Thanks again,
Steven

_________________________________
Date: Tue, 7 Nov 2006 09:39:44 +0100
From: strk at refractions.net
Subject: Re: [postgis-users] ver 1.1.5 configure fails on Ubuntu
To: postgis-users at postgis.refractions.net
Message-ID: <20061107083944.GB4287 at keybit.net>
Content-Type: text/plain; charset=us-ascii

On Mon, Nov 06, 2006 at 10:10:06PM -0500, Steven Johnson wrote:
> My ./configure fails on Ubuntu Dapper (6.06) saying 'invalid argument' on
> 'with-geos' option. I've checked and re-checked the command line to insure
I
> have the correct arguments (--with-geos=/usr/bin/geos-config). Any
> suggestions on how to resolve?

Look at configure.in:

                       if test ! -f "$with_geos"; then
       AC_MSG_ERROR([Invalid argument to --with-geos]);
                       else

Does the command:

       test ! -f "/usr/bin/geos-config"

return a failure or success on your system ?

--strk;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061109/905b21a8/attachment.html>


More information about the postgis-users mailing list