LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 860|回复: 12

安装openoffce遇到问题

[复制链接]
发表于 2011-9-4 18:48:51 | 显示全部楼层 |阅读模式
我安装了很多次,emerge -avutND world也试了。但就是不成功,不大看得懂错误提示,还望哪位大哥指点下:
make: *** [stamp/build] Error 1
* ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase):
*   Build failed
*
* Call stack:
*     ebuild.sh, line  56:  Called src_compile
*   environment, line 8829:  Called die
* The specific snippet of code:
*       make || die "Build failed"
*
* If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
* the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
* The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'.
* S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo'

>>> Failed to emerge app-office/openoffice-3.2.1-r1, Log file:

>>>  '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'

* Messages for package app-office/openoffice-3.2.1-r1:

*
*  It is important to note that OpenOffice.org is a very fragile  
*  build when it comes to CFLAGS.  A number of flags have already
*  been filtered out.  If you experience difficulty merging this  
*  package and use aggressive CFLAGS, lower the CFLAGS and try to  
*  merge again.
*
*  Also if you experience a build break, please make sure to retry
*  with MAKEOPTS=-j1 before filing a bug.
*
*  You are building with java-support disabled, this results in some
*  of the OpenOffice.org functionality being disabled.
*  If something you need does not work for you, rebuild with
*  java in your USE-flags.
*
* ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase):
*   Build failed
*
* Call stack:
*     ebuild.sh, line  56:  Called src_compile
*   environment, line 8829:  Called die
* The specific snippet of code:
*       make || die "Build failed"
*
* If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
* the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
* The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'.
* S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo'
发表于 2011-9-5 16:14:23 | 显示全部楼层
现在用libreoffice了
回复 支持 反对

使用道具 举报

发表于 2011-9-5 21:11:41 | 显示全部楼层

  • 最重要的错误信息在“make: *** [stamp/build] Error 1“之前;
  • Portage的提示没有错,您最好吧这三项都贴出来:
    * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
    * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
    * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'.
  • 其实emerge app-office/libreoffice-bin要比花几个小时emerge openoffice实用。(注意勿用app-office/openoffice-bin,该版本未集成go-oo。)
回复 支持 反对

使用道具 举报

发表于 2011-9-5 21:41:21 | 显示全部楼层
openoffce要从系统内删除了,安装 app-office/libreoffice 吧
回复 支持 反对

使用道具 举报

发表于 2011-9-5 21:49:05 | 显示全部楼层

  • 最重要的错误信息在“make: *** [stamp/build] Error 1“之前;
  • 建议读读Portage的提示,您最好把这三项都贴出来:
    * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
    * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
    * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'.
  • 其实emerge app-office/libreoffice-bin要比花几个小时emerge openoffice划算。(注意勿用app-office/openoffice-bin,该版本未集成go-oo。)
回复 支持 反对

使用道具 举报

发表于 2011-9-5 23:33:18 | 显示全部楼层
试试更改make.conf里面的“MAKEOPTS=-j1”,与添加USE=“java”。
回复 支持 反对

使用道具 举报

发表于 2011-9-6 09:16:59 | 显示全部楼层
很久不用openoffice,早都改用libreoffice了,而且这类软件自己编译实在吐血,安装二进制版本省事。
回复 支持 反对

使用道具 举报

发表于 2011-9-6 16:19:07 | 显示全部楼层
都Libreoffice了你还来openoffice。

然后这段错误讯息完全抓不到重点、错误发生的那段都让你给砍了。你要起码学会该如何po有用的emerge错误讯息

最后是先爬文看看嘛,可能这个和你问题一样:http://www.linuxsir.cn/bbs/thread378059.html
回复 支持 反对

使用道具 举报

发表于 2011-9-6 16:26:29 | 显示全部楼层
都Libreoffice了你还来openoffice。

再来是错误发生的讯息让你给砍了。你po这段基本上是emerge任何发生错误都会出现的讯息。和它失败原因不一定有关系。就算读不懂emerge记录,起码要知道提问时那部分是问题重点。

第三是里面叫你试
  1. MAKEOPTS=-j1
复制代码
试过了沒?

最后是你爬过文沒?http://www.linuxsir.cn/bbs/thread378059.html
回复 支持 反对

使用道具 举报

发表于 2011-9-6 18:33:53 | 显示全部楼层
更改make.conf里面的“MAKEOPTS=-j1”或添加剂USE="java"试试!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表