Installation Error
- From: Pramod Patangay <pramod_iitg yahoo com>
- To: gtk-list gnome org
- Subject: Installation Error
- Date: Wed, 19 May 2004 07:56:01 -0700 (PDT)
Hi,
This is my first mail to this list so my problem might
have been faced by others previously. If that is so
please provide the link.
I am trying to install GTK on solaris8. Before that I
have to install Glib,Pango and atk.
While building GLIb, I get an error.
I am using these variables
export PKG_CONFIG=/usr/local/bin/pkg-config
export
GCC_EXEC_PREFIX=/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/lib/gcc-lib
export
COMPILER_PATH=/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/bin
export
CC=/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/bin/gcc
export
CPPFLAGS="-I/user/unibat/sparcsolaris/gtk/2.0/debug/include"
export
LDFLAGS="-L/user/unibat/sparcsolaris/gtk/2.0/debug/lib"
export
LD_LIBRARY_PATH=/user/unibat/sparcsolaris/gtk/2.0/debug/lib:/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/lib:/usr/local/lib
export
PATH=/usr/local/bin:/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/bin/:/user/unibat/sparcsolaris/gtk/2.0/debug/bin:/user/unicore/sparcsolaris/compiler/gcc3.2/solaris8/lib:/usr/openwin/bin:/usr/local/bin:/usr/sbin:/usr/bin
export
PKG_CONFIG_PATH=/user/unibat/sparcsolaris/gtk/2.0/debug/lib/pkgconfig
and ran ./configure
--prefix=/user/unibat/sparcsolaris/gtk/2.0/debug
--enable-debug=yes --enable-gc-friendly
and then "make"
while building gconvert.o, it gives this error:
gconvert.c:45:2: #error GNU libiconv not in use but
included iconv.h is from libiconv
gconvert.c: In function `g_iconv':
gconvert.c:168: warning: passing arg 2 of `libiconv'
from incompatible pointer type
make[2]: *** [gconvert.lo] Error 1
but when I run "configure" with an additional of
"--with-libiconv=gnu" it runs properly. But when I go
ahead and build ATK libraries, this error comes:
ld.so.1: glib-genmarshal: fatal: relocation error:
file glib-genmarshal: symbol g_fprintf: referenced
symbol not found
make[1]: *** [stamp-atkmarshal.c] Error 137
Now, one more strange thing is there is
"/usr/include/iconv.h" file (by Sun Systems) but no
corresponding "libiconv.so" or "libiconv.a" file
anywhere. This is before I installed GNU's "libiconv"
And the thing I mentioned above i.e., with the
"--with-libiconv=gnu" works after I installed GNU's
libiconv.
Issues:
========
1)Am I missing Sun's libiconv.* files?
2)Can't I use GNU's instead? If I can, how do I go
about it?
3)What are those errors mean?
Thanks
-Pramod
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]