免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] 新手求助127错误是什么意思? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-15 22:06 |只看该作者 |倒序浏览
apache1.3.36+ssl
用ports安装,正常
mod_php4
用ports安装,正常
再用ports安装php4-ex......(忘了怎么拼了,反正就那个扩展吧),就出问题了
编译的时候 到了gettext的时候出现eorre code 127
于是手工安装gettext,结果出现同样错误。
在makefile找到错误的那个语句,去掉 :0 后,出现126错误
问下问题出到哪儿了?谢谢。
ps:刚pkg_add装了kde桌面,cvsup更新了ports。

论坛徽章:
0
2 [报告]
发表于 2006-06-16 11:50 |只看该作者
local# cd /usr/ports/lang/php4-extensions
local# ls
Makefile        pkg-descr
local# make install
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php4-extensions-1.0
===>  Extracting for php4-extensions-1.0
===>  Patching for php4-extensions-1.0
===>   php4-extensions-1.0 depends on file: /usr/local/include/php/main/php.h - found
===>   php4-extensions-1.0 depends on file: /usr/local/lib/php/20020429/bcmath.so - not found
===>    Verifying install for /usr/local/lib/php/20020429/bcmath.so in /usr/ports/math/php4-bcmath
===>   php4-bcmath-4.4.2_2 depends on executable: phpize - found
===>   php4-bcmath-4.4.2_2 depends on file: /usr/local/bin/autoconf259 - not found
===>    Verifying install for /usr/local/bin/autoconf259 in /usr/ports/devel/autoconf259
===>  Vulnerability check disabled, database not found
===>  Extracting for autoconf-2.59_2
=> MD5 Checksum OK for autoconf-2.59.tar.bz2.
=> SHA256 Checksum OK for autoconf-2.59.tar.bz2.
===>   autoconf-2.59_2 depends on file: /usr/local/bin/perl5.8.8 - found
tar: Failed to set default locale
===>  Patching for autoconf-2.59_2
===>   autoconf-2.59_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for autoconf-2.59_2
===>   autoconf-2.59_2 depends on executable: gm4 - found
===>   autoconf-2.59_2 depends on executable: help2man - not found
===>    Verifying install for help2man in /usr/ports/misc/help2man
===>  Vulnerability check disabled, database not found
===>  Extracting for help2man-1.36.3
=> MD5 Checksum OK for help2man-1.36.3.tar.gz.
=> SHA256 Checksum OK for help2man-1.36.3.tar.gz.
===>   help2man-1.36.3 depends on file: /usr/local/bin/perl5.8.8 - found
tar: Failed to set default locale
===>  Patching for help2man-1.36.3
===>   help2man-1.36.3 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for help2man-1.36.3
===>   help2man-1.36.3 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm in /usr/ports/devel/p5-Locale-gettext
===>  Vulnerability check disabled, database not found
===>  Extracting for p5-gettext-1.05_1
=> MD5 Checksum OK for gettext-1.05.tar.gz.
=> SHA256 Checksum OK for gettext-1.05.tar.gz.
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.8 - found
tar: Failed to set default locale
===>  Patching for p5-gettext-1.05_1
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for p5-gettext-1.05_1
===>   p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   p5-gettext-1.05_1 depends on shared library: intl - found
===>  Configuring for p5-gettext-1.05_1
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "zh_CN.EUC",
        LANG = "zh_CN.EUC"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
checking for gettext... no
checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for dgettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for ngettext in -L/usr/local/lib -lintl -I/usr/local/include... yes
checking for bind_textdomain_codeset in -L/usr/local/lib -lintl -I/usr/local/include... yes
Unable to find a perl 5 (by these names: /usr/local/bin/perl5.8.8 perl perl5 perl5.8.8 miniperl, in these dirs: /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin /root/bin /usr/local/bin)
Writing Makefile for Locale::gettext
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "zh_CN.EUC",
        LANG = "zh_CN.EUC"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
===>  Building for p5-gettext-1.05_1
/usr/ports/devel/p5-Locale-gettext/work/gettext-1.05/0: not found
*** Error code 127

Stop in /usr/ports/devel/p5-Locale-gettext/work/gettext-1.05.
*** Error code 1

Stop in /usr/ports/devel/p5-Locale-gettext.
*** Error code 1

Stop in /usr/ports/misc/help2man.
*** Error code 1

Stop in /usr/ports/devel/autoconf259.
*** Error code 1

Stop in /usr/ports/math/php4-bcmath.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
local#

论坛徽章:
0
3 [报告]
发表于 2006-06-16 11:55 |只看该作者
把你的 LC_ALL 和 LANG 设成 zh_CN.eucCN 试试

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-10-05 06:20:00操作系统版块每日发帖之星
日期:2015-10-05 06:20:00
4 [报告]
发表于 2006-06-16 12:08 |只看该作者
我当前的gettext的版本是gettext-0.14.5_2,你去下载一个gettext-0.14.5.tbz来安装看看?

论坛徽章:
0
5 [报告]
发表于 2006-06-16 14:47 |只看该作者
原帖由 zero-B 于 2006-6-16 12:08 发表
我当前的gettext的版本是gettext-0.14.5_2,你去下载一个gettext-0.14.5.tbz来安装看看?

单独装gettext没问题。上边的问题好像是
p5-Locale-gettext/work/gettext-1.05
这个装不上。
谢谢楼上的2位。我再试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP