[postgis-users] Compile CVS in MinGW

Jean David TECHER davidtecher at yahoo.fr
Thu Apr 21 11:57:49 PDT 2005


I have problem too with cvs :-(

can' t find pwd.h, netdb.h inet.h.... in C:\postgreSQL \8.0.2\include\postgresql
---------------------------------------------------------------
TECHER Jean David
01MAP
e-mail: david at 01map.net
Tél: 04 67 45 60 27
Entreprise: http://www.01map.net
Perso: http://techer.pascal.free.fr/postgis/
---------------------------------------------------------------
  ----- Original Message ----- 
  From: Mike Leahy 
  To: PostGIS Users Discussion 
  Sent: Thursday, April 21, 2005 8:37 PM
  Subject: [postgis-users] Compile CVS in MinGW


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

------------------------------------------------------------------------------


  _______________________________________________
  postgis-users mailing list
  postgis-users at postgis.refractions.net
  http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050421/31717327/attachment.html>


More information about the postgis-users mailing list