[postgis-devel] [PostGIS] #1741: Build error --with-gui, gtk problem?
PostGIS
trac at osgeo.org
Fri Mar 30 05:50:25 PDT 2012
#1741: Build error --with-gui, gtk problem?
-----------------------------------------+----------------------------------
Reporter: havatv | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: build/upgrade/install | Version: 2.0.x
Keywords: gtk, link, gui, build, make |
-----------------------------------------+----------------------------------
I am on Debian Lenny, trying to build 2.0.0rc1.
Building goes fine without {{{--with-gui}}}, but I get errors when using
{{{--with-gui}}}.
Here is my configure (apparantly no complaints from configure):
{{{
./configure --with-raster --with-topology --with-gui --with-
pgconfig=/usr/local/pgsql/91/bin/pg_config --with-
geosconfig=/usr/local/bin/geos-config
}}}
Output that seems relevant for GUI:
{{{
GUI: Build requested, checking for dependencies (GKT+2.0)
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.8.0... yes (version 2.12.12)
}}}
When running make, error message is:
{{{
libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes shpopen.o
dbfopen.o getopt.o shpcommon.o safileio.o shp2pgsql-core.o shp2pgsql-gui.o
pgsql2shp-core.o -o .libs/shp2pgsql-gui ../liblwgeom/.libs/liblwgeom.so
-L/usr/local/lib
/usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so
/usr/local/lib/libproj.so /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/local/lib/libiconv.so -L/usr/local/pgsql/91/lib -lpq
shp2pgsql-gui.o: In function `pgui_create_progress_dialog':
/home/havatv/src/postgis/postgis-2.0.0rc1/loader/shp2pgsql-gui.c:2614:
undefined reference to `gtk_dialog_get_content_area'
shp2pgsql-gui.o: In function `pgui_create_tablechooser_dialog':
/home/havatv/src/postgis/postgis-2.0.0rc1/loader/shp2pgsql-gui.c:2789:
undefined reference to `gtk_dialog_get_content_area'
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql-gui] Error 1
make[1]: Leaving directory
`/home/havatv/src/postgis/postgis-2.0.0rc1/loader'
make: *** [all] Error 1
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1741>
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