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 GTK +-2.4.13 ):
Checking for PKG-config...
/Usr/bin/PKG-config
Checking for glib-2.0> = 2.4.0 #160; #160; #160; ATK> =
GTK.
GTK's official website http://www.gtk.org found Win32. On the download page of this website, you will find many download links. These are part of GTK. You can download the corresponding data files as needed. However, you must download the following files, which is required.
GlibLibiconvGettext-runtimeGTK +ATKPango
If you just run it, you only need to download the runtime. If you want to develop it, you also need to download the data file with Dev (note that there is also a source file ). A
library is about 3 MB (the debug version calculates all lib values) smaller than that of QT; there is a signal mechanism similar to QT, but no pre-compilation is required. Good support for OpenGL and graphic images. GTK + is based on three libraries: glib, pango, and ATK. Glib is the underlying library that encapsulates C's data structure processing, portability, thread, dynamic loading, and an object system. Pan
\ xx1.c xx1.h\ xx2.c xx2.h \
Among them, xx1 and xx2 are self-written. c and. H files.
(4) about 179 rows:
Xxyougladexxx_LDADD =-lpcap-pthread Add the library file-lpcap-pthread, the first is libpcap, and the second is multithreading.
(5) If-pthread is not added to DES, the following must be added:
INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/us
.
2.1.1Download the rrdtool package
Download the latest source code package from the official rrdtool website. As follows:
Http://oss.oetiker.ch/rrdtool/
Download rrdtool:
Http://oss.oetiker.ch/rrdtool/pub? M = D
Wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.5.0-rc2.tar.gz
2.1.2Install basic library
Before officially installing rrdtool, we must also install the required base library for rrdtool compilation. As follows:
Yum-y install gcc cairo-devel libxml2-devel
In etc/rc. run the command ifconfig eth0 192.168.7.236 to add the IP configuration to the D/RC file to enable the SSH service at the same time:/etc/rc. d/init. the first execution time of D/sshd start is long because it will generate some RSA files. Better Method: in/etc/rc. d/RC. add attachment = "Mount-proc-sys mdev udev hostname devfsd depmod modules filesystems syslog network inetd Portmap dropbear sshd boa smb dhcpd settime qtopia watchdog gtk2 pango
Http://www.eclipse.org/swt/faq.php)
Frank (frank@zijinshi.cn)
Version: Version 0.9
The SWT FAQ
9. Q: What else do I need to run SWT on Linux/GTK?
A: SWT requires the specified (or updated) version of the following class library.
For eclipse 3.0:
GTK 2.2.1
ATK 1.2.0
Glib 2.2.1
Pango 1.2.1
FreeType 2.1.3
For eclipse 2.1:
GTK 2.0.6
ATK 1.0.1
Glib 2.0.4
Pango
Wing ide cracking:
The latest wing ide pro V4 registration machine has not been found, but found the brute force cracking method to crack. This method address is: http://download.csdn.net/detail/jhwhu/3610082
Chinese garbled solutions:
Find the installation directory and open "pango" in "wing ide 3.2 \ bin \ GTK-bin \ etc \ pango. aliases ", modify the text in the quotation marks to: Microsoft yahei. y
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 di
the crawl results to the user.Here's an example of using IECapt.exe and combining PHP to crawl a website.Run through under windows/apache2.2/php5.2.5.Resources:1.http://www.zubrag.com/scripts/website-thumbnail-generator.php2.http://www.guangmingsoft.net/htmlsnapshot/html2image.htmOfficial URL:http://www.guangmingsoft.net/htmlsnapshot/html2image.htm Linuxkernel-2.2.14 and above: installation of necessary lib and related softwareYum install-y glibc GTK + fontconfig?? Cairo Libpixman
GTK + Interface Design
First look at a routine:------------------------------# Include ------------------------------Can be saved as try. c
Compilation process:1) under the command lineInput:PKG-config -- cflags GTK ++-2.0Get:-MMS-bitfields-ic:/GTK/include/gtk-2.0-ic:/GTK/lib/gtk-2.0/include-ic:/GTK/include/atk-1.0-ic: /GTK/include/Cairo-ic:/GTK/include/pango-1.0-ic:/GTK/include/glib-2.0-ic: /GTK/lib/glib-2.0/include-ic:/GTK/include/libpng12
Input:PKG
/nagios-v/usr/local/nagios/etc/nagios.cfgReturn values such as slices, restart Nagios8. Restart? Nagios Service#/etc/init.d/nagios restart:At this point, click on the small sun will appear as follows: The requested url/pnp4nagios/graph is not found on this server.Here's how to fix it:Cause, when you execute make install-webconf during Pnp4nagios installation, note that it generates an Apache configuration file.You put this file:/etc/httpd/conf.d/pnp4nagios.conf? All content is added to Apache ht
packet occupies a large amount of bandwidth, as well as the sending time of the packet, the delay of packet delivery, the source address of the packet, etc., through this information, the operation and maintenance personnel can respond in time, Or to adjust the network, so as to ensure that the network normal, stable operation.
Installing NTOP and NtopngSTEP1: Installing NTOP1. Download2. Install dependent packages[email protected] ~]# Yum install libpcap libpcap-devel libtool libpng gdbm
/nagios/share/perfdata6. Installation of RRDtool requires environmentCairo-devel libxml2-devel pango-devel Pango libpng-devel freetype freetype-devel libart_lgpl-devel7.Nagios monitoring error HTTP warning:http/1.1 404 Not FoundCreate a index.html file in this directory/var/www/htmlRestarting the httpd and Nagios service waits a few minutes for the warning to be cleared automatically.8. Obtain the SNMP info
A preparatory work
1.0 Note: Before installing, make sure your system time is correct, and if not, sync it up quickly.
The code is as follows
Copy Code
#ntpdate ntp.fudan.edu.cn
1.1 First need to install some dependent libraries
The code is as follows
Copy Code
#yum install-y gcc gcc-c++ libpng freetype zlib libdbi apr.* apr-util libxml2 libxml2-devel pkg-config glib Pixman Pango
Smokeping is a monitoring software for network performance monitoring, it can be in its own company IDC network situation, such as delay, packet loss, whether BGP multi-line, and so on, through the RRDtool mapping mode, graphically show the network delay, and then can clearly determine the network of instant communication,
Smokeping needs multiple package support, let's install one at a time, there are two ways to install through Yum and compilation. (Have built-in Yum package direct yum, no
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.