免费注册 查看新帖 |

Chinaunix

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

有谁在HP-UX 11下编译过OpenSSL的? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-24 23:15 |只看该作者 |正序浏览
在HP-UX11下编译OpenSSL 0.9.7e,遇到以下问题:

执行./Configure hpux-parisc-cc,报:
Can't locate strict.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1
/opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib
/site_perl/5.005 .) at ./Configure line 9.
BEGIN failed--compilation aborted at ./Configure line 9.
检查Configure文件,发现第9句是
    use strict;
试着把这句注释掉,执行./Configure能成功。接着就是make,但又出现以下错误:
making all in crypto/objects...
        /usr/contrib/bin/perl objects.pl objects.txt obj_mac.num obj_mac.h
        /usr/contrib/bin/perl obj_dat.pl obj_mac.h obj_dat.h
Can't locate integer.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.
1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/li
b/site_perl/5.005 .) at obj_dat.pl line 5.
BEGIN failed--compilation aborted at obj_dat.pl line 5.
*** Error exit code 2

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1
这下可真是没辙了!

有谁成功编译过的,讲讲经验!

招聘 : 系统集成
论坛徽章:
0
13 [报告]
发表于 2006-02-27 11:26 |只看该作者
到hp网站上找T1471AA安装好了  openssl

swinstall –s /depot/T1471AA_A.04.20.004_HP-UX_B.11.11_32+64.depot

论坛徽章:
0
12 [报告]
发表于 2006-01-03 12:36 |只看该作者

遇到相同问题,安装perl_D.5.8.3.C_HP-UX_B.11.11_32+64.depot通过

我在运行./Configure hpux-parisc-cc时遇到一楼相同问题
在INSTTALL文件中,第一页说需要 Perl 5,我查了一下:
# what /opt/perl/bin/perl
/opt/perl/bin/perl:
        $Revision: 92453-07 linker linker crt0.o B.11.37 040219 $
感觉好象不是,安装了perl_D.5.8.3.C_HP-UX_B.11.11_32+64.depot问题不出现了

但make时,又有新问题了:
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: "../include/openssl/stack.h", line 73: error 1000: Unexpected symb
ol: "char".
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: "../include/openssl/stack.h", line 73: warning 5: "const" will bec
ome a keyword.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

检查了一下cc:
# ls -l /usr/bin/cc
lrwxr-xr-t   1 root       sys             15 Aug 11 11:49 /usr/bin/cc -> /usr/ccs/bin/cc
# ls -l /usr/ccs/bin/cc
lrwxr-xr-x   1 root       sys             12 Aug 11 11:27 /usr/ccs/bin/cc -> ./cc_bundled
# ls -l /usr/ccs/bin/cc_bundled
-r-xr-xr-x   1 bin        bin         258048 Nov 14  2000 /usr/ccs/bin/cc_bundled


在Makefile中将CC=cc全部改成了CC=aCC,make时,出现了一堆Warning,不知道是否还会有问题,其中一段为:
Warning 67: "/usr/include/math.h", line 224 # Invalid pragma name:
    'no_side_effects' (ignored).
    #    pragma NO_SIDE_EFFECTS _Signbit, _Signbitf, _Isnanf, _Isinf, _Isinff
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 67: "/usr/include/math.h", line 225 # Invalid pragma name:
    'no_side_effects' (ignored).
    #    pragma NO_SIDE_EFFECTS _Isfinite, _Isfinitef, _Isnormal, _Isnormalf, _I
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
先写到这,机器很慢,给我的感觉make好象需要一年时间,不太爽。

论坛徽章:
0
11 [报告]
发表于 2006-01-03 09:57 |只看该作者
原帖由 wolfg 于 2006-1-2 19:12 发表


我编译时用的是aCC


那我改天再用aCC试试。
起先是用gcc编译的,但编译不过去

论坛徽章:
0
10 [报告]
发表于 2006-01-02 19:12 |只看该作者
原帖由 sunlan 于 2006-1-2 11:53 发表


是系统自带的
能完成libcrypto.a的编译,但无法完成其余部分的编译


我编译时用的是aCC

论坛徽章:
0
9 [报告]
发表于 2006-01-02 11:53 |只看该作者
原帖由 wolfg 于 2005-12-26 20:12 发表
你的cc是什么版的?是系统自带的还是aCC


是系统自带的
能完成libcrypto.a的编译,但无法完成其余部分的编译

[ 本帖最后由 sunlan 于 2006-1-2 11:55 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2005-12-26 20:12 |只看该作者
你的cc是什么版的?是系统自带的还是aCC

论坛徽章:
0
7 [报告]
发表于 2005-12-26 16:27 |只看该作者
原帖由 wolfg 于 2005-12-26 10:51 发表
安装perl 5.8试试


安装perl 5.8应该可以解决前面两个问题,但好象不能解决最后一个问题:
cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal 11.

论坛徽章:
0
6 [报告]
发表于 2005-12-26 10:51 |只看该作者
安装perl 5.8试试

论坛徽章:
0
5 [报告]
发表于 2005-12-25 22:36 |只看该作者
up
  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP