X-libs


Table of Contents

pkg:gtk 
Source 
Installation on Solaris 2.6 
Installation (version update) on linux 
Gtk lib location 
pltfm:Qt 
Build, Test run & Installation 

pkg:gtk 

Source 

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