1、在网站下载
GNOME2 ,也许你还不知道呢,飞鸽传书是日本人的项目。
放到桌面,解压,进入g2ipmsg-0.9.6文件夹
[root@lk g2ipmsg-0.9.6]# ./configure --enable-systray --with-ext-charcode=CP936
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for intltool >= 0.31... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
看来少个东西。
2、安装perl-XML-Parser:
[root@lk yum.repos.d]# yum install perl-XML-Parser.i386
primary.sqlite.bz2 100% |=========================| 88 kB 01:27
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.sqlite.bz2 100% |=========================| 64 kB 01:09
[Errno 4] Socket Error: timed out
Trying other mirror.
primary.sqlite.bz2 100% |=========================| 1.6 MB 01:25
ftp://ftp.chu.edu.tw/Linux/CentOS/5.4/updates/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
updates 100% |=========================| 1.9 kB 00:00
primary.sqlite.bz2 100% |=========================| 251 kB 01:58
addons 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 201 B 00:00
extras 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 107 kB 00:12
extras : ################################################## 325/325
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package perl-XML-Parser.i386 0:2.34-6.1.2.2.1 set to be updated
--> Processing Dependency: perl(LWP) for package: perl-XML-Parser
--> Running transaction check
---> Package perl-libwww-perl.noarch 0:5.805-1.1.1 set to be updated
--> Processing Dependency: perl(HTML::Entities) for package: perl-libwww-perl
--> Processing Dependency: perl(Compress::Zlib) for package: perl-libwww-perl
--> Processing Dependency: perl-HTML-Parser >= 3.33 for package: perl-libwww-perl
--> Running transaction check
---> Package perl-Compress-Zlib.i386 0:1.42-1.fc6 set to be updated
---> Package perl-HTML-Parser.i386 0:3.55-1.fc6 set to be updated
--> Processing Dependency: perl-HTML-Tagset >= 3.03 for package: perl-HTML-Parser
--> Processing Dependency: perl(HTML::Tagset) for package: perl-HTML-Parser
--> Running transaction check
---> Package perl-HTML-Tagset.noarch 0:3.10-2.1.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
perl-XML-Parser i386 2.34-6.1.2.2.1 base 210 k
Installing for dependencies:
perl-Compress-Zlib i386 1.42-1.fc6 base 52 k
perl-HTML-Parser i386 3.55-1.fc6 base 92 k
perl-HTML-Tagset noarch 3.10-2.1.1 base 15 k
perl-libwww-perl noarch 5.805-1.1.1 base 376 k
Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 745 k
Is this ok [y/N]: y
Downloading Packages:
(1/5): perl-HTML-Parser-3 100% |=========================| 92 kB 00:04
(2/5): perl-XML-Parser-2. 100% |=========================| 210 kB 00:18
(3/5): perl-HTML-Tagset-3 100% |=========================| 15 kB 00:00
(4/5): perl-Compress-Zlib 100% |=========================| 52 kB 00:02
(5/5): perl-libwww-perl-5 100% |=========================| 376 kB 00:18
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key)
" from
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: perl-HTML-Tagset ######################### [1/5]
Installing: perl-HTML-Parser ######################### [2/5]
Installing: perl-Compress-Zlib ######################### [3/5]
Installing: perl-libwww-perl ######################### [4/5]
Installing: perl-XML-Parser ######################### [5/5]
Installed: perl-XML-Parser.i386 0:2.34-6.1.2.2.1
Dependency Installed: perl-Compress-Zlib.i386 0:1.42-1.fc6 perl-HTML-Parser.i386 0:3.55-1.fc6 perl-HTML-Tagset.noarch 0:3.10-2.1.1 perl-libwww-perl.noarch 0:5.805-1.1.1
Complete!
[root@lk yum.repos.d]#
3、下载安装pkg-config
到网站
我下载的是pkg-config-0.23.tar.gz
接着,解压,进入pkg-config-0.23目录中./configure,make,make install就好了
4、回到g2ipmsg目录下
[root@lk yum.repos.d]# cd ~/Desktop/
[root@lk Desktop]# ls
g2ipmsg-0.9.6 g2ipmsg-0.9.6.tar.gz pkg-config-0.23 pkg-config-0.23.tar.gz
[root@lk Desktop]# cd g2ipmsg-0.9.6
[root@lk g2ipmsg-0.9.6]# ls
aclocal.m4 configure.in g2ipmsg.xml missing
aminclude.am COPYING INSTALL mkinstalldirs
AUTHORS depcomp install-sh NEWS
autogen.sh doc intltool-extract.in pixmaps
ChangeLog g2ipmsg.desktop.in intltool-merge.in po
config.guess g2ipmsg.glade intltool-update.in README
config.h.in g2ipmsg.gladep ltmain.sh README.jp
config.log g2ipmsg.schemas.in macros sounds
config.sub g2ipmsg.server.in.in Makefile.am src
configure g2ipmsg.spec Makefile.in
[root@lk g2ipmsg-0.9.6]# ./configure
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
[root@lk g2ipmsg-0.9.6]# ./configure --enable-systray --with-ext-charcode=CP936
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for intltool >= 0.31... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dirfd... yes
checking for asctime_r... yes
checking for localtime_r... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking OpenSSL options with pkg-config... no
checking for gdi32... no
checking for CRYPTO_lock in -lcrypto... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking for RAND_bytes... yes
checking for RAND_status... yes
checking for RAND_seed... yes
checking for RAND_poll... yes
checking for HMAC_CTX_init... yes
checking for HMAC_Init... yes
checking for HMAC_Update... yes
checking for HMAC_Final... yes
checking for HMAC_CTX_cleanup... yes
checking for EVP_EncryptInit... yes
checking for EVP_DecryptInit... yes
checking for EVP_EncryptUpdate... yes
checking for EVP_EncryptFinal... yes
checking for EVP_CIPHER_CTX_block_size... no
checking for EVP_CIPHER_CTX_cleanup... yes
checking for EVP_bf_cbc... yes
checking for EVP_rc2_cbc... yes
checking for EVP_des_ede_cbc... yes
checking for EVP_aes_128_cbc... yes
checking for EVP_aes_192_cbc... yes
checking for EVP_aes_256_cbc... yes
checking for BN_new... yes
checking for BN_bn2hex... yes
checking for BN_hex2bn... yes
checking for BN_bn2bin... yes
checking for BN_rand... yes
checking for BN_free... yes
checking for RSA_new... yes
checking for RSA_size... yes
checking for RSA_check_key... yes
checking for RSA_public_encrypt... yes
checking for RSA_private_decrypt... yes
checking for RSA_sign... yes
checking for RSA_free... yes
checking for PEM_write_RSAPrivateKey... yes
checking for PEM_read_RSAPrivateKey... yes
checking for PEM_write_RSAPublicKey... yes
checking for PEM_read_RSAPublicKey... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for G2IPMSG... configure: error: Package requirements (libgnomeui-2.0 >= 2.14
gtk+-2.0 >= 2.4
glib-2.0 >= 2.8) were not met:
No package 'libgnomeui-2.0' found
No package 'gtk+-2.0' found
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables G2IPMSG_CFLAGS
and G2IPMSG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
看来,还需要三个包,yum吧。
4、接着yum包
其实我电脑里已经装上libgnomeui了,而且版本也很高,看到别的网友说的devel。我想可能是libgnomeui-devel没装的原因吧。
[root@lk g2ipmsg-0.9.6]# yum install libgnomeui-devel
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package libgnomeui-devel.i386 0:2.16.0-5.el5 set to be updated
--> Processing Dependency: libgnomecanvas-devel >= 2.0.0 for package: libgnomeui-devel
--> Processing Dependency: libbonoboui-devel >= 2.13.1 for package: libgnomeui-devel
--> Processing Dependency: libglade2-devel >= 2.0.0 for package: libgnomeui-devel
--> Processing Dependency: libgnome-devel >= 2.2.0 for package: libgnomeui-devel
--> Processing Dependency: esound-devel for package: libgnomeui-devel
--> Processing Dependency: esound-devel >= 1:0.2.27 for package: libgnomeui-devel
--> Processing Dependency: gtk2-devel >= 2.9.0 for package: libgnomeui-devel
--> Processing Dependency: pango-devel >= 1.2.0 for package: libgnomeui-devel
--> Processing Dependency: GConf2-devel >= 2.3.0 for package: libgnomeui-devel
--> Processing Dependency: libbonobo-devel >= 2.3.6-2 for package: libgnomeui-devel
--> Processing Dependency: libart_lgpl-devel >= 2.3.8 for package: libgnomeui-devel
--> Processing Dependency: ORBit2-devel >= 2.6.0 for package: libgnomeui-devel
--> Processing Dependency: gnome-vfs2-devel >= 2.5.3 for package: libgnomeui-devel
--> Processing Dependency: gnome-keyring-devel for package: libgnomeui-devel
--> Running transaction check
---> Package pango-devel.i386 0:1.14.9-6.el5.centos set to be updated
--> Processing Dependency: cairo-devel >= 1.2.2 for package: pango-devel
---> Package libbonoboui-devel.i386 0:2.16.0-1.fc6 set to be updated
---> Package libart_lgpl-devel.i386 0:2.3.17-4 set to be updated
---> Package GConf2-devel.i386 0:2.14.0-9.el5 set to be updated
---> Package libbonobo-devel.i386 0:2.16.0-1.fc6 set to be updated
---> Package libgnome-devel.i386 0:2.16.0-6.el5 set to be updated
---> Package libglade2-devel.i386 0:2.6.0-2 set to be updated
---> Package esound-devel.i386 1:0.2.36-3 set to be updated
--> Processing Dependency: audiofile-devel for package: esound-devel
---> Package libgnomecanvas-devel.i386 0:2.14.0-4.1 set to be updated
---> Package ORBit2-devel.i386 0:2.14.3-5.el5 set to be updated
--> Processing Dependency: libIDL-devel >= 0.8.2-1 for package: ORBit2-devel
---> Package gnome-vfs2-devel.i386 0:2.16.2-4.el5 set to be updated
--> Processing Dependency: dbus-glib-devel >= 0.70 for package: gnome-vfs2-devel
--> Processing Dependency: hal-devel >= 0.5.7 for package: gnome-vfs2-devel
---> Package gtk2-devel.i386 0:2.10.4-20.el5 set to be updated
--> Processing Dependency: libXinerama-devel for package: gtk2-devel
--> Processing Dependency: atk-devel >= 1.9.0-1 for package: gtk2-devel
--> Processing Dependency: libXi-devel for package: gtk2-devel
---> Package gnome-keyring-devel.i386 0:0.6.0-1.fc6 set to be updated
--> Running transaction check
---> Package libXinerama-devel.i386 0:1.0.1-2.1 set to be updated
---> Package libXi-devel.i386 0:1.0.1-3.1 set to be updated
---> Package cairo-devel.i386 0:1.2.4-5.el5 set to be updated
---> Package atk-devel.i386 0:1.12.2-1.fc6 set to be updated
---> Package libIDL-devel.i386 0:0.8.7-1.fc6 set to be updated
---> Package dbus-glib-devel.i386 0:0.73-8.el5 set to be updated
--> Processing Dependency: dbus-glib = 0.73-8.el5 for package: dbus-glib-devel
---> Package audiofile-devel.i386 1:0.2.6-5 set to be updated
---> Package hal-devel.i386 0:0.5.8.1-52.el5 set to be updated
--> Processing Dependency: hal = 0.5.8.1-52.el5 for package: hal-devel
--> Running transaction check
---> Package hal.i386 0:0.5.8.1-52.el5 set to be updated
--> Processing Dependency: hal = 0.5.8.1-35.el5 for package: hal-gnome
---> Package dbus-glib.i386 0:0.73-8.el5 set to be updated
--> Running transaction check
---> Package hal-gnome.i386 0:0.5.8.1-52.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libgnomeui-devel i386 2.16.0-5.el5 base 295 k
Updating:
dbus-glib i386 0.73-8.el5 base 160 k
hal i386 0.5.8.1-52.el5 base 388 k
Installing for dependencies:
GConf2-devel i386 2.14.0-9.el5 base 93 k
ORBit2-devel i386 2.14.3-5.el5 base 376 k
atk-devel i386 1.12.2-1.fc6 base 126 k
audiofile-devel i386 1:0.2.6-5 base 15 k
cairo-devel i386 1.2.4-5.el5 base 131 k
dbus-glib-devel i386 0.73-8.el5 base 37 k
esound-devel i386 1:0.2.36-3 base 32 k
gnome-keyring-devel i386 0.6.0-1.fc6 base 25 k
gnome-vfs2-devel i386 2.16.2-4.el5 base 445 k
gtk2-devel i386 2.10.4-20.el5 base 2.8 M
hal-devel i386 0.5.8.1-52.el5 base 31 k
libIDL-devel i386 0.8.7-1.fc6 base 17 k
libXi-devel i386 1.0.1-3.1 base 52 k
libXinerama-devel i386 1.0.1-2.1 base 5.1 k
libart_lgpl-devel i386 2.3.17-4 base 20 k
libbonobo-devel i386 2.16.0-1.fc6 base 503 k
libbonoboui-devel i386 2.16.0-1.fc6 base 197 k
libglade2-devel i386 2.6.0-2 base 90 k
libgnome-devel i386 2.16.0-6.el5 base 73 k
libgnomecanvas-devel i386 2.14.0-4.1 base 74 k
pango-devel i386 1.14.9-6.el5.centos base 274 k
Updating for dependencies:
hal-gnome i386 0.5.8.1-52.el5 base 101 k
Transaction Summary
=============================================================================
Install 22 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
Total download size: 6.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/25): libbonobo-devel-2 100% |=========================| 503 kB 00:24
(2/25): hal-gnome-0.5.8.1 100% |=========================| 101 kB 00:03
(3/25): pango-devel-1.14. 100% |=========================| 274 kB 00:09
(4/25): hal-devel-0.5.8.1 100% |=========================| 31 kB 00:00
(5/25): gnome-keyring-dev 100% |=========================| 25 kB 00:00
(6/25): libart_lgpl-devel 100% |=========================| 20 kB 00:00
(7/25): gnome-vfs2-devel- 100% |=========================| 445 kB 00:15
(8/25): dbus-glib-0.73-8. 100% |=========================| 160 kB 00:10
(9/25): libgnomecanvas-de 100% |=========================| 74 kB 00:03
(10/25): ORBit2-devel-2.1 100% |=========================| 376 kB 00:10
(11/25): libbonoboui-deve 100% |=========================| 197 kB 00:03
(12/25): audiofile-devel- 100% |=========================| 15 kB 00:00
(13/25): dbus-glib-devel- 100% |=========================| 37 kB 00:00
(14/25): libglade2-devel- 100% |=========================| 90 kB 00:03
(15/25): libgnomeui-devel 100% |=========================| 295 kB 00:08
(16/25): libIDL-devel-0.8 100% |=========================| 17 kB 00:00
(17/25): gtk2-devel-2.10. 100% |=========================| 2.8 MB 01:22
(18/25): atk-devel-1.12.2 100% |=========================| 126 kB 00:01
(19/25): cairo-devel-1.2. 100% |=========================| 131 kB 00:03
(20/25): libXi-devel-1.0. 100% |=========================| 52 kB 00:00
(21/25): hal-0.5.8.1-52.e 100% |=========================| 388 kB 00:11
(22/25): esound-devel-0.2 100% |=========================| 32 kB 00:00
(23/25): libgnome-devel-2 100% |=========================| 73 kB 00:02
(24/25): GConf2-devel-2.1 100% |=========================| 93 kB 00:02
(25/25): libXinerama-deve 100% |=========================| 5.1 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : dbus-glib ####################### [ 1/28]
Updating : hal ####################### [ 2/28]
Installing: libart_lgpl-devel ####################### [ 3/28]
Installing: cairo-devel ####################### [ 4/28]
Installing: pango-devel ####################### [ 5/28]
Installing: hal-devel ####################### [ 6/28]
Installing: dbus-glib-devel ####################### [ 7/28]
Installing: gnome-keyring-devel ####################### [ 8/28]
Installing: audiofile-devel ####################### [ 9/28]
Installing: esound-devel ####################### [10/28]
Installing: libIDL-devel ####################### [11/28]
Installing: ORBit2-devel ####################### [12/28]
Installing: GConf2-devel ####################### [13/28]
Installing: libbonobo-devel ####################### [14/28]
Installing: gnome-vfs2-devel ####################### [15/28]
Installing: libgnome-devel ####################### [16/28]
Installing: atk-devel ####################### [17/28]
Installing: libXi-devel ####################### [18/28]
Installing: libXinerama-devel ####################### [19/28]
Installing: gtk2-devel ####################### [20/28]
Installing: libglade2-devel ####################### [21/28]
Installing: libgnomecanvas-devel ####################### [22/28]
Installing: libbonoboui-devel ####################### [23/28]
Installing: libgnomeui-devel ####################### [24/28]
Updating : hal-gnome ####################### [25/28]
Cleanup : hal ####################### [26/28]
Cleanup : dbus-glib ####################### [27/28]
Cleanup : hal-gnome ####################### [28/28]
Installed: libgnomeui-devel.i386 0:2.16.0-5.el5
Dependency Installed: GConf2-devel.i386 0:2.14.0-9.el5 ORBit2-devel.i386 0:2.14.3-5.el5 atk-devel.i386 0:1.12.2-1.fc6 audiofile-devel.i386 1:0.2.6-5 cairo-devel.i386 0:1.2.4-5.el5 dbus-glib-devel.i386 0:0.73-8.el5 esound-devel.i386 1:0.2.36-3 gnome-keyring-devel.i386 0:0.6.0-1.fc6 gnome-vfs2-devel.i386 0:2.16.2-4.el5 gtk2-devel.i386 0:2.10.4-20.el5 hal-devel.i386 0:0.5.8.1-52.el5 libIDL-devel.i386 0:0.8.7-1.fc6 libXi-devel.i386 0:1.0.1-3.1 libXinerama-devel.i386 0:1.0.1-2.1 libart_lgpl-devel.i386 0:2.3.17-4 libbonobo-devel.i386 0:2.16.0-1.fc6 libbonoboui-devel.i386 0:2.16.0-1.fc6 libglade2-devel.i386 0:2.6.0-2 libgnome-devel.i386 0:2.16.0-6.el5 libgnomecanvas-devel.i386 0:2.14.0-4.1 pango-devel.i386 0:1.14.9-6.el5.centos
Updated: dbus-glib.i386 0:0.73-8.el5 hal.i386 0:0.5.8.1-52.el5
Dependency Updated: hal-gnome.i386 0:0.5.8.1-52.el5
Complete!
成功了,接着configure吧。
[root@lk g2ipmsg-0.9.6]# ./configure --enable-systray --with-ext-charcode=CP936
checking for G2IPMSG... configure: error: Package requirements (libgnomeui-2.0 >= 2.14
gtk+-2.0 >= 2.4
glib-2.0 >= 2.8) were not met:
No package 'libgnomeui-2.0' found
No package 'gtk+-2.0' found
No package 'glib-2.0' found
怪了,仍然是这些错误。
难道没装全?
[root@lk g2ipmsg-0.9.6]# yum install gnomepanel-devel
Setting up Install Process
Parsing package install arguments
No package gnomepanel-devel available.
Nothing to do
[root@lk g2ipmsg-0.9.6]# yum install gnome-panel-devel
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gnome-panel-devel.i386 0:2.16.1-7.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gnome-panel-devel i386 2.16.1-7.el5 base 53 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 53 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): gnome-panel-devel- 100% |=========================| 53 kB 00:14
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gnome-panel-devel ######################### [1/1]
Installed: gnome-panel-devel.i386 0:2.16.1-7.el5
Complete!
呵呵,别人说的都装上了,现在再configure仍然是那个错误。他奶奶的。
别管别人了,缺啥我老实装还不行吗?缺的东西现在就差个gtk+了。
[root@lk g2ipmsg-0.9.6]# yum install gtk
Setting up Install Process
Parsing package install arguments
No package gtk available.
Nothing to do
[root@lk g2ipmsg-0.9.6]# yum install gtk+
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gtk+.i386 1:1.2.10-56.el5 set to be updated
--> Processing Dependency: gdk-pixbuf >= 0.18.0 for package: gtk+
--> Running transaction check
---> Package gdk-pixbuf.i386 1:0.22.0-25.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing for dependencies:
gdk-pixbuf i386 1:0.22.0-25.el5 base 231 k
gtk+ i386 1:1.2.10-56.el5 base 923 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gtk+ ######################### [1/2]
Installing: gdk-pixbuf ######################### [2/2]
Dependency Installed: gdk-pixbuf.i386 1:0.22.0-25.el5 gtk+.i386 1:1.2.10-56.el5
Complete!
仍然是同样的错误。我郁闷了,突然发现,它要的是glib-2.0我装的是Package glib - 1:1.2.10-20.el5.i386。现在的问题是怎么才能装上2.0的版本呢。
突然灵机一动:
[root@lk g2ipmsg-0.9.6]# yum install gtk+-*
Setting up Install Process
Parsing package install arguments
Package gtk+ - 1:1.2.10-56.el5.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package gtk+-devel.i386 1:1.2.10-56.el5 set to be updated
--> Processing Dependency: glib-devel for package: gtk+-devel
--> Running transaction check
---> Package glib-devel.i386 1:1.2.10-20.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gtk+-devel i386 1:1.2.10-56.el5 base 363 k
Installing for dependencies:
glib-devel i386 1:1.2.10-20.el5 base 38 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 401 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): gtk+-devel-1.2.10- 100% |=========================| 363 kB 00:12
(2/2): glib-devel-1.2.10- 100% |=========================| 38 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: glib-devel ######################### [1/2]
Installing: gtk+-devel ######################### [2/2]
Installed: gtk+-devel.i386 1:1.2.10-56.el5
Dependency Installed: glib-devel.i386 1:1.2.10-20.el5
Complete!
[root@lk g2ipmsg-0.9.6]# yum install glib-*
Setting up Install Process
Parsing package install arguments
Package glib-devel - 1:1.2.10-20.el5.i386 is already installed.
Package glib - 1:1.2.10-20.el5.i386 is already installed.
Package glib-java - 0.2.6-3.fc6.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package glib-java-devel.i386 0:0.2.6-3.fc6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
glib-java-devel i386 0.2.6-3.fc6 base 9.5 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 9.5 k
Is this ok [y/N]: n
Exiting on user Command
Complete!
注意我没装glib-*
结果还是不行。
接着,又是在google上泡了很久。。。
突然又有发现,glib-2.0来源于glib2软件。。。
我靠。。。
赶紧地~~~~~~~~~~
[root@lk g2ipmsg-0.9.6]# yum install glib2
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: glib2 = 2.12.3-2.fc6 for package: glib2-devel
---> Package glib2.i386 0:2.12.3-4.el5_3.1 set to be updated
--> Running transaction check
---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
glib2 i386 2.12.3-4.el5_3.1 base 674 k
Updating for dependencies:
glib2-devel i386 2.12.3-4.el5_3.1 base 1.2 M
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 2 Package(s)
Remove 0 Package(s)
Total download size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glib2-devel-2.12.3 100% |=========================| 24 kB 01:17
http://mirror.centos.net.cn/5.4/os/i386/CentOS/glib2-devel-2.12.3-4.el5_3.1.i386.rpm: [Errno 4] Socket Error: (11, '\xe8\xb5\x84\xe6\xba\x90\xe6\x9a\x82\xe6\x97\xb6\xe4\xb8\x8d\xe5\x8f\xaf\xe7\x94\xa8')
Trying other mirror.
http://ftp.cs.pu.edu.tw/Linux/CentOS/5.4/os/i386/CentOS/glib2-devel-2.12.3-4.el5_3.1.i386.rpm: [Errno 4] IOError:
Trying other mirror.
(1/2): glib2-devel-2.12.3 100% |=========================| 1.2 MB 00:19
(2/2): glib2-2.12.3-4.el5 100% |=========================| 674 kB 00:16
[root@lk g2ipmsg-0.9.6]# yum install glib2
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: glib2 = 2.12.3-2.fc6 for package: glib2-devel
---> Package glib2.i386 0:2.12.3-4.el5_3.1 set to be updated
--> Running transaction check
---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
glib2 i386 2.12.3-4.el5_3.1 base 674 k
Updating for dependencies:
glib2-devel i386 2.12.3-4.el5_3.1 base 1.2 M
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 2 Package(s)
Remove 0 Package(s)
Total download size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : glib2 ######################### [1/4]
Updating : glib2-devel ######################### [2/4]
Cleanup : glib2 ######################### [3/4]
Cleanup : glib2-devel ######################### [4/4]
Updated: glib2.i386 0:2.12.3-4.el5_3.1
Dependency Updated: glib2-devel.i386 0:2.12.3-4.el5_3.1
Complete!
[root@lk g2ipmsg-0.9.6]#
再一次configure,无语了。。。。还是错。
功夫不负有心人啊,终于搞定了,问题是非在那些软件上,而是PKG_CONFIG_PATH的路径找不到:
[root@lk g2ipmsg-0.9.6]# echo $GLIB
You have mail in /var/spool/mail/root
[root@lk g2ipmsg-0.9.6]# whereis glib-2.0.pc
glib-2.0: /usr/lib/glib-2.0 /usr/include/glib-2.0 /usr/share/glib-2.0
[root@lk g2ipmsg-0.9.6]# locate glib-2.0.pc
locate: can not open `/var/lib/mlocate/mlocate.db': 没有那个文件或目录
[root@lk g2ipmsg-0.9.6]# which glib-2.0.pc
/usr/bin/which: no glib-2.0.pc in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[root@lk g2ipmsg-0.9.6]# whereis pkgconfig
pkgconfig: /usr/lib/pkgconfig /usr/share/pkgconfig
[root@lk g2ipmsg-0.9.6]# ls /usr/lib/pkgconfig/
alsa.pc gtk-engines-2.pc randrproto.pc
atk.pc gtk+.pc recordproto.pc
audiofile.pc gtk+-unix-print-2.0.pc renderproto.pc
bigreqsproto.pc gtk+-x11-2.0.pc resourceproto.pc
blkid.pc gweather.pc scrnsaverproto.pc
bonobo-activation-2.0.pc hal.pc shared-mime-info.pc
cairo-ft.pc hal-storage.pc sm.pc
cairo.pc ice.pc sqlite3.pc
cairo-pdf.pc inputproto.pc ss.pc
cairo-png.pc kbproto.pc trapproto.pc
cairo-ps.pc libart-2.0.pc uuid.pc
cairo-svg.pc libbonobo-2.0.pc valgrind.pc
cairo-xlib.pc libbonoboui-2.0.pc videoproto.pc
cairo-xlib-xrender.pc libckyapplet.pc vorbisenc.pc
com_err.pc libcrypto.pc vorbisfile.pc
compositeproto.pc libcurl.pc vorbis.pc
damageproto.pc libdrm.pc x11.pc
dbus-1.pc libexslt.pc xau.pc
dbus-glib-1.pc libglade-2.0.pc xaw6.pc
devmapper-event.pc libgnome-2.0.pc xaw7.pc
devmapper.pc libgnomecanvas-2.0.pc xcmiscproto.pc
dmxproto.pc libgnomeui-2.0.pc xcomposite.pc
e2p.pc libIDL-2.0.pc xcursor.pc
esound.pc libidn.pc xdamage.pc
evieproto.pc libmetacity-private.pc xdmcp.pc
ext2fs.pc libnfsidmap.pc xevie.pc
fixesproto.pc libpanelapplet-2.0.pc xext.pc
fontcacheproto.pc libpcsclite.pc xextproto.pc
fontconfig.pc libpng12.pc xf86bigfontproto.pc
fontenc.pc libpng.pc xf86dgaproto.pc
fontsproto.pc librpcsecgss.pc xf86driproto.pc
fontutil.pc libssl.pc xf86miscproto.pc
freetype2.pc libusb.pc xf86rushproto.pc
gconf-2.0.pc libuser.pc xf86vidmodeproto.pc
gdk-2.0.pc libxml-2.0.pc xfixes.pc
gdk.pc libxslt.pc xfontcache.pc
gdk-pixbuf-2.0.pc libxul-embedding.pc xfont.pc
gdk-pixbuf-xlib-2.0.pc libxul.pc xft.pc
gdk-x11-2.0.pc mozilla-js.pc xinerama.pc
gdlib.pc mozilla-plugin.pc xineramaproto.pc
glib-2.0.pc nspr.pc xi.pc
glib.pc nss.pc xmlsec1.pc
glproto.pc ogg.pc xmu.pc
gmodule-2.0.pc OpenIPMIcmdlang.pc xmuu.pc
gmodule-export-2.0.pc OpenIPMIglib.pc xpm.pc
gmodule-no-export-2.0.pc OpenIPMI.pc xproto.pc
gmodule.pc OpenIPMIposix.pc xproxymngproto.pc
gnome-keyring-1.pc OpenIPMIpthread.pc xrandr.pc
gnome-mime-data-2.0.pc OpenIPMIui.pc xrender.pc
gnome-python-2.0.pc OpenIPMIutils.pc xres.pc
gnome-python-desktop-2.0.pc openssl.pc xscrnsaver.pc
gnome-python-extras-2.0.pc ORBit-2.0.pc xt.pc
gnome-screensaver.pc ORBit-CosNaming-2.0.pc xtrans.pc
gnome-vfs-2.0.pc ORBit-idl-2.0.pc xtrap.pc
gnome-vfs-module-2.0.pc ORBit-imodule-2.0.pc xtst.pc
gobject-2.0.pc pangocairo.pc xvmc.pc
gswitchit.pc pangoft2.pc xv.pc
gthread-2.0.pc pango.pc xxf86dga.pc
gthread.pc pangoxft.pc xxf86misc.pc
gtk+-2.0.pc pangox.pc xxf86vm.pc
[root@lk g2ipmsg-0.9.6]# export PKG_CONFIG_PATH
[root@lk g2ipmsg-0.9.6]# export PKG_CONFIG_PATH=/usr/lib/pkgconfig
[root@lk g2ipmsg-0.9.6]# ./configure --enable-systray --with-ext-charcode=CP936
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for intltool >= 0.31... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dirfd... yes
checking for asctime_r... yes
checking for localtime_r... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking OpenSSL options with pkg-config... found
checking for gdi32... no
checking for CRYPTO_lock in -lcrypto... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking for RAND_bytes... yes
checking for RAND_status... yes
checking for RAND_seed... yes
checking for RAND_poll... yes
checking for HMAC_CTX_init... yes
checking for HMAC_Init... yes
checking for HMAC_Update... yes
checking for HMAC_Final... yes
checking for HMAC_CTX_cleanup... yes
checking for EVP_EncryptInit... yes
checking for EVP_DecryptInit... yes
checking for EVP_EncryptUpdate... yes
checking for EVP_EncryptFinal... yes
checking for EVP_CIPHER_CTX_block_size... no
checking for EVP_CIPHER_CTX_cleanup... yes
checking for EVP_bf_cbc... yes
checking for EVP_rc2_cbc... yes
checking for EVP_des_ede_cbc... yes
checking for EVP_aes_128_cbc... yes
checking for EVP_aes_192_cbc... yes
checking for EVP_aes_256_cbc... yes
checking for BN_new... yes
checking for BN_bn2hex... yes
checking for BN_hex2bn... yes
checking for BN_bn2bin... yes
checking for BN_rand... yes
checking for BN_free... yes
checking for RSA_new... yes
checking for RSA_size... yes
checking for RSA_check_key... yes
checking for RSA_public_encrypt... yes
checking for RSA_private_decrypt... yes
checking for RSA_sign... yes
checking for RSA_free... yes
checking for PEM_write_RSAPrivateKey... yes
checking for PEM_read_RSAPrivateKey... yes
checking for PEM_write_RSAPublicKey... yes
checking for PEM_read_RSAPublicKey... yes
configure: Added /usr/kerberos/lib to LD_LIBRARY_PATH
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for G2IPMSG... yes
checking for DBUSGLIB... yes
checking whether to be enable dbus-glib... yes
checking whether to be enable gnome-screensaver-interaction... yes
checking for SYSTRAY... yes
checking whether to be enable systray... yes
checking whether to be enable IPMSG UTF-8 extension support... no
checking whether to be enable applet... yes
checking for APPLET... yes
checking for iconv... /usr/bin/iconv
checking external representation character code of ipmsg... CP932
checking directory configuration for PREFIX... /usr/local
checking directory configuration for LIBDIR... /usr/local/lib
checking directory configuration for DATADIR... /usr/local/share
checking directory configuration for SYSCONFDIR... /usr/local/etc
checking directory configuration for GNOME_ICONDIR... /usr/local/share/icons
checking directory configuration for GNOME_PIXMAPSDIR... /usr/local/share/pixmaps
checking directory configuration for GNOME_GLADEDIR... /usr/local/share/gnome-applets/glade
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ja zh_CN
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for GST... no
configure: WARNING: You need GStreamer-0.10 or later installed if you need sound relevant functions
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
[root@lk g2ipmsg-0.9.6]# make
[root@lk g2ipmsg-0.9.6]# make install
[root@lk g2ipmsg-0.9.6]# /usr/local/bin/g2ipmsg
我快哭了。。。
这次出来了。。。终于成功了。