pkg:gtk 

Source 

from sunfreeware 

http://sunfreeware.com/programlist.html ftp://nce.sun.ca/pub/freeware/SOURCES/gtk+-1.0.4.tar.gz — way too old!

official 
official gtk ftp site is: ftp://ftp.gtk.org/pub/gtk
official gtk web site is: http://www.gtk.org/

Installation on Solaris 2.6 

checking 
$ evs MACHTYPE
MACHTYPE='sparc-sun-solaris2.6'

build 

cd glib-1.2.8/
./configure --prefix=/usr/shared  # to chaos
  -- not to /usr/shared/gtk!
make
..
cd gtk+-1.2.8/
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/shared/lib
./configure --prefix=/usr/shared

Installation (version update) on linux 

build 

glib 
cd glib-1.2.8/
./configure --prefix=/opt
pkg=glib
make -n install | tee /export/pub/installs/logs/$pkg.log.0
make install | tee /export/pub/installs/logs/$pkg.log.1
gtk 
cd gtk+-1.2.8/
# -- check
evs LD_LIBRARY_PATH
glib-config --version
# -- tweak
# add /opt/bin to the front of PATH
hash -r
LD_LIBRARY_PATH=/opt/lib
fadd-top /etc/ld.so.conf "/opt/lib"
./configure --prefix=/opt
pkg=gtk

Gtk lib location 

Newsgroups: comp.unix.questions,comp.os.linux.x,comp.os.linux.misc : When I launch any program that use gtk+ library, I got the following : error:

: Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so",

Try removing your .gtkrc — xfce has its own gtk engine, and your gtk settings are still trying to use it.

John Bowden

pltfm:Qt 

Build, Test run & Installation 

Steps 

# unzip to /opt/qt

export QTDIR=/opt/qt
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
.configure -gif -thread
make
Help 

in INSTALL