[postgis-devel] [PostGIS] #1644: Cannot build on Debian Wheezy

PostGIS trac at osgeo.org
Thu Mar 1 21:38:50 PST 2012


#1644: Cannot build on Debian Wheezy
-----------------------------------------+----------------------------------
 Reporter:  darkblueb                    |       Owner:  pramsey      
     Type:  defect                       |      Status:  new          
 Priority:  medium                       |   Milestone:  PostGIS 2.0.0
Component:  postgis                      |     Version:  1.5.X        
 Keywords:  build make loader shp2pgsql  |  
-----------------------------------------+----------------------------------
 Fails when building shp2pgsql


 Background:
 I had a wheezy system setup in a VM, and had been using it for a number of
 months to test with.. but sometime recently the build no longer
 completed.. So thinking it might be something on my side, I built a new VM
 with the latest and greatest Debian, and Pg 9.1 from package.. Same
 error...

 ...
 ---- Making all in loader
 make[1]: Entering directory
 `/home/shared/srcs_wheezy/postgis_trunk/loader'
 /bin/bash ../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-
 prototypes    shpopen.o dbfopen.o getopt.o shp2pgsql-core.o shpcommon.o
 shp2pgsql-cli.o safileio.o ../liblwgeom/liblwgeom.la -o shp2pgsql  -lc
 libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes shpopen.o
 dbfopen.o getopt.o shp2pgsql-core.o shpcommon.o shp2pgsql-cli.o safileio.o
 -o .libs/shp2pgsql  ../liblwgeom/.libs/liblwgeom.so -lc
 ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_yylex'
 ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_lexer_init'
 ../liblwgeom/.libs/liblwgeom.so: undefined reference to `wkt_lexer_close'
 collect2: ld returned 1 exit status
 make[1]: *** [shp2pgsql] Error 1
 make[1]: Leaving directory `/home/shared/srcs_wheezy/postgis_trunk/loader'
 make: *** [all] Error 1
 -----------------------------------------------------------------


 Configure output:
 --------------
   PostGIS is now configured for i686-pc-linux-gnu

  -------------- Compiler Info -------------
   C compiler:           gcc -g -O2
   C++ compiler:         g++ -g -O2

  -------------- Dependencies --------------
   GEOS config:          /usr/local/bin/geos-config
   GEOS version:         3.3.2
   PostgreSQL config:    /usr/bin/pg_config
   PostgreSQL version:   PostgreSQL 9.1.2
   PROJ4 version:        47
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.7.8
   JSON-C support:       yes
   PostGIS debug level:  0
   Perl:                 /usr/bin/perl

  --------------- Extensions ---------------
   PostGIS Raster:       disabled
   PostGIS Topology:     enabled

  -------- Documentation Generation --------
 ...

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1644>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list