[postgis-users] Building cvs on cygwin

Heitzso heitzso at growthmodels.com
Fri Oct 17 14:42:23 PDT 2003


I tried a month or two ago to setup postgis/mapserver under cygwin
but gave up because the entire tool set I needed wasn't supported. 

However, your particular problem is doc'ed out on the net.
I don't recall the specifics, but you need to go into the source file
for that cpu_index_tuple_cost line and modify that one line. 
I apologize for not remembering the exact modification you need
to make, but a simple google should dig it out.



Tyler Mitchell wrote:

>
>
>I'm trying to build postgis on cygwin from postgres source 7.3.4-2 and the
>latest postgis and geos from cvs.
>Geos make installed fine but the errors I'm getting making postgis are
>beyond my cryptographic capabilities to understand :)
>
>----------
>$ make
>dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o
>post
>gis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
>postg
>is_gist_72.o postgis_estimate.o postgis_geos.o postgis_geos_wrapper.o
>dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def
>postgis_debug.o p
>ostgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
>postgis_
>transform.o postgis_gist_72.o postgis_estimate.o postgis_geos.o
>postgis_geos_wra
>pper.o ../../src/utils/dllinit.o -L/usr/local/lib -L/usr/local/lib
>-lstdc++ -L/
>usr/local/lib -lgeos -L/usr/local/lib -lproj -L../../src/backend -lpostgres
>fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'
>nmth000000.o(.idata$4+0x0): undefined reference to
>`__nm__cpu_index_tuple_cost'
>Info: resolving _cpu_index_tuple_cost by linking to
>__imp__cpu_index_tuple_cost
>(auto-import)
>collect2: ld returned 1 exit status
>dllwrap: gcc exited with status 1
>make: *** [libpostgis.a] Error 1
>
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>  
>





More information about the postgis-users mailing list