免费注册 查看新帖 |

Chinaunix

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

安装gcc的烦恼! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-17 14:08 |只看该作者 |倒序浏览
配置:hp-ux C8000 B 11.11 v
所有depot包我都是在gnu网站上下的,应该没有问题!
首先我直接安装gcc-3.4.2-sd-11.11.depot.gz,没有成功,swagent.log如下:
=======  10/15/04 00:03:13 EAT  BEGIN install AGENT SESSION (pid=9980)

       * Agent session started for user "root@hpserver". (pid=9980)

       * Beginning Analysis Phase.
       * Source:
         hpserver:/var/spool/sw/gcc-3.4.2-sd-11.11.depot
       * Target:           hpserver:/usr/local
       * Target logfile:   hpserver:/usr/local/var/adm/sw/swagent.log
       * Reading source for product information.
       * Reading source for file information.
       * Executing preDSA command.
NOTE:    The used disk space on filesystem "/usr" is estimated to
         increase by 77904 Kbytes.
         This will leave 1926104 Kbytes of available user disk space
         after the installation.

       * Summary of Analysis Phase:
       * 4 of 4 filesets had no Errors or Warnings.
       * The Analysis Phase succeeded.

       * Beginning the Install Execution Phase.
       * Filesets:         4
       * Files:            407
       * Kbytes:           75755
       * Installing fileset "gcc.gcc-INC,r=3.4.2" (1 of 4).
ERROR:   Could not access remote file "/usr/local/./include/ansidecl.h"
         in software item
         "gcc.gcc-INC,r=3.4.2,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "gcc.gcc-INC,r=3.4.2".  Check the
         above output for details.
       * Retry number 1 of 1 for loading files for fileset
         "gcc.gcc-INC,r=3.4.2".
       * Installing fileset "gcc.gcc-INC,r=3.4.2" (1 of 4).
ERROR:   Could not access remote file "/usr/local/./include/ansidecl.h"
         in software item
         "gcc.gcc-INC,r=3.4.2,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "gcc.gcc-INC,r=3.4.2".  Check the
         above output for details.
NOTE:    The Install Phase has suspended.  Check the above output for
         reasons.
后来我查了本版的精华贴,要装一些依赖包,有bison,gettext,flex,libiconv等。于是我又去下了这些包,但安装这些包的

时候也出现问题,如安装libiconv时(其它也出现这个问题),swagent.log如下:

=======  10/17/04 13:46:28 EAT  BEGIN install AGENT SESSION (pid=4279)

       * Agent session started for user "root@hpserver". (pid=4279)

       * Beginning Analysis Phase.
       * Source:
         hpserver:/var/spool/sw/libiconv-1.9.2-sd-11.11.depot
       * Target:           hpserver:/usr/local
       * Target logfile:   hpserver:/usr/local/var/adm/sw/swagent.log
       * Reading source for product information.
       * Reading source for file information.
       * Executing preDSA command.
NOTE:    The used disk space on filesystem "/usr" is estimated to
         increase by 2464 Kbytes.
         This will leave 2001512 Kbytes of available user disk space
         after the installation.

       * Summary of Analysis Phase:
       * 1 of 1 filesets had no Errors or Warnings.
       * The Analysis Phase succeeded.


       * Beginning the Install Execution Phase.
       * Filesets:         1
       * Files:            51
       * Kbytes:           2136
       * Installing fileset "libiconv.libiconv-RUN,r=1.9.2" (1 of 1).
ERROR:   Could not access remote file "/usr/local/bin/iconv" in
         software item
         "libiconv.libiconv-RUN,r=1.9.2,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "libiconv.libiconv-RUN,r=1.9.2".
         Check the above output for details.
       * Retry number 1 of 1 for loading files for fileset
         "libiconv.libiconv-RUN,r=1.9.2".
       * Installing fileset "libiconv.libiconv-RUN,r=1.9.2" (1 of 1).
ERROR:   Could not access remote file "/usr/local/bin/iconv" in
         software item
         "libiconv.libiconv-RUN,r=1.9.2,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "libiconv.libiconv-RUN,r=1.9.2".
         Check the above output for details.
NOTE:    The Install Phase has suspended.  Check the above output for
         reasons.
那位大虾能告诉我是什么原因吗?怎么解决?

论坛徽章:
0
2 [报告]
发表于 2004-10-17 17:48 |只看该作者

安装gcc的烦恼!

自己顶一下!

论坛徽章:
0
3 [报告]
发表于 2004-10-18 09:59 |只看该作者

安装gcc的烦恼!

装gcc前,要先安装binson, flex, make,再试试安装。

论坛徽章:
0
4 [报告]
发表于 2004-10-18 10:15 |只看该作者

安装gcc的烦恼!

关键是现在安装binson, flex, make的时候,也出现这样的问题啊!如安装bison:

=======  10/18/04 10:10:01 EAT  BEGIN install AGENT SESSION (pid=9897)

       * Agent session started for user "root@hpserver". (pid=9897)

       * Beginning Analysis Phase.
       * Source:
         hpserver:/var/spool/sw/bison-1.875-sd-11.11.depot1
       * Target:           hpserver:/usr/local
       * Target logfile:   hpserver:/usr/local/var/adm/sw/swagent.log
       * Reading source for product information.
       * Reading source for file information.
       * Executing preDSA command.
NOTE:    The used disk space on filesystem "/usr" is estimated to
         increase by 1312 Kbytes.
         This will leave 2002600 Kbytes of available user disk space
         after the installation.

       * Summary of Analysis Phase:
       * 1 of 1 filesets had no Errors or Warnings.
       * The Analysis Phase succeeded.


       * Beginning the Install Execution Phase.
       * Filesets:         1
       * Files:            26
       * Kbytes:           1151
       * Installing fileset "bison.bison-RUN,r=1.875" (1 of 1).
ERROR:   Could not access remote file "/usr/local/./bin/bison" in
         software item
         "bison.bison-RUN,r=1.875,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "bison.bison-RUN,r=1.875".  Check
         the above output for details.
       * Retry number 1 of 1 for loading files for fileset
         "bison.bison-RUN,r=1.875".
       * Installing fileset "bison.bison-RUN,r=1.875" (1 of 1).
ERROR:   Could not access remote file "/usr/local/./bin/bison" in
         software item
         "bison.bison-RUN,r=1.875,a=HP-UX_B.11.11_700/800,v=:/usr/local"
         due to an internal error on the remote system.
ERROR:   Failed installing fileset "bison.bison-RUN,r=1.875".  Check
         the above output for details.
NOTE:    The Install Phase has suspended.  Check the above output for
         reasons.


       * Aborting the Install Phase.

=======  10/18/04 10:11:06 EAT  END install AGENT SESSION (Aborted)
         (pid=9897)


=======  10/18/04 10:11:06 EAT  BEGIN install AGENT SESSION (pid=9913)

       * Agent session started for user "root@hpserver". (pid=9913)

论坛徽章:
1
水瓶座
日期:2014-03-20 18:21:14
5 [报告]
发表于 2004-10-18 11:24 |只看该作者

安装gcc的烦恼!

好像是/usr无法访问?
确认你是root吗?
确认空间足够吗?

论坛徽章:
0
6 [报告]
发表于 2004-10-18 15:09 |只看该作者

安装gcc的烦恼!

是root而且/usr空间够用

论坛徽章:
0
7 [报告]
发表于 2004-10-18 17:41 |只看该作者

安装gcc的烦恼!

把安装的软件删了,再重装

论坛徽章:
0
8 [报告]
发表于 2004-10-19 00:29 |只看该作者

安装gcc的烦恼!

这个方法我已经试过了,还是不行啊

论坛徽章:
0
9 [报告]
发表于 2004-10-20 15:38 |只看该作者

安装gcc的烦恼!

那只有格了重装!!

论坛徽章:
0
10 [报告]
发表于 2004-10-21 10:28 |只看该作者

安装gcc的烦恼!

binutils安装了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP