InThis article explains how to create and compile GTK under the Windows operating system. GTK uses glib, Cairo, pango, ATK, GTK +, and gettext-Runtime, LibPNG, libjpeg, LibTIFF, and zlib. Therefore, you must also obtain these kits, which can be obtained from Windows download on the GTK official website, the simplest way is to get all-in-one bundle.
The following describes the steps for security protection:
Renew minggw in http://www.mingw.org/
Obta
take a look at the specific ways to do this:1.Environmental InspectionGADMIN-DHCPD requires GCC, Qt, GTK + and other software support, you can use the command rpm-qa|grep gcc; Rpm-qa|grep qt;Rpm-qa|grep GTK to check if these programs are installed in the system. In general, the GCC and QT system will be installed by default, but the GTK + system will not be installed by default, for example, my system does not install GTK +, let's look at the installation method of GTK +:2.Installing support so
libxml2-devel pango pango-devel–ytar xzf rrdtool-1.4.5.tar.gz; cd rrdtool-1.4.5;./configure- -prefix=/usr/local/rrdtool/make make install;ln-s/usr/local/rrdtool/bin/*/usr/local/bin/4. Install SNMP ServiceYum Install Net-snmp Net-snmp-utils–y5, install cacti main programTar xzf cacti-0.8.8a.tar.gz mv cacti-0.8.8a/var/www/html/cacti/6. Create a cacti databaseMysql-uroot–p Enter your password into the databa
combination of Widgets. You can use gtk + to create the application UI.
A style is a widget display method, such as color, Font, and background image.
Theme engine is a group of shared objects that provide code for drawing apps. It also contains configuration files, resource files (bitmaps, etc ). A theme is a combination of configuration files, specifying the engine and style used by each widget in the theme. In addition, there may be some built-in resource files.
3. Is GTK + a graphics lib
about the variable PKG_CONFIG_PATH:
I often see someone asking on the Forum, "Why have I installed the glib-2.4.x, But compiling gtk +-2.4.x still prompts that the glib version is too low?
Why did I install the glib-2.4.x, or did I prompt that a?... could not be found ?...... "It's all about this variable.
First, let's take a look at the errors that occur during the compilation process (compile gtk +-2.4.13 ):
Checking for pkg-config.../usr/bin/pkg-config
Checking for glib-2.0> = 2.4.0 atk> =
# Installation instructions of Nagios on CentOS 6.4 64bitAuthor:larry ZhaoQ q:920057952B L O g:larryzhao.blog.51cto.come-mail: [Email protected]# NTP ServiceYum Install NTPService NTPD StartChkconfig ntpd onCrontab-e* * * * * */usr/sbin/ntpdate cn.pool.ntp.org# Packets Preparenagios-3.3.1.tar.gz nagios-plugins-1.4.15.tar.gz nrpe-2.12.tar.gz rrdtool-1.4.7.tar.gz pnp4nagios-0.6.6.tar.gz# We Use X-shell to upload these files to our serverMkdir/upload;cd/upload######################### Nagios Server
Reprinted please indicate the source and the author contact: http://blog.csdn.net/mimeppContact information: Yu Tao
Use cmake to compile the GTK program: gssdp
Use cmake to compile the GTK program. Here we will use the gssdp example in gupnp to explain it.
1. gssdp codeSVN Co http://svn.o-hand.com/repos/gupnp/trunk/gssdp gssdp
2. Install cmakeApt-Get install cmake
3rd compile cmakelists.txt
project (GSSDP)include_directories (/usr/include/glib-2.0 /usr/lib/glib-2.0/include/usr/include/gtk-2.0 /
compilation of a good stuff), so
Remember to run ldconfig after modifying the library file, and run it in any directory.
Let's talk about the variable pkg_config_path:
I often see someone asking on the Forum, "Why have I installed the glib-2.4.x, But compiling GTK +-2.4.x still prompts that the glib version is too low?Why did I install the glib-2.4.x, or did I prompt that a?... could not be found ?...... "It's all about this variable.First, let's take a look at the errors that occur during the
the document of RubyGnome2 has done a very good job, there are not many places to learn from the GTK documentation.Although GTK is compiled by C itself, it has a complete set of well-designed object systems, allowing its GUI components to be flexibly and freely combined to achieve complex, powerful interfaces.Since GTK attaches great importance to the flexibility of its object system, it is not easy to start using GTK programming. Most of the time, on the surface, it looks very simple. In GTK,
run once every compilation of a good stuff), so
Remember to run ldconfig after modifying the library file, and run it in any directory.
Let's talk about the variable pkg_config_path:
I often see someone asking on the Forum"Why does GTK +-2.4.x still prompt that the glib version is too low?Why did I install the glib-2.4.x, or did I prompt that a?... could not be found ?......"It's all about this variable.
First, let's take a look at the errors that occur during the compilation process (compile
When installing rrdtool, the following error occurs: configure: error: Please fix the library issues listed above and try again. configure: error: Please fix the library issues listed above and try again. solution: First: Install cgilib-0.5.tar.gz download from here: weget http://download.chinaunix.net/down.php? Id = 2531 ResourceID = 1333 site = 1tar zxvf cgilib-0.5.tar.gzcd cgilib-0.5make www.2cto.com cp libcgi. a/usr/local/libcp cgi. h/usr/include if not, see Second: install the libart_lgpl
/-R # Set the directory permission to restart nginx, mysqld, php- install and configure the Cacti Web Service for the fpm Service (1) install rrdtool, net-snmp, and related dependent packages for I in 'rpm-q rrdtool net-snmp rrdtool-devel net-snmp-utils net-snmp-python net -snmp-perl lm_sensors-devel file-devel rpm-devel file intltool libart_lgpl libart_lgpl-devel elfutils pango-devel * cairo-devel * mysql-devel Mod_auth_mysql php-mysql cairo dejavu-f
Install nagios 4.0.8 on centos 6.5
Disable selinux
Setenforce 0
The permanent method is
Vi/etc/selinux/config
The status changes to disabled.
SELINUX = disabled
You need to restart the server.
Disable Firewall
/Etc/init. d/iptables stop
Delete firewall rules and restart Firewall
Mv/etc/sysconfig/iptables/opt
/Etc/init. d/iptables restart
Install the epel update source
Wgethttp: // dl.fedoraproject.org/pub/epel/6Server/x86_64/epel-release-6-8.noarch.rpm
Rpm ivhepel-release-6-8.noarch.rpm
Vi/etc/
The night is deep. Looking at wingide's source asistant and other panes, the places where Chinese characters should have been displayed are still square, which is quite uncomfortable. I found a bunch of results for Google's great FA and most of them stayed at the font setting modification stage by editing preferences. I don't know if these heroes are true. You do not need tools such as source asistant of wingide. Anyway, I am angry when I look at the Chinese characters of these tools to displa
Today, I checked wing ide updates and found that the new version is 4.1.7. Then I used the 4.1.6 cracking file abstract. replace Pyo and find that the attack was successful. I'm glad to see that the source assistant is still garbled. I thought about the white upgrade, and then I went online to find a solution. URL: http://blog.csdn.net/hairui/article/details/5443356
Change the pango. aliases file in the "C:/program files/Wing ide 4.1/bin/GTK-bin/etc/
Chmsee is a tool for viewing CHM files in Linux. the latest version is 0.9.6-rc2. when compiling the latest chmsee, libraries such as gtk2.8 and gtkhtml and chmlib are required. after half a day of exploration, the installation is successful. the installation process is described as follows:
1. Download source code
A. http://gro.clinux.org/projects/chmsee/ to download the latest chmsee source code.
B. Download gtk2.8 and related dependent packages at www.gtk.org.
Cairo-1.0.2.tar.gz
Libpng-1.2.8.
Source: http://www.ibm.com/developerworks/cn/linux/l-cairo? S_tact = 105agx52 s_cmp = techcto
Vector Plotting library used to generate consistent outputEli Dow, software engineer, IBM Linux test and Integration Center
Introduction:Cairo's goal is to generate the same output on printers and screens in a cross-platform manner. It is becoming an important software in the Linux graphics field. Many software such as gnome, GTK +, and pango have used the 2
1. To prevent installation dependency errors, first install third-party source for the system: rpm-uvh http://apt.sw.be/redhat/e16/en/X86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.e16.rf.x86_64.rpm
2. Install the lamp environment and rrdtool graphics processing and other dependent libraries:
Yum-y install Perl-net-Telnet Perl-net-DNS Perl-LDAP Perl-libwww-perl Perl-radiusperl Perl-io-socket-SSL perl-Socket6 Perl-CGI-speedycgi Perl -fcgi Perl-CGI-speedcgi Perl-time-hires
Perl-extutils-makemaker P
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.