pizicai105
发表于 2007-11-08 10:15
原帖由 levine 于 2007-11-7 15:59 发表 http://bbs.chinaunix.net/images/common/back.gif
要想省事也行,http://software.hp.com去下载HP制作的GCC安装包,类似gcc-hppa64-4.1.2.depot.gz,直接gunzip了再swinstall。
我没有找到你说的这个gcc版本,能否告知详细下载地址,谢谢。
pizicai105
发表于 2007-11-08 10:30
哦,已经找到了,谢谢你~
试试看这个gcc
pizicai105
发表于 2007-11-08 11:08
# swinstall -s gcc-hppa-4.2.1.depot gcc
=======11/08/07 11:07:36 EATBEGIN 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 EATEND swinstall SESSION (non-interactive)
(jobid=b2000-0015)
pizicai105
发表于 2007-11-08 11:09
出错了,不知道是什么原因,请高手指点,我是初学者不太懂,不好意思
levine
发表于 2007-11-08 11:41
swlist -d -s /fullpath/gcc-hppa-4.2.1.depot查看产品列表
swinstall -s /fullpath/gcc-hppa-4.2.1.depot <上面查到的产品名称>
安装时一定要全路径。
pizicai105
发表于 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++
还是不行,请指教
levine
发表于 2007-11-08 13:51
1、一般建议把安装文件放到/tmp下;
2、没看到具体错误信息,可以试下swinstall -s /tmp/gcc-hppa-4.2.1.depot,会出个窗口,在里面用空格选择要安装的软件,然后菜单action->install;
pizicai105
发表于 2007-11-08 14:30
原帖由 levine 于 2007-11-8 13:51 发表 http://bbs.chinaunix.net/images/common/back.gif
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.
levine
发表于 2007-11-08 15:06
“failed Disk Space Analysis”,文件系统空间的问题,看看详细信息press the "Disk space.." button.可能是空间不够了,bdf查下。
pizicai105
发表于 2007-11-08 15:09
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1966080783008 1173864 40% /
/dev/vg00/lvol1 314736 53600229656 19% /stand
/dev/vg00/lvol9 1572864139512 1422640 9% /var
/dev/vg00/lvol8 1703936 1164856534928 69% /usr
/dev/vg00/lvol5 1277952265800 1004296 21% /tmp
/dev/vg00/lvol7 589824528824 60584 90% /opt
/dev/vg00/lvol6 1376256205048 1162112 15% /home
/dev/vg00/lvol4 50397184 5610840 44440504 11% /brdata