<html><div style='background-color:'><DIV></DIV>
<P class=MsoNormal><SPAN lang=EN-US>List,</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I am new to unix/postgis. I am experienceing W2K platform.</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I have followed the instruction of "The NON-UNIX User¡¯s Guide to Installing PostGIS on Windows" on <A href="http://postgis.refractions.net/windows/WindowsHowTo.html">http://postgis.refractions.net/windows/WindowsHowTo.html</A>.</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Recently I have download cygwin with postgresql-7.3.2-1, both binary and source. </SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I finished the following steps successfully until make postgist0-0.7.5.</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>After I copied the postgis-0.7.5 to /usr/src/postgresql-7.3.2-1/contrib/, I did so:</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>$ <I style="mso-bidi-font-style: normal">gunzip postgis-0.7.5.tar.gz</I></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>$ <I style="mso-bidi-font-style: normal">tar xvf postgis-0.7.5.tar</I></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>then I changed the directories to /usr/src/postgresql-7.3.2-1/, where I did</SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>$ <I style="mso-bidi-font-style: normal">./configure --enable-multibyte --with-CXX --prefix=/usr --sysconfdir=/etc --docdir=/usr/doc/postgresql-7.3.2-1</I></SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>$ <I style="mso-bidi-font-style: normal">make</I></SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>the making result is:</SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>All of PostgreSQL successfully made. Ready to install.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>Then I return to /usr/src/postgresql-7.3.2-1/contrib/postgist0-0.7.5/, where I did</SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>$<I style="mso-bidi-font-style: normal"> make</I></SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US>Here, I met troubles. The result show as the following:</SPAN><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_ops.o postgis_ops.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_fn.o postgis_fn.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_inout.o postgis_inout.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_proj.o postgis_proj.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_chip.o postgis_chip.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_transform.o postgis_transform.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_gist_72.o postgis_gist_72.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations<SPAN style="mso-spacerun: yes"> </SPAN>-g -</SPAN></I><st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>I.</SPAN></I></st1:place><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US> -I../../src/include<SPAN style="mso-spacerun: yes"> </SPAN>-DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73<SPAN style="mso-spacerun: yes"> </SPAN>-c -o postgis_estimate.o postgis_estimate.c<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o ../../src/utils/dllinit.o -L/usr/local/lib -L/usr/local/lib -L../../src/backend -lpostgres <o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US><o:p> </o:p></SPAN></I><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>postgis_transform.c: In function `transform_geom':<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>postgis_transform.c:437: warning: control reaches end of non-void function<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>nmth000000.o(.idata$4+0x0): undefined reference to `__nm__cpu_index_tuple_cost'<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>Info: resolving _cpu_index_tuple_cost by linking to __imp__cpu_index_tuple_cost (auto-import)<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>collect2: ld returned 1 exit status<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>dllwrap: gcc exited with status 1<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><I style="mso-bidi-font-style: normal"><SPAN lang=EN-US>make: *** [libpostgis.a] Error 1<o:p></o:p></SPAN></I></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US><o:p> </o:p></SPAN><SPAN lang=EN-US>I have spent days on making Postgis. Anybody can help?</SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US><o:p> </o:p></SPAN><SPAN lang=EN-US>Best Regards</SPAN></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US><o:p> </o:p></SPAN><st1:City><st1:place><SPAN lang=EN-US>pierre</SPAN></st1:place></st1:City></P>
<P align=left class=MsoNormal style="TEXT-ALIGN: left"><SPAN lang=EN-US><o:p> </o:p></SPAN><SPAN lang=EN-US>pierrezhang@hotmail.com</SPAN></P><BR><BR><BR>
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMSEN/2743??PS=">ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*.</html>