Installing GTK+2.2.1 on Mandrake 9.1 from Source



Why:
To allow you to compile dia and gaim which use gtk2 you will need to install GTK+-2.2.1

Platform:  
mdk9.1


Files:
You will need the following from your favourite gtk mirror

glib-2.2.1.tar.bz2
atk-1.2.0.tar.bz2
pango-1.2.1.tar.bz2
tiff-v3.5.7.tar.gz
gtk+-2.2.1.tar.bz2

for each package run ./configure without options this will put it all in /usr/local

After glib is installed add the following script named pkg-config.sh to the /etc/profile.d dir and make it executeable.

#!/bin/sh

# package config environment setup
# add to this when you have *.pc files in other locations

PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"

export PKG_CONFIG_PATH


Also run the following commands as root so that the linker can find your shared libraries

echo /usr/local/lib >> /etc/ld.so.conf
ldconfig -v

Problems:
One of the ./configure's looked for db2html and something else  can't remember which one though

Stuff I'm going to make note of

libIDL is needed for CVS Mozilla.
    ./configure (no options)

James McDonald