Re: Trouble just getting GTK started



David Willits wrote:
>
(GTK+ install woes snipped)


Ensure you have pkgconfig installed (rpm -q pkgconfig). If not then
install it from your RedHat CD's or the RedHat FTP site. Then try
the following to install from source. I'm assuming the four tarballs
are in the current directory. Important things to ensure are that
/usr/local/bin is in your path, and that /usr/local/lib is in your
/etc/ld.so.conf. Ensure you run /sbin/ldconfig after installing each
library, or else the linker wont know about them and configure tests
will fail.

tar xzf glib-2.0.6.tar.gz
cd glib-2.0.6
./configure --prefix=/usr/local
make
su
make install
cat "/usr/local/lib" >> /etc/ld.so.conf
/sbin/ldconfig
exit
export PATH=/usr/local/bin:$PATH
cd ..


tar xzf atk-1.0.3.tar.gz
cd atk-1.0.3
./configure --prefix=/usr/local
make
su
make install
/sbin/ldconfig
exit
cd ..


tar xzf pango-1.0.4.tar.gz
cd pango-1.0.4
./configure --prefix=/usr/local
make
su
make install
/sbin/ldconfig
exit
cd ..


tar xzf gtk+-2.0.6.tar.gz
cd gtk+-2.0.6
./configure --prefix=/usr/local
make
su
make install
/sbin/ldconfig
exit
cd ..

Chris

--
chris wareham iosystems co uk (work)
cwareham btinternet com (home)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]