免费注册 查看新帖 |

Chinaunix

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

hpux 安腾 无法安装GCC [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-18 13:15 |只看该作者 |倒序浏览
HP  RX4640  安腾的机器 2CPU ,4G MEM
# uname -a
HP-UX HPIT B.11.23 U ia64 3886485048 unlimited-user license

安装好 GCC 后运行 报错
# gcc
/usr/lib/hpux32/dld.so: Unsatisfied code symbol 'pthread_create' in load module
'/usr/local/lib/hpux32/libintl.so'.
Killed

使用 SWLIST 看一下 安装的东东

# Product(s) not contained in a Bundle:
#

  autoconf                      2.68           autoconf
  bash                          4.2.010        bash
  bison                         2.4.1          bison
  db                            5.2.28         db
  expat                         2.0.1          expat
  flex                          2.5.35         flex
  gawk                          4.0.0          gawk
  gcc                           4.2.3          gcc
  gdbm                          1.9.1          gdbm
  gettext                       0.18.1.1       gettext
  libiconv                      1.14           libiconv
  m4                            1.4.16         m4
  make                          3.82           make
  readline                      6.2.001        readline
  sed                           4.2.1          sed
  tcltk                         8.5.10         tcltk
  termcap                       1.3.1          termcap
  texinfo                       4.13a          texinfo
  unzip                         6.0            unzip
  zip                           3.0            zip
  zlib                          1.2.5          zlib


请各位大侠帮助,怎么解决?

论坛徽章:
0
2 [报告]
发表于 2011-08-18 13:36 |只看该作者
没听说过,拿来我帮你装吧!装过N次了!

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
3 [报告]
发表于 2011-08-18 14:42 |只看该作者
应该不是装不上gcc的问题吧?测试过能安装上gcc 4.2.3,没有问题。

* GNU libiconv 1.12 or later
* GNU gettext 0.17 or later
* zlib 1.2.3 or later

论坛徽章:
0
4 [报告]
发表于 2011-08-18 20:55 |只看该作者
应该不是装不上gcc的问题吧?测试过能安装上gcc 4.2.3,没有问题。

* GNU libiconv 1.12 or later
* GN ...
lbseraph 发表于 2011-08-18 14:42



    老大,能否把你装的东东 用 SWLIST  看一下 ,我来跟你的核对看看。

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
5 [报告]
发表于 2011-08-19 09:53 |只看该作者
老大,能否把你装的东东 用 SWLIST  看一下 ,我来跟你的核对看看。
lvd123456 发表于 2011-08-18 20:55


# uname -r
B.11.23
# model
ia64 hp server rx4640

## Swlist ##
autoconf                  \\ No installed
bash                  3.2            bash
bison                     \\ No installed
db
expat                     \\ No installed
flex                      \\ No installed
gawk                      \\ No installed
gcc                   4.2.3          gcc
gdbm                      \\ No installed
gettext               0.18.1.1       gettext
libiconv              1.14           libiconv
m4                        \\ No installed
make                  3.81           make
readline                  \\ No installed
sed                       \\ No installed
tcltk                     \\ No installed
termcap               1.3.1          termcap
texinfo                   \\ No installed
unzip                     \\ No installed
zip                       \\ No installed
zlib                  1.2.5          zlib

我安装的libiconv, gettext, zlib, gcc都是在http://hpux.connect.org.uk/下载的。

# gcc --help
Usage: gcc [options] file...
Options:
  -pass-exit-codes         Exit with highest error code from a phase
  --help                   Display this information
  --target-help            Display target specific command line options
  (Use '-v --help' to display command line options of sub-processes)
  -dumpspecs               Display all of the built in spec strings
  -dumpversion             Display the version of the compiler
  -dumpmachine             Display the compiler's target processor
  -print-search-dirs       Display the directories in the compiler's search path
  -print-libgcc-file-name  Display the name of the compiler's companion library
  -print-file-name=<lib>   Display the full path to library <lib>
  -print-prog-name=<prog>  Display the full path to compiler component <prog>
  -print-multi-directory   Display the root directory for versions of libgcc
  -print-multi-lib         Display the mapping between command line options and
                           multiple library search directories
  -print-multi-os-directory Display the relative path to OS libraries
  -Wa,<options>            Pass comma-separated <options> on to the assembler
  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
  -Wl,<options>            Pass comma-separated <options> on to the linker
  -Xassembler <arg>        Pass <arg> on to the assembler
  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
  -Xlinker <arg>           Pass <arg> on to the linker
  -combine                 Pass multiple source files to compiler at once
  -save-temps              Do not delete intermediate files
  -pipe                    Use pipes rather than intermediate files
  -time                    Time the execution of each subprocess
  -specs=<file>            Override built-in specs with the contents of <file>
  -std=<standard>          Assume that the input sources are for <standard>
  --sysroot=<directory>    Use <directory> as the root directory for headers
                           and libraries
  -B <directory>           Add <directory> to the compiler's search paths
  -b <machine>             Run gcc for target <machine>, if installed
  -V <version>             Run gcc version number <version>, if installed
  -v                       Display the programs invoked by the compiler
  -###                     Like -v but options quoted and commands not executed
  -E                       Preprocess only; do not compile, assemble or link
  -S                       Compile only; do not assemble or link
  -c                       Compile and assemble, but do not link
  -o <file>                Place the output into <file>
  -x <language>            Specify the language of the following input files
                           Permissible languages include: c c++ assembler none
                           'none' means revert to the default behavior of
                           guessing the language based on the file's extension

Options starting with -g, -f, -m, -O, -W, or --param are automatically
passed on to the various sub-processes invoked by gcc.  In order to pass
other options on to these processes the -W<letter> options must be used.

For bug reporting instructions, please see:
<URL:http://gcc.gnu.org/bugs.html>.

论坛徽章:
0
6 [报告]
发表于 2011-08-19 13:19 |只看该作者
# uname -r
B.11.23
# model
ia64 hp server rx4640

## Swlist ##
autoconf                  \ ...
lbseraph 发表于 2011-08-19 09:53



    lbseraph , 我怀疑是 LIBC 补丁包的问题 ,
PHCO_34599 1.0 libc cumulative patch
你帮我看一下你的 HP RX4640 上 有没有 打过 补丁 PHCO_34599 , 我的 RX4640 没有 这个补丁包 ,方便的话 ,你能否 SWLIST 你的补丁包
给我看一下 ,多谢多谢!

#swlist | grep PHCO

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
7 [报告]
发表于 2011-08-19 14:11 |只看该作者
这边的还真有PHCO_34599这个补丁。这边的一些补丁版本如下:

  PHCO_34599            1.0            libc cumulative patch
  PHCO_35048            1.0            libsec cumulative patch
  PHCO_35251            1.0            libpam_unix cumulative patch

我觉得你还是干脆直接打最新的补丁包好了(挨个查很烦的),我这边的补丁包版本如下:
# swlist | grep -i qpk
  QPKAPPS                       B.11.23.0712.070a Applications Patches for HP-UX
11i v2, December 2007
  QPKBASE                       B.11.23.0712.070a Base Quality Pack Bundle for H
P-UX 11i v2, December 2007

论坛徽章:
0
8 [报告]
发表于 2011-08-19 17:17 |只看该作者
这边的还真有PHCO_34599这个补丁。这边的一些补丁版本如下:

  PHCO_34599            1.0            l ...
lbseraph 发表于 2011-08-19 14:11



看来,我们在一步一步 接近解决问题的真相 。。。。。 看来要打补丁 。。。。。
老大 ,你有QQ 吗 ,发消息给我 ,我加你 ,我向你要补丁 , 多谢多谢了。。。。。

论坛徽章:
0
9 [报告]
发表于 2011-08-27 10:01 |只看该作者
问题解决了,我装了 新版本的 HP UNIX 11i.v23 , 里面有相关补丁包 ,现在 GCC 已经搞定了。

论坛徽章:
0
10 [报告]
发表于 2011-09-14 10:34 |只看该作者
问题解决了,我装了 新版本的 HP UNIX 11i.v23 , 里面有相关补丁包 ,现在 GCC 已经搞定了。
lvd123456 发表于 2011-08-27 10:01



    QPKAPPS                       B.11.23.0712.070a Applications Patches for HP-UX
11i v2, December 2007
  QPKBASE                       B.11.23.0712.070a Base Quality Pack Bundle for H
P-UX 11i v2, December 2007


<==请教各位,这个B11.23 是不是指这两个QPK只是给HPUX11.23 而已。 在HPUX 11.11是不是无法使用的???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP