しぶとくGIMPのインストールに挑戦してみた。
RPMでGtkをアップグレードするのは危険という事がよ~くわかったので、今回はGtkも含めてコンパイルする事にしました。
rpm -ivh perl-XML-Parser-2.36-1.el5.rf.i386.rpm
mkdir /usr/local/gimp-2.4.7
chown -R mockbuild /usr/local/gimp-2.4.7
su mockbuild
export PKG_CONFIG_PATH=/usr/local/gimp-2.4.7/lib/pkgconfig:${PKG_CONFIG_PATH}
export LD_LIBRARY_PATH=/usr/local/gimp-2.4.7/lib:${LD_LIBRARY_PATH}
tar zvxf glib-2.18.0.tar.gz
cd glib-2.18.0
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf atk-1.23.5.tar.gz
cd atk-1.23.5
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf pixman-0.11.10.tar.gz
cd pixman-0.11.10
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf cairo-1.6.4.tar.gz
cd cairo-1.6.4
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf pango-1.17.5.tar.gz
cd pango-1.17.5
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf gtk+-2.12.12.tar.gz
cd gtk+-2.12.12
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar zvxf pygtk-2.10.6.tar.gz
cd pygtk-2.10.6
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
cd ..
tar jvxf gimp-2.4.7.tar.bz2
cd gimp-2.4.7
./configure --prefix=/usr/local/gimp-2.4.7
make
make install
バージョンのズレでコンパイルが通らなくなるので注意。