[postgis-users] configure error

Roland Forster roland.forster at knuut.de
Wed Oct 23 04:07:34 PDT 2002


the following i tried,
but doesn't work ...

1.
postgres at ROCKY /usr/src/postgresql-7.2.2-1
$ cd $POSTGRES_SOURCE

postgres at ROCKY ~
$ rm config.cache
rm: cannot remove `config.cache': No such file or directory

2.
postgres at ROCKY ~
$ cd /

postgres at ROCKY /
$ cd /usr/src/postgr*

postgres at ROCKY /usr/src/postgresql-7.2.2-1
$ rm config.cache

postgres at ROCKY /usr/src/postgresql-7.2.2-1
$ CC="gcc-2 -L/usr/local/lib" CXX="c++-2 -L/usr/local/lib"

postgres at ROCKY /usr/src/postgresql-7.2.2-1
$
./configure --enable-multibyte --with-python --with-perl --with-CXX --prefix
=
/usr --sysconfdir=/etc --docdir=/usr/doc/postgresql- --no-create --no-recur
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking which template to use... win
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... yes, default
SQL_ASCII
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=-O2
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.



----- Original Message -----
From: "Norman Vine" <nhv at cape.com>
To: <postgis-users at postgis.refractions.net>
Sent: Tuesday, October 22, 2002 11:56 PM
Subject: Re: [postgis-users] configure error


> Roland Forster writes:
>
> > >
> >
>
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-10/../../../../i686-pc-cygwin/bin/ld:
> > > cannot find -lcygipc
> > > but configure is failing because ld cannot find libcygipc.a
> > > does  /usr/local/lib/libcygipc.a exist ??
> >
> > Unfortunatly it is installed and does exist. I got the same error.
> > Do you have any idea?
> >
>
> Roland
>
> It appears as if there have been some subtle changes in Cygwin
> with the release of gcc-2 and gcc 3.0 that I don't completely understand
> yet
>
> but the good news is that I managed to build todays PostGIS source
> with the following
>
> % cd $POSTGRES_SOURCE
> % rm config.cache
> % CC="gcc-2 -L/usr/local/lib" CXX="c++-2 -L/usr/local/lib"
>
/configure  --enable-multibyte --with-python --with-perl --with-CXX --prefix
>
=/usr --sysconfdir=/etc --docdir=/usr/doc/postgresql- --no-create --no-recur
> sion
> % ./config.status
> % cd contrib/postgis-0.7.3
> % make
>
> please let us know if this works for you
>
> HTH
>
> Norman
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>





More information about the postgis-users mailing list