<div>Thanx guys for your replies!  ill be trying to use the windows pre-compiled version in</div>  <div>a while.  Well the main reason I tried the CYGWIN path with compiling is I thought</div>  <div>that it would offer more customization just in case I needed to change something or</div>  <div>look at the code made.  Another is I am not sure if the windows precompiled version</div>  <div>comes with GEOS and PROJ4.  Would you guys know?  Although now I do think ill go for the pre-compiled version just to get POSTGIS to work :D.  Thanks for everything.  ill just post again if I run into any problems with the pre-compiled </div>  <div>version. <BR><BR><B><I>Craig Miller <craig.miller@spatialminds.com></I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.5730.11" name=GENERATOR>  <DIV dir=ltr align=left><SPAN
 class=176484715-11122006><FONT face=Arial color=#0000ff size=2>Why don't you use the native Windows pre-compiled version instead?  There are valid reasons to use cygwin (instructor says you need to, similar linux/windows dev environments for class, gcc compiler, etc), I just want to make sure you aren't making it more difficult than you need to.</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=176484715-11122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>  <DIV dir=ltr align=left><SPAN class=176484715-11122006><FONT face=Arial color=#0000ff size=2>--Craig</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=176484715-11122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><BR>  <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>  <HR tabIndex=-1>  <FONT face=Tahoma size=2><B>From:</B>
 postgis-users-bounces@postgis.refractions.net [mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of </B>nom<BR><B>Sent:</B> Monday, December 11, 2006 2:05 AM<BR><B>To:</B> postgis-users@postgis.refractions.net<BR><B>Subject:</B> [postgis-users] Help with PostGIS Installation<BR></FONT><BR></DIV>  <DIV></DIV>  <DIV>Hi everyone!</DIV>  <DIV> </DIV>  <DIV>I am currently working on a project for school that requires the use of PostGIS and</DIV>  <DIV>so I quickly went to the various websites to find out the requirements.  I am currently</DIV>  <DIV>stuck in installation of PostGIS.  So far, this is my progress:</DIV>  <DIV> </DIV>  <DIV>Installed Cygwin and development tools like gcc, readline etc.</DIV>  <DIV>Installed Proj4.4.6</DIV>  <DIV>Installed Geos-2.2.3</DIV>  <DIV>Installed Postgresql-8.2.0 using the source tree (./configure, make, make check, make install, although there was a problem with make check)</DIV> 
 <DIV> </DIV>  <DIV>After setting these up I followed the instructions on PostGIS.pdf.</DIV>  <DIV> </DIV>  <DIV>I placed the unzipped folder of PostGIS-1.1.6 (Also tried 1.2.0 but same problem)</DIV>  <DIV>under :</DIV>  <DIV> </DIV>  <DIV>C:\cygwin\home\Mon\postgresql-8.2.0\contrib</DIV>  <DIV> </DIV>  <DIV>I also changed the Makefile.config to for Proj4 and GEOS:</DIV>  <DIV> </DIV><FONT size=2>  <DIV>USE_PROJ=1</DIV>  <DIV>PROJ_DIR=/usr/local</DIV>  <DIV><A href="mailto:PROJ_LIBDIR=@PROJ_LIBDIR">PROJ_LIBDIR=@PROJ_LIBDIR</A>@</DIV>  <DIV> </DIV><FONT size=2>  <DIV>USE_GEOS=1</DIV>  <DIV>GEOS_DIR=/usr/local</DIV>  <DIV>GEOS_LDFLAGS=@GEOS_LDFLAGS@</DIV>  <DIV># EXPERIMENTAL! use geos C-API (only available with GEOS-2.2.x and up)</DIV>  <DIV><A href="mailto:USE_GEOS_CAPI=@USE_GEOS_CAPI">USE_GEOS_CAPI=@USE_GEOS_CAPI</A>@</DIV>  <DIV> </DIV>  <DIV>Im not sure if the directory paths are correct.....</DIV>  <DIV> </DIV>  <DIV>Anyway
 I go to postgresql-8.2.0/contrib/postgis-1.1.6 in CYGWIN and type:</DIV>  <DIV> </DIV>  <DIV>./configure --with-pgsql=/usr/local/pgsql/bin/pg_config</DIV>  <DIV> </DIV>  <DIV>The build seems fine at first but eventually I encounter an error:</DIV>  <DIV> </DIV>  <DIV>ed reference to `__imp__SPI_processed'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:138: undefin<BR>ed reference to `_SPI_exec'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:140: undefin<BR>ed reference to `_elog_start'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:140: undefin<BR>ed reference to `_elog_finish'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:142: undefin<BR>ed reference to `__imp__SPI_processed'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:158: undefin<BR>ed reference to
 `_elog_start'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:158: undefin<BR>ed reference to `_elog_finish'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:163: undefin<BR>ed reference to `_SPI_finish'<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:147: undefin<BR>ed reference to `_SPI_finish'<BR>long_xact.o: In function `getTransactionID':<BR>/home/Mon/postgresql-8.2.0/contrib/postgis-1.1.6/lwgeom/long_xact.c:172: undefin<BR>ed reference to `_GetCurrentTransactionId'<BR>collect2: ld returned 1 exit status<BR>/usr/bin/dllwrap: /usr/bin/gcc exited with status 1<BR>make[1]: *** [lwgeom.so] Error 1<BR>make[1]: Leaving directory `/home/Mon/postgis-1.1.6/lwgeom'<BR>make: *** [liblwgeom] Error 2</DIV>  <DIV> </DIV>  <DIV>I encounter this with PostGIS versions 1.2.0 and 1.1.6. </DIV>  <DIV> </DIV>  <DIV>Would anyone know why this problem is occuring?  I am currently stuck here and</DIV> 
 <DIV>I don't know how to proceed.  I would really appreciate help with this problem if</DIV>  <DIV>anyone has encountered it and has solved it.  I would also appreciate the validation of the paths I used for GEOS and PROJ4.  Thank you for your cooperation and</DIV>  <DIV>time in reading this :D</DIV>  <DIV> </DIV>  <DIV>Mon</DIV>  <DIV> </DIV></FONT></FONT>  <div>  <HR SIZE=1>  Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the <A href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><B>All-new Yahoo! Mail </B></A></BLOCKQUOTE>_______________________________________________<BR>postgis-users mailing list<BR>postgis-users@postgis.refractions.net<BR>http://postgis.refractions.net/mailman/listinfo/postgis-users<BR></BLOCKQUOTE><BR><p>
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All new Yahoo! Mail - </b></a>
<hr size=1>Get a sneak peak at messages with a handy reading pane.