Problem with GTK installation under Solaris 9

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

 



Hi,

I have installed gtk-2.2.4 Solaris 9 binaries from sunfreeware 

# pkginfo -l SMCgtk
   PKGINST:  SMCgtk
      NAME:  gtk
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  2.2.4
   BASEDIR:  /usr/local
    VENDOR:  The GTK Team
    PSTAMP:  Steve Christensen
  INSTDATE:  May 13 2005 15:29
     EMAIL:  steve@xxxxxxxxxxxx
    STATUS:  completely installed
...

When I try to compile and link the base.c test programm, I get the
following 
linker errors:

# gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
Undefined                       first referenced
 symbol                             in file
gdk_drawable_get_display            /usr/local/lib/libgtk-x11-2.0.so
gdk_window_set_geometry_hints       /usr/local/lib/libgtk-x11-2.0.so
gdk_colormap_query_color            /usr/local/lib/libgtk-x11-2.0.so
gdk_draw_rgb_image_dithalign        /usr/local/lib/libgtk-x11-2.0.so
gdk_window_destroy                  /usr/local/lib/libgtk-x11-2.0.so
gdk_display_get_core_pointer        /usr/local/lib/libgtk-x11-2.0.so
gdk_gc_set_clip_rectangle           /usr/local/lib/libgtk-x11-2.0.so
gdk_input_set_extension_events      /usr/local/lib/libgtk-x11-2.0.so
gdk_x11_xatom_to_atom_for_display   /usr/local/lib/libgtk-x11-2.0.so
...
...
...

The pkg-config-Output is listed below:

# pkg-config --cflags --libs gtk+-2.0
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-liconv  


I have already tried to build gtk from source, but then I get the error:

configure: error: Xft Pango backend is required for x11 target


When I try to build Pango from source, I get:

Undefined                       first referenced
 symbol                             in file
libiconv_open                       /usr/local/lib/libfontconfig.so
libiconv                            /usr/local/lib/libfontconfig.so

So I'm completely stuck, can anybody give me some hints ?

Regards,
Christian
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux