免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2245 | 回复: 5

[OpenBSD] 设置了local,现在编译文件过不去了,求助!! [复制链接]

论坛徽章:
0
发表于 2008-11-13 17:04 |显示全部楼层
OpenBSD4.3,依照Chinaunix上的方法设置了local,现在编译文件过不去了,怎么办?

        Making DynaLoader (static_pic)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "zh_CN.eucCN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Processing hints file hints/openbsd.pl
Unable to find a perl 5 (by these names: ../../miniperl miniperl perl perl5 perl5.8.8, in these dirs: ../.. /usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/bin)
Writing Makefile for DynaLoader
/bin/sh: /usr/obj/gnu/usr.bin/perl/ext/DynaLoader/0: not found
*** Error code 127

Stop in /usr/src/gnu/usr.bin/perl/obj/ext/DynaLoader (line 422 of Makefile).
make config failed, continuing anyway...
/bin/sh: /usr/obj/gnu/usr.bin/perl/ext/DynaLoader/0: not found
*** Error code 127

Stop in /usr/src/gnu/usr.bin/perl/obj/ext/DynaLoader (line 422 of Makefile).
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/obj (line 605 of makefile).
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl (line 73 of /usr/src/gnu/usr.bin/perl/Makefile.bsd-wrapper).
*** Error code 1

Stop in /usr/src/gnu/usr.bin (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error code 1

Stop in /usr/src/gnu (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error code 1

Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk).
*** Error code 1

Stop in /usr/src (line 73 of Makefile).

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
发表于 2008-11-13 17:21 |显示全部楼层
我想这句才是关键:
Processing hints file hints/openbsd.pl
Unable to find a perl 5 (by these names: ../../miniperl miniperl perl perl5 perl5.8.8, in these dirs: ../.. /usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/bin)

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
发表于 2008-11-13 17:22 |显示全部楼层
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "zh_CN.eucCN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

也可以解决.

论坛徽章:
0
发表于 2008-11-13 18:27 |显示全部楼层
谢谢congli !


我的工作重点是系统管理,编译今天是第一次做。

我将.profile中的LANG = "zh_CN.eucCN"去掉,而LC_ALL 本来就没有设。这样编译就不会出问题了?


另外,我这是第一次编译文件,在变异过程中出现一些警告诸如:将unsigned long 转换成long,这是正常的吗?

[ 本帖最后由 h7yqsys00t 于 2008-11-13 18:30 编辑 ]

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
发表于 2008-11-13 19:59 |显示全部楼层
locale不会影响编译.
export PERL_BADLANG="C"即可解决下面问题.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "zh_CN.eucCN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

论坛徽章:
0
发表于 2008-11-14 11:06 |显示全部楼层
谢谢,问题解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP