安装busybox出错
时间:2007-01-26
来源:互联网
准备从stage3开始重新安装gentoo,但到busybox这里一直过不去
emerge -ev system
....
>>> Emerging (12 of 31) sys-apps/busybox-1.2.2.1 to /
>>> Downloading 'http://61.135.158.199/distfiles/busybox-1.2.2.1.tar.bz2'
--10:53:38-- http://61.135.158.199/distfiles/busybox-1.2.2.1.tar.bz2
=> `/usr/portage/distfiles/busybox-1.2.2.1.tar.bz2'
Connecting to 61.135.158.199:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,413,458 (1.3M) [application/x-tar]
100%[========================================================================================>] 1,413,458 94.92K/s ETA 00:00
10:53:50 (107.16 KB/s) - `/usr/portage/distfiles/busybox-1.2.2.1.tar.bz2' saved [1413458/1413458]
>>> Unpacking source...
>>> Unpacking busybox-1.2.2.1.tar.bz2 to /var/tmp/portage/busybox-1.2.2.1/work
* Applying bb.patch ... [ ok ]
* Applying gcc2.patch ... [ ok ]
* # CONFIG_DMALLOC is not set
* # CONFIG_FEATURE_SUID_CONFIG is not set
* # CONFIG_BUILD_AT_ONCE is not set
* # CONFIG_BUILD_LIBBUSYBOX is not set
* CONFIG_FEATURE_SH_IS_ASH=y
* # CONFIG_FEATURE_SH_IS_NONE is not set
* # CONFIG_STATIC is not set
* # CONFIG_DEBUG is not set
* # CONFIG_SELINUX is not set
* # CONFIG_LOCALE_SUPPORT is not set
* # CONFIG_TFTP is not set
* # CONFIG_FTPGET is not set
* # CONFIG_FTPPUT is not set
* # CONFIG_IPCALC is not set
* # CONFIG_TFTP is not set
* # CONFIG_HUSH is not set
* # CONFIG_LASH is not set
* # CONFIG_MSH is not set
* # CONFIG_INETD is not set
* # CONFIG_DPKG is not set
* # CONFIG_RPM2CPIO is not set
* # CONFIG_RPM is not set
* # CONFIG_FOLD is not set
* # CONFIG_LOGNAME is not set
* # CONFIG_OD is not set
* # CONFIG_CRONTAB is not set
* # CONFIG_UUDECODE is not set
* # CONFIG_UUENCODE is not set
* # CONFIG_SULOGIN is not set
* # CONFIG_DC is not set
* # CONFIG_DEBUG_YANK_SUSv2 is not set
* # CONFIG_DEBUG_INIT is not set
* # CONFIG_DEBUG_CROND_OPTION is not set
* # CONFIG_FEATURE_UDHCP_DEBUG is not set
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/busybox-1.2.2.1/work/busybox-1.2.2.1 ...
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
HOSTLINK scripts/bb_mkdep
HOSTLINK scripts/usage
GEN include/bbconfigopts.h
GEN .depend
CC applets/applets.o
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make: *** [/var/tmp/portage/busybox-1.2.2.1/work/busybox-1.2.2.1/applets/applets.o] Error 127
!!! ERROR: sys-apps/busybox-1.2.2.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
busybox-1.2.2.1.ebuild, line 176: Called die
!!! build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
请问这是什么原因啊
用的是stage3-x86-2006.0.tar
/etc/make.conf
#CFLAGS="-O2 -mtune=i686 -pipe"
#CHOST="i386-pc-linux-gnu"
#CXXFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
LINGUAS="zh_CN en"
MAKEOPTS="-j2"
PORTAGE_NICENESS="10"
PORTAGE_TMPFS="/dev/shm"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="61.135.158.199"
emerge -ev system
....
>>> Emerging (12 of 31) sys-apps/busybox-1.2.2.1 to /
>>> Downloading 'http://61.135.158.199/distfiles/busybox-1.2.2.1.tar.bz2'
--10:53:38-- http://61.135.158.199/distfiles/busybox-1.2.2.1.tar.bz2
=> `/usr/portage/distfiles/busybox-1.2.2.1.tar.bz2'
Connecting to 61.135.158.199:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,413,458 (1.3M) [application/x-tar]
100%[========================================================================================>] 1,413,458 94.92K/s ETA 00:00
10:53:50 (107.16 KB/s) - `/usr/portage/distfiles/busybox-1.2.2.1.tar.bz2' saved [1413458/1413458]
>>> Unpacking source...
>>> Unpacking busybox-1.2.2.1.tar.bz2 to /var/tmp/portage/busybox-1.2.2.1/work
* Applying bb.patch ... [ ok ]
* Applying gcc2.patch ... [ ok ]
* # CONFIG_DMALLOC is not set
* # CONFIG_FEATURE_SUID_CONFIG is not set
* # CONFIG_BUILD_AT_ONCE is not set
* # CONFIG_BUILD_LIBBUSYBOX is not set
* CONFIG_FEATURE_SH_IS_ASH=y
* # CONFIG_FEATURE_SH_IS_NONE is not set
* # CONFIG_STATIC is not set
* # CONFIG_DEBUG is not set
* # CONFIG_SELINUX is not set
* # CONFIG_LOCALE_SUPPORT is not set
* # CONFIG_TFTP is not set
* # CONFIG_FTPGET is not set
* # CONFIG_FTPPUT is not set
* # CONFIG_IPCALC is not set
* # CONFIG_TFTP is not set
* # CONFIG_HUSH is not set
* # CONFIG_LASH is not set
* # CONFIG_MSH is not set
* # CONFIG_INETD is not set
* # CONFIG_DPKG is not set
* # CONFIG_RPM2CPIO is not set
* # CONFIG_RPM is not set
* # CONFIG_FOLD is not set
* # CONFIG_LOGNAME is not set
* # CONFIG_OD is not set
* # CONFIG_CRONTAB is not set
* # CONFIG_UUDECODE is not set
* # CONFIG_UUENCODE is not set
* # CONFIG_SULOGIN is not set
* # CONFIG_DC is not set
* # CONFIG_DEBUG_YANK_SUSv2 is not set
* # CONFIG_DEBUG_INIT is not set
* # CONFIG_DEBUG_CROND_OPTION is not set
* # CONFIG_FEATURE_UDHCP_DEBUG is not set
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/busybox-1.2.2.1/work/busybox-1.2.2.1 ...
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
/bin/sh: i686-pc-linux-gnu-gcc: command not found
/bin/sh: i686-pc-linux-gnu-gcc: command not found
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
HOSTLINK scripts/bb_mkdep
HOSTLINK scripts/usage
GEN include/bbconfigopts.h
GEN .depend
CC applets/applets.o
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make: *** [/var/tmp/portage/busybox-1.2.2.1/work/busybox-1.2.2.1/applets/applets.o] Error 127
!!! ERROR: sys-apps/busybox-1.2.2.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
busybox-1.2.2.1.ebuild, line 176: Called die
!!! build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
请问这是什么原因啊
用的是stage3-x86-2006.0.tar
/etc/make.conf
#CFLAGS="-O2 -mtune=i686 -pipe"
#CHOST="i386-pc-linux-gnu"
#CXXFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
LINGUAS="zh_CN en"
MAKEOPTS="-j2"
PORTAGE_NICENESS="10"
PORTAGE_TMPFS="/dev/shm"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="61.135.158.199"
作者: yakczh 发布时间: 2007-01-26
gcc-config -l的结果是什么?
作者: gorf 发布时间: 2007-01-26
gcc-config -l
[1] i386-pc-linux-gnu-3.4.4 *
[2] i386-pc-linux-gnu-3.4.4-hardened
[3] i386-pc-linux-gnu-3.4.4-hardenednopie
[4] i386-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.4-hardenednossp
[6] i686-pc-linux-gnu-4.1.1
[1] i386-pc-linux-gnu-3.4.4 *
[2] i386-pc-linux-gnu-3.4.4-hardened
[3] i386-pc-linux-gnu-3.4.4-hardenednopie
[4] i386-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.4-hardenednossp
[6] i686-pc-linux-gnu-4.1.1
作者: yakczh 发布时间: 2007-01-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28