[postgis-users] Compile CVS in MinGW

Mike Leahy mgleahy at fes.uwaterloo.ca
Thu Apr 21 11:37:43 PDT 2005


List,

I just compiled 1.0.0 in MinGW using Jean David's instructions...and it
wend without a hitch.

However, the same cannot be said for the CVS - I actually tried the CVS
first, but when I tried to configure it, it was unable to detect the
PostgreSQL source.

The following command from the PostGIS cvs source:

configure --enable-autoconf --with-geos=/c/PostgreSQL/8.0.2/bin/geos-config \
--with-proj=/c/PostgreSQL/8.0.2 \
--with-pgsql-src=/home/$USERNAME/sources/PostgreSQL/postgresql-8.0.2 --prefix=/c/PostgreSQL/8.0.2


returns:

checking for gcc...gcc
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for pg_config... no
configure: error: PostgreSQL is required by PostGIS



Any guesses as to what's going on?  Should I just avoid the CVS for now?

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050421/fbda053d/attachment.html>


More information about the postgis-users mailing list