安装GCC时,为什么会失败?
HP-UX oracle1 B.11.31 U ia64 0678270431 unlimited-user license
用bin方式上传,并且有chmod 777 *
为什么还会出现下面提示,是root用户啊!
# swinstall -s /tmp/hpgc/*.depot
======= 10/08/10 14:14:18 EAT BEGIN swinstall SESSION
(non-interactive) (jobid=oracle1-0946)
* Session started for user "root@oracle1".
* Beginning Selection
* Target connection succeeded for "oracle1:/".
ERROR: "oracle1:/tmp/hpgc/autoconf-2.68-ia64-11.31.depot": You do
not have permission for this operation. The depot owner,
system administrator, or alternate root owner may need to use
the "swreg" or "swacl" command to give you permission. Or, to
manage applications designed and packaged for nonprivileged
mode, see the "run_as_superuser" option in the "sd" man page.
* Source connection failed for
"oracle1:/tmp/hpgc/autoconf-2.68-ia64-11.31.depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is oracle1:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 10/08/10 14:14:19 EAT END swinstall SESSION (non-interactive)
(jobid=oracle1-0946)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
ok 搞定了 谢谢
swagentd -r
试试
很久以前装软件也遇到这个错误,当时就这么搞定的.
嗯,练手的话,gcc足够了!
如果是商业应用,多半也买了aCC
没找到codeword ,装不了aCC ,只好用gcc了
干吗要装gcc呀,装hp自己的c编译器不是更好?