# gtk install memo # written by Naotoshi Seo, s1080134 # gtk is gimp toolkit required by gnome, gaim, e.g., g* tools. # ver 1.2.x is one thing and ver 2.x is another. # These don't have compatibility. # pkg-config is required by glib and gtk. # glib is required by gtk. # atk, pango, glib-2.x are required by gtk-2.x. # pkg-config # http://www.freedesktop.org/software/pkgconfig/ wget http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-0.15.0.tar.gz gtar zxvf pkgconfig-0.15.0.tar.gz cd pkgconfig-0.15.0 ./configure --prefix=$HOME/usr/Solaris make make install #setenv PATH $HOME/usr/Solaris/bin:$PATH # glib-1.2.x # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz gtar zxvf glib-1.2.10.tar.gz cd glib-1.2.10 ./configure --prefix=$HOME/usr/Solaris make make install # gtk-1.2.x # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz gtar zxvf gtk+-1.2.10.tar.gz cd gtk+-1.2.10 ./configure --prefix=$HOME/usr/Solaris make make install # atk # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.4.tar.gz gtar zxvf atk-1.2.4.tar.gz cd atk-1.2.4 ./configure --prefix=$HOME/usr/Solaris make make install # pango # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v2.2/pango-1.2.5.tar.gz gtar zxvf pango-1.2.5.tar.gz cd pango-1.2.5 ./configure --prefix=$HOME/usr/Solaris make make install # glib-2.x # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.0.tar.gz gzip -cd glib-2.2.0.tar.gz | tar xvf - cd glib-2.2.0 ./configure --prefix=$HOME/usr/Solaris make make install # gtk-2.x # http://www.gtk.org/ wget ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.0.tar.gz gzip -cd gtk+-2.2.0.tar.gz | tar xvf - cd gtk+-2.2.0 ./configure --prefix=$HOME/usr/Solaris make make install # \rm -r $HOME/usr/Solaris/share/gtk-2.0/gtk-docs #setenv LD_LIBRARY_PATH $HOME/usr/Solaris/lib:${LD_LIBRARY_PATH} #find $HOME/usr/Solaris/ -type f -perm +a=x | xargs file | fgrep -i `uname -p` | fgrep 'not stripped' | cut -d: -f1 | xargs strip