<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to build PostGIS 1.0.0 on PostGres
8.0.2, using Windows and MingW.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've used the instructions from TECHER Jean David
and no errors has occured until I try to run 'Make' on
'/home/src/postgres-8.0.2/contrib', after setting USE_PROJ and USE_GEOS to 1,
PROJ_DIR = 1 and GEOS_DIR = 1 int the Makefile.Config.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've got the following after the make
command:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:Administrador@HP6">Administrador@HP6</A><FONT color=#0000ff>
/home/src/postgresql-8.0.2/contrib/postgis-1.0.0<BR>$ make<BR>make -C
lwgeom<BR>make[1]: Entering directory
`/home/src/postgresql-8.0</FONT></FONT><FONT face=Arial size=2><FONT
color=#0000ff>.2/contrib/postgis-1.0.0/lwgeom'<BR>sh ../geos_version.sh
/c/postgres-8.0.2 > postgis_geos_version.h<BR>dlltool --export-all
--output-def lwgeom.def measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o
lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
lwgeom_geos_wrapper.o wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o
vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o
lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o
lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o
stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o
lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o<BR>dllwrap -o
liblwgeom.dll --dllname liblwgeom.dll --def lwgeom.def measures.o box2d.o
ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o
lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o wktunparse.o lwgparse.o
wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o
lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos.o
lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o
lwgeom_btree.o lwgeom_transform.o stringBuffer.o lwgeom_box.o lwgeom_box3d.o
lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o
lwgeom_dump.o -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port
-L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port -lstdc++
-L/c/postgres-8.0.2/lib -lgeos -L/c/postgres-8.0.2/lib -lproj
-L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/backend
-lpostgres <BR><FONT
color=#ff0000>c:\MingW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lpostgres<BR>c:\MingW\bin\dllwrap.exe: c:\MingW\bin\gcc exited with
status 1</FONT><BR>make[1]: *** [liblwgeom.dll] Error 1<BR>make[1]: Leaving
directory `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'<BR>make: ***
[liblwgeom] Error 2<BR></DIV></FONT></FONT>
<DIV><FONT face=Arial size=2><FONT color=#0000ff><FONT color=#000000>Could
someone help me?</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#0000ff><FONT
color=#000000></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#0000ff><FONT color=#000000>Thanks in
advance.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#0000ff><FONT
color=#000000></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#0000ff><FONT color=#000000>Adão
Paulino.</FONT></DIV></FONT></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>