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

========
error:
========
[root@CAT g2ipmsg-0.9.6]#./configure --prefix=/usr --sysconfdir=/etc --enable-systray --with-ext-charcode=CP932checking for doxygen... noconfigure: WARNING: doxygen not found - will not generate any doxygen documentationchecking for perl... /bin/perlchecking for a BSD-compatible install... /bin/install -c。。。checking for perl... /bin/perlchecking 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-ParserLoaded plugins: langpacks, presto, refresh-packagekitResolving Dependencies--> Running transaction check。。。---> Package perl-Net-SSLeay.x86_64 0:1.48-1.fc17 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================Package                      Arch        Version            Repository    Size================================================================================Installing:perl-XML-Parser              x86_64      2.41-4.fc17        fedora       221 kInstalling for dependencies:。。。Transaction Summary================================================================================Install  1 Package (+23 Dependent packages)Total download size: 1.7 MInstalled size: 4.2 MIs this ok [y/N]: yDownloading 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