<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><p>
<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>