落伽之光 发表于 2013-06-16 14:13

求助ports的升级问题,xfce4-session。

本帖最后由 fender0107401 于 2013-06-16 17:26 编辑

checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.3
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
===>Script "configure" failed unexpectedly.
Please report the problem to xfce@FreeBSD.org and attach the
"/usr/ports/x11-wm/xfce4-session/work/xfce4-session-4.10.1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/sbin/pkg_info -Ea).
*** Error code 1

Stop in /usr/ports/x11-wm/xfce4-session.
----------
ports升级以后,portmaster -aGD --no-confirm
进行到x11-wm/xfce4-session这个软件的升级的时候,出现了这个错误,请问怎么解决呢?

fender0107401 发表于 2013-06-16 17:26

本帖最后由 fender0107401 于 2013-06-16 17:27 编辑

回复 1# 落伽之光

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool


   

愚公OS 发表于 2013-06-16 21:12

http://www.freshports.org/textproc/p5-XML-Parser/
试试

落伽之光 发表于 2013-06-20 14:51

回复 3# 愚公OS
这个软件我的机器里面安装了。
Manifying blib/man3/XML::Parser::Style::Stream.3
===>Installing for p5-XML-Parser-2.41_1
===>   p5-XML-Parser-2.41_1 depends on file: /usr/local/bin/perl5.16.3 - found
===>   Generating temporary packing list
===>Checking if textproc/p5-XML-Parser already installed
===>   p5-XML-Parser-2.41_1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of textproc/p5-XML-Parser
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1
-----
但是,依旧出现这个错误。
-----
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.3
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
===>Script "configure" failed unexpectedly.
Please report the problem to xfce@FreeBSD.org and attach the
"/usr/ports/x11-wm/xfce4-session/work/xfce4-session-4.10.1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/sbin/pkg_info -Ea).
*** Error code 1

-----
求助。



   

落伽之光 发表于 2013-06-20 14:52

回复 2# fender0107401
求助,这个软件到底怎么编译过去?


   

zeissoctopus 发表于 2013-06-20 15:04

本帖最后由 zeissoctopus 于 2013-06-20 15:05 编辑

樓主最近有沒有重新編譯所有 perl 及其倚賴。因為 ports 中 perl 安裝目錄結構已轉變。

以下節錄 /usr/ports/UPDATING 中有關 perl5 升級指引
20130612:
AFFECTS: users oflang/perl* and any port that depends on it
AUTHOR: az@FreeBSD.org

lang/perl5.12 has been upgraded from version 5.12.4 to 5.12.5
lang/perl5.14 has been upgraded from version 5.14.2 to 5.14.4
lang/perl5.16 has been upgraded from version 5.16.2 to 5.16.3

The directory structure where Perl is installed has also been modified:
"major.minor" is now used instead of "major.minor.patchlevel".

The "perl-after-upgrade" script has been removed.

Please rebuild all Perl ports and all ports that depend on it:

# portmaster -r perl
    or
# portupgrade -rf perl
    or
# pkg install -fR perl
意思是,最新的 perl 目錄已從 /usr/local/lib/perl5/perl5/5.16.3 改為 /usr/local/lib/perl5/5.16。
如果樓主沒有跟足指示處理 perl 升級,就會發生樓主 perl 模組倚賴問題的困擾。

落伽之光 发表于 2013-06-20 15:05

本帖最后由 落伽之光 于 2013-06-20 15:08 编辑

感谢上面三位兄弟的帮助。我把textproc/p5-XML-Parser/这个软件从新编译安装了一遍,再重新升级x11-wm/xfce4-session就通过了。

落伽之光 发表于 2013-06-20 15:08

回复 6# zeissoctopus

太谢谢了,解释的真清楚!
页: [1]
查看完整版本: 求助ports的升级问题,xfce4-session。