今天fedora 17上安装软件时,安装过程出现error,把解决过程记录下来。

========
error:
========
[root@CAT g2ipmsg-0.9.6]#./configure --prefix=/usr --sysconfdir=/etc --enable-systray --with-ext-charcode=CP932
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for perl... /bin/perl
checking for a BSD-compatible install... /bin/install -c
。。。
checking for perl... /bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

 

=========
解决办法:
=========
这里是因为缺少了perl 编译支持的模块,那就安装一个呗。
配置好了fedora和rpmfusion源后
[root@CAT g2ipmsg-0.9.6]# yum install perl-XML-Parser
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
。。。
---> Package perl-Net-SSLeay.x86_64 0:1.48-1.fc17 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package                      Arch        Version            Repository    Size
================================================================================
Installing:
perl-XML-Parser              x86_64      2.41-4.fc17        fedora       221 k
Installing for dependencies:
。。。
Transaction Summary
================================================================================
Install  1 Package (+23 Dependent packages)

Total download size: 1.7 M
Installed size: 4.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/24): perl-Compress-Raw-Bzip2-2.052-1.fc17.x86_64.rpm  |  32 kB     00:00   
。。。
Complete!

 

或者上网下载个XML-Parser源码包

[root@CAT g2ipmsg-0.9.6]#  perl Makefile.PL (编译过程)
[root@CAT g2ipmsg-0.9.6]# make
[root@CAT g2ipmsg-0.9.6]# make install