LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 939|回复: 3

求助:从2006.0升级到Gentoo2006.1的过程出错.....

[复制链接]
发表于 2006-10-7 23:07:26 | 显示全部楼层 |阅读模式
已经半年左右没有用Gentoo了,今天更新portage才发现2006.1已经出了一个月多,在升级的过程:
rm /etc/make.profile
ln -s /usr/portage/profiles/default-linux/x86/2006.1/desktop /etc/make.profile
emerge -e system
中出现了个错误:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/db-4.3.29-r2/work/db-4.3.29/build_unix ...
QA Notice: USE Flag 'userland_GNU' not in IUSE for sys-libs/db-4.3.29-r2
configure: WARNING: you should use --build, --host, --target
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... yes
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-mutexalign=ALIGNMENT option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for i686-pc-linux-gnu-ar... no
checking for ar... missing_ar
configure: error: No ar utility found.

!!! ERROR: sys-libs/db-4.3.29-r2 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  db-4.3.29-r2.ebuild, line 109:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info


emerge --info如下:
Portage 2.1_rc3 (default-linux/x86/2006.1/desktop, gcc-4.1.0, glibc-2.4-r1, 2.6.16-ck6-r1 i686)
=================================================================
System uname: 2.6.16-ck6-r1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://61.135.158.199"
LANG="zh_CN.utf8"
LC_ALL="zh_CN.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apic ati berkdb bitmap-fonts cairo cjk cli cmov crypt cx8 dbus de dlloader dri emacs encode esd fam firefox fortran fpu fxsr gdbm gif gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg ldap libg++ libwww mad mca mce mikmod mmx mmxext motif mp3 mpeg msr mtrr ncurses nls nptl nptlonly ogg opengl oss pae pam pat pcre perl pge png ppds pppd pse pse36 python quicktime readline reflection sdl sep session spell spl sse ssl syscall tcpd truetype truetype-fonts ts tsc type1-fonts udev unicode vme vorbis win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


查了半天也没查出来缺的ar utility是什么.......
请知情的告诉下,谢谢了
发表于 2006-10-7 23:23:25 | 显示全部楼层
首先你得升级系统,emerge -uD system,然后才emerge -e system。
回复 支持 反对

使用道具 举报

发表于 2006-10-8 01:25:19 | 显示全部楼层
不是很清楚么
没有ar啊
不过有点奇怪,binutils不可能没有的啊
回复 支持 反对

使用道具 举报

发表于 2006-10-13 19:59:25 | 显示全部楼层
我是在emerge -e world的时候碰到这个问题的,搞不懂,希望路过的大侠指点一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表