[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glib2.0.6 make problem


I want(ed) to install/compile glib2.0.6.

If i "configure" then following errors occur:
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or libiconv

Therefore I entered: ./configure LDFLAGS="-L /usr/local/lib" CPPFLAGS="-I /usr/local/include"
Then configure runs through but "make" cancels with following errors:

make  all-recursive
Making all in .
Making all in m4macros
Making all in glib
Making all in libcharset
Making all in gobject
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -D_REENTRANT -L /usr/local/lib -o gobject-query  gobject-query.o ./libgobject-2.0.la ../glib/libglib-2.0.la -liconv -lintl -liconv
gcc -g -O2 -Wall -D_REENTRANT /usr/local/lib -o .libs/gobject-query gobject-query.o  -L/tmp/glib-2.0.6/gobject -L./.libs -lgobject-2.0 -L/tmp/glib-2.0.6/glib/.libs -L/tmp/glib-2.0.6/glib -L/tmp/glib-2.0.6/glib/libcharset -L/usr/ports/devel/gettext/w-gettext-0.10.40/gettext-0.10.40/intl/.libs -L/usr/local/lib -L../glib/.libs -lglib-2.0 -lintl -liconv -Wl,-rpath,/usr/local/lib
*** Error code 1

Stop in /tmp/glib-2.0.6/gobject (line 500 of Makefile).
*** Error code 1

Stop in /tmp/glib-2.0.6 (line 363 of Makefile).
*** Error code 1

Stop in /tmp/glib-2.0.6 (line 493 of Makefile).

ld: /usr/local/lib: read_file_symbols(header): premature EOF
collect2: ld returned 1 exit status

Can anyone give me a piece of advice?
thanks; Sebastian