Install gtk +-2.12.9 in the debian4 environment -- Debian for the Linux release. For details, refer to the following section. 1. Set Environment Variables
Set it twice here. Set it once when installing glib, and set it again before installing atk.
First, run the configure command: [root @ localhost root] #./configure. After the configuration is complete, you can compile it. Note that you must first perform a reverse installation before the installation to delete the previous version. Otherwise, errors may occur when installing other libraries. All execution commands are as follows:
[Root @ localhost root] # cd glib-2.12.0
[Root @ localhost root] #./configure
[Root @ localhost root] # make
(If you use a non-root user for installation, you must switch to the root user during make install. Otherwise, the system prompts that the permission is insufficient, as shown in the following figure)
[Root @ localhost root] # make uninstall
[Root @ localhost root] # make install
Installation:
[Root @ localhost root] #./configure
[Root @ localhost root] # make
[Root @ localhost root] # make install
4. Compile GTK directly. If there is any missing-dev library, you can directly install it with the new version. It seems that some of the installations I downloaded are still like this.
Prompt libpng, new libpng-dev
To install libpng, you are prompted to install zlib. Prompt to install freetype and fontconfg, and install libpango-dev
Summary: It seems a bit messy. Regardless, the helloworld test is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.