免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1992 | 回复: 7
打印 上一主题 下一主题

[FreeBSD] 求助ports的升级问题,xfce4-session。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-06-16 14:13 |只看该作者 |倒序浏览
本帖最后由 fender0107401 于 2013-06-16 17:26 编辑
  1. checking for perl... /usr/bin/perl
  2. checking for perl >= 5.8.1... 5.16.3
  3. checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
  4. ===>  Script "configure" failed unexpectedly.
  5. Please report the problem to xfce@FreeBSD.org [maintainer] and attach the
  6. "/usr/ports/x11-wm/xfce4-session/work/xfce4-session-4.10.1/config.log"
  7. including the output of the failure of your make command. Also, it might be
  8. a good idea to provide an overview of all packages installed on your system
  9. (e.g. a /usr/sbin/pkg_info -Ea).
  10. *** [do-configure] Error code 1

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

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
2 [报告]
发表于 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


   

论坛徽章:
0
3 [报告]
发表于 2013-06-16 21:12 |只看该作者
http://www.freshports.org/textproc/p5-XML-Parser/
试试

论坛徽章:
0
4 [报告]
发表于 2013-06-20 14:51 |只看该作者
回复 3# 愚公OS
这个软件我的机器里面安装了。
Manifying blib/man3/XML:arser::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.
*** [check-already-installed] 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:arser... configure: error: XML:arser perl module is required for intltool
===>  Script "configure" failed unexpectedly.
Please report the problem to xfce@FreeBSD.org [maintainer] 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).
*** [do-configure] Error code 1

-----
求助。



   

论坛徽章:
0
5 [报告]
发表于 2013-06-20 14:52 |只看该作者
回复 2# fender0107401
求助,这个软件到底怎么编译过去?


   

论坛徽章:
0
6 [报告]
发表于 2013-06-20 15:04 |只看该作者
本帖最后由 zeissoctopus 于 2013-06-20 15:05 编辑

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

以下節錄 /usr/ports/UPDATING 中有關 perl5 升級指引

  1. 20130612:
  2.   AFFECTS: users of  lang/perl* and any port that depends on it
  3.   AUTHOR: az@FreeBSD.org

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

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

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

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

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

论坛徽章:
0
7 [报告]
发表于 2013-06-20 15:05 |只看该作者
本帖最后由 落伽之光 于 2013-06-20 15:08 编辑

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

论坛徽章:
0
8 [报告]
发表于 2013-06-20 15:08 |只看该作者
回复 6# zeissoctopus

太谢谢了,解释的真清楚!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP