免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: pizicai105
打印 上一主题 下一主题

gcc.tar.bz2 如何解包? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-11-08 10:15 |只看该作者
原帖由 levine 于 2007-11-7 15:59 发表
要想省事也行,http://software.hp.com去下载HP制作的GCC安装包,类似gcc-hppa64-4.1.2.depot.gz,直接gunzip了再swinstall。

我没有找到你说的这个gcc版本,能否告知详细下载地址,谢谢。

论坛徽章:
0
12 [报告]
发表于 2007-11-08 10:30 |只看该作者
哦,已经找到了,谢谢你~

试试看这个gcc

论坛徽章:
0
13 [报告]
发表于 2007-11-08 11:08 |只看该作者
# swinstall -s gcc-hppa-4.2.1.depot gcc

=======  11/08/07 11:07:36 EAT  BEGIN swinstall SESSION
         (non-interactive) (jobid=b2000-0015)

       * Session started for user "root@b2000".

       * Beginning Selection
       * Target connection succeeded for "b2000:/".
ERROR:   Could not contact host "gcc-hppa-4.2.1.depot".  Make sure the
         hostname is correct and an absolute pathname is specified
         (beginning with "/").
       * Source connection failed for
         "gcc-hppa-4.2.1.depot:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
         target (default location is
         gcc-hppa-4.2.1.depot:/var/adm/sw/swagentd.log).
       * Selection had errors.



=======  11/08/07 11:07:37 EAT  END swinstall SESSION (non-interactive)
         (jobid=b2000-0015)

论坛徽章:
0
14 [报告]
发表于 2007-11-08 11:09 |只看该作者
出错了,不知道是什么原因,请高手指点,我是初学者不太懂,不好意思

论坛徽章:
0
15 [报告]
发表于 2007-11-08 11:41 |只看该作者
swlist -d -s /fullpath/gcc-hppa-4.2.1.depot查看产品列表
swinstall -s /fullpath/gcc-hppa-4.2.1.depot <上面查到的产品名称>
安装时一定要全路径。

论坛徽章:
0
16 [报告]
发表于 2007-11-08 12:38 |只看该作者
# swlist -d -s /gcc-hppa-4.2.1.depot
# Initializing...
# Contacting target "b2000"...
#
# Target:  b2000:/gcc-hppa-4.2.1.depot
#

#
# No Bundle(s) on b2000:/gcc-hppa-4.2.1.depot
# Product(s):
#

  GNU_C_C++     4.2.1
# swinstall -s /gcc-hppa-4.2.1.depot GNU_C_C++

还是不行,请指教

论坛徽章:
0
17 [报告]
发表于 2007-11-08 13:51 |只看该作者
1、一般建议把安装文件放到/tmp下;
2、没看到具体错误信息,可以试下swinstall -s /tmp/gcc-hppa-4.2.1.depot,会出个窗口,在里面用空格选择要安装的软件,然后菜单action->install;

论坛徽章:
0
18 [报告]
发表于 2007-11-08 14:30 |只看该作者
原帖由 levine 于 2007-11-8 13:51 发表
1、一般建议把安装文件放到/tmp下;
2、没看到具体错误信息,可以试下swinstall -s /tmp/gcc-hppa-4.2.1.depot,会出个窗口,在里面用空格选择要安装的软件,然后菜单action->install;



出现一个框:
The target "b2000:/" failed Disk Space Analysis,
so the task cannot be executed. For more information on this failure,
press the "Disk space.." button.

论坛徽章:
0
19 [报告]
发表于 2007-11-08 15:06 |只看该作者
“failed Disk Space Analysis”,文件系统空间的问题,看看详细信息press the "Disk space.." button.可能是空间不够了,bdf查下。

论坛徽章:
0
20 [报告]
发表于 2007-11-08 15:09 |只看该作者
# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    1966080  783008 1173864   40% /
/dev/vg00/lvol1     314736   53600  229656   19% /stand
/dev/vg00/lvol9    1572864  139512 1422640    9% /var
/dev/vg00/lvol8    1703936 1164856  534928   69% /usr
/dev/vg00/lvol5    1277952  265800 1004296   21% /tmp
/dev/vg00/lvol7     589824  528824   60584   90% /opt
/dev/vg00/lvol6    1376256  205048 1162112   15% /home
/dev/vg00/lvol4    50397184 5610840 44440504   11% /brdata
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP