[GRASS-user] compilation problems with libiconv

Frank Broniewski liste at geo-dienstleistung.de
Tue Jan 16 02:41:57 EST 2007


Hello List

I am having some problems compiling grass 6.2.1. There seems to be some issue 
with iconv on my ubuntu 6.06 system.

My configure:
./configure --with-cxx --with-jpeg --with-tiff --with-png --with-tcltk --with-postgres --with-opengl --with-fftw --with-motif --with-freetype --with-readline --with-curses --with-gdal=/usr/local/bin/gdal-config --with-tcltk-includes=/usr/include/tcl8.3 --with-tcltk-libs=/usr/lib --with-postgres-includes=/usr/include/postgresql --with-postgres-libs=/usr/lib --with-freetype-includes=/usr/include/freetype2 --with-freetype-libs=/usr/lib --with-proj-includes=/usr/include/ --with-proj-libs=/usr/lib --with-proj-share=/usr/share/proj

configure says: 
checking for iconv.h... yes
checking for iconv... yes

so it seems to find something with iconv on my system. But when make finishes, 
I get a list of modules where errors occured:
Errors in:
/home/frank/download/grass/grass-6.2.1/display/drivers/PNG
/home/frank/download/grass/grass-6.2.1/display/drivers/XDRIVER
/home/frank/download/grass/grass-6.2.1/display/d.ask
/home/frank/download/grass/grass-6.2.1/display/d.barscale
/home/frank/download/grass/grass-6.2.1/display/d.colorlist
/home/frank/download/grass/grass-6.2.1/display/d.colors
... and so on.

changing into one of these directories and running make gives me an error 
similar to
/home/frank/download/grass/grass-6.2.1/dist.i686-pc-linux-gnu/lib/libgrass_driver.so: 
undefined reference to `libiconv'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** 
[/home/frank/download/grass/grass-6.2.1/dist.i686-pc-linux-gnu/etc/mon.list] 
Fehler 1
make[1]: Verlasse 
Verzeichnis '/home/frank/download/grass/grass-6.2.1/display/d.mon/pgms'

iconv is installed in /usr/local/bin, /usr/local/lib and /usr/local/include.

Does anybody have a idea what the issue might be? Looking into google and the 
newsgroups didn't bring anything useful for me so I considered writing this 
email.

I appreciate any help

Frank




More information about the grass-user mailing list