Chinaunix

标题: 新手求助127错误是什么意思? [打印本页]

作者: 龙行九天    时间: 2006-06-15 22:06
标题: 新手求助127错误是什么意思?
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。
作者: 龙行九天    时间: 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#
作者: isjfk    时间: 2006-06-16 11:55
把你的 LC_ALL 和 LANG 设成 zh_CN.eucCN 试试
作者: zero-B    时间: 2006-06-16 12:08
我当前的gettext的版本是gettext-0.14.5_2,你去下载一个gettext-0.14.5.tbz来安装看看?
作者: 龙行九天    时间: 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位。我再试试




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2