linuxfonts.narod.ru -> How to: compile and install GTK3 libraries in CentOS 6.4!!! This how-to is outdated. Please read the actual one !!! CentOS doesn't contain GTK3 libraries so you cannot install software that is dependent on them. Here you will find the instructions how to compile and install GTK3 libraries into /opt in CentOS 6.3/6.4. If anyone's interested I can upload compiled GTK3 libraries - but I don't want to do that as you shouldn't trust me - I can easily embed something nasty in them ;-). 0. Prepare your system by installing these packages: yum install gcc make bison yasm atk-devel gtk2-devel cairo-devel glib2-devel pango-devel gettext-devel rpm-build expat-devel 1. Download the following packages:
atk-2.4.0.tar.xz 2. Run the following commands:
export LD_LIBRARY_PATH=/opt/gtk3/lib 3. Temporarily disable all existing GTK2-headers:
cd /usr/include 4. Now build the packages in this order using the following configure argument:
1. glib 5. You can now build and install software which requires GTK3 using these commands:
export LD_LIBRARY_PATH=/opt/gtk3/lib or, alternatively,
export CFLAGS="-I/opt/gtk3/include -L/opt/gtk3/lib" © 2012 Artem S. Tashkinov. This material cannot be reproduced on any other website, you are only allowed to link to this webpage. blog comments powered by Disqus |