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
typically the name). The simple schematic diagram is as follows:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/51/53/wKiom1RjLqGQZj6_AADtWDiurSU684.jpg "title=" 1.png " alt= "Wkiom1rjlqgqzj6_aadtwdiursu684.jpg" width= "680" height= "0" border= "0" hspace= "0" vspace= "width : 680px;height:300px; "/>1, cacti server-side installationDownload cacti related software, total need three software, the following:http://www.cacti.net/downloads/cacti-0.8.8a.tar.gzhttp://oss.oetiker.ch/rrdtool/
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 library?
Not strictly. GTK + provides an API to draw the GUI of an application, and its underlying layer
; = 1.0.1 pango> = 1.4.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you shoshould add the directory containing 'glib-2.0.pc'
To the PKG_CONFIG_PATH environment variable
No package 'glib-2.0 'found
Configure: error: Library requirements (glib-2.0> = 2.4.0 atk> = 1.0.1 pango> = 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
# 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 /
Solution: Download libiconv http://ftp.gnu.org/gnu/libiconv/
$ Tar xvf libiconv-1.14.tar.gz
$ Libiconv-1.14 CD
$./Configure-Prefix =/usr/local
$ Make;
Error records
Solution: see examples/
Modify srclib/stdio. In. h 695th rows
As follows:
// _ Gl_warn_on_use (gets, "gets is a security hole-use fgets instead ");# If defined (_ glibc __)! Defined (_ uclibc __)! _ Glibc_prereq (2, 16)_ Gl_warn_on_use (gets, "gets is a security hole-use fgets instead ");# Endif
Solution: sudo apt-Get install li
process (compile GTK +-2.4.13 ):
Checking for PKG-config.../usr/bin/PKG-configChecking for glib-2.0> = 2.4.0 ATK> = 1.0.1 pango> = 1.4.0... package glib-2.0 was not found in the PKG-config search path.Perhaps you shoshould Add the directory containing 'glib-2.0.pc'To the pkg_config_path environment variableNo package 'glib-2.0 'Found
Configure: Error: library requirements (glib-2.0> = 2.4.0 ATK> = 1.0.1 pango
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, it takes several turns to achieve this. For example, to set a label font, you must use
GTK +-2.4.13 ):
Checking for PKG-config.../Usr/bin/PKG-config
Checking for glib-2.0> = 2.4.0 ATK> = 1.0.1 pango> = 1.4.0...Package glib-2.0 was not found in the PKG-config search path.Perhaps you shoshould Add the directory containing 'glib-2.0.pc'To the pkg_config_path environment variableNo package 'glib-2.0 'Found
Configure: Error: library requirements (glib-2.0> =2.4.0 ATK> = 1.0.1 pango> =1.4.0) not m
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
/# enter the default nginx website root directory rm-rf/usr/local/nginx/html/* # Delete the default test page chown www. www/usr/local/nginx/html/-R # Set the directory owner chmod 755/usr/local/nginx/html/-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
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.