LinuxSir.cn,穿越时空的Linuxsir!

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

無法安裝任何軟件了

[复制链接]
发表于 2010-3-29 15:17:12 | 显示全部楼层 |阅读模式
不知道怎麽搞的。emerge -av gentoolkit
* ERROR: app-misc/realpath-1.15 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line  54:  Called src_compile
*   environment, line 2271:  Called die
* The specific snippet of code:
*       emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-misc/realpath-1.15',
* the complete build log and the output of 'emerge -pqv =app-misc/realpath-1.15'.
* The complete build log is located at '/var/tmp/portage/app-misc/realpath-1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/realpath-1.15/temp/environment'.
* S: '/var/tmp/portage/app-misc/realpath-1.15/work/realpath-1.15'

然後我根據提示運行
emerge --info =app-misc/realpath-1.15

!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, [unavailable], glibc-2.11-r1, 2.6.33-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-i686-AMD_Athlon-tm-_II_X4_630_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 29 Mar 2010 05:45:02 +0000
app-shells/bash:     4.1_p2-r1
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo/"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh_TW"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk iconv jpeg ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff truetype unicode usb v4l vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh_TW" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

第一句就說我沒有GCC,我試了下gcc -V

* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'gcc'

好像不對啊,于是我cd 到了/usr/bin裏,一看,有GCC,GCC-4.4.3,而GCC-4.4.3軟鏈到/usr/i686-pc-linux-gnu/gcc-bin/4.4.3/i686-pc-linux-gnu-gcc

不管他什麽版本,只要我好裝軟件就行,所以我就把原來的GCC更名備份,把GCC-4,4,3更名為GCC。

GCC -V後顯示了版本號和一些亂七八糟的信息。
貌似解決了。于是我又emerge -av gentoolkit

* ERROR: app-misc/realpath-1.15 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line  54:  Called src_compile
*   environment, line 2271:  Called die
* The specific snippet of code:
*       emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-misc/realpath-1.15',
* the complete build log and the output of 'emerge -pqv =app-misc/realpath-1.15'.
* The complete build log is located at '/var/tmp/portage/app-misc/realpath-1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/realpath-1.15/temp/environment'.
* S: '/var/tmp/portage/app-misc/realpath-1.15/work/realpath-1.15'


依然出錯,我沒辦法了。
 楼主| 发表于 2010-3-29 15:41:04 | 显示全部楼层
肯定是ETC-UPDATE出錯了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-29 15:43:36 | 显示全部楼层
算了,我重裝好了,這麽急的問題居然無人理我。呵呵,這此就返回X86算了。不折騰。原來就是X86,想用~X86能支持BLUETOOTH,誰知道出這麽大的亂子。
回复 支持 反对

使用道具 举报

发表于 2010-3-29 15:58:17 | 显示全部楼层
试试其它网上的提示:
第一步:"gcc-config -l"reports that your gcc profile is invalid:
# gcc-config -l
第二步:Trying to switch gcc profiles with "gcc-config 1"(其中1是第一步的结果序号)
# gcc-fonfig 1

原网址
http://www.clan-elite.info/forum ... ;id=9039#postid9039
回复 支持 反对

使用道具 举报

发表于 2010-3-29 15:58:48 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2010-3-29 16:10:29 | 显示全部楼层


比人肉还猛
---
至少要有 6 个英文字符或汉字。
回复 支持 反对

使用道具 举报

发表于 2010-3-29 16:49:44 | 显示全部楼层


恩,原来是这样子
回复 支持 反对

使用道具 举报

发表于 2010-3-29 17:36:09 | 显示全部楼层
看来以后要坚持上论坛,不能三天打鱼两天晒网。这么多精彩帖子我居然一个都没碰到。

PS:我在给人回复的时候总是说“看手册”会不会给人感觉很不友好?
回复 支持 反对

使用道具 举报

发表于 2010-3-29 18:06:56 | 显示全部楼层
酱紫哦
qqqqq
回复 支持 反对

使用道具 举报

发表于 2010-3-30 05:58:19 | 显示全部楼层
回来本来也应欢迎的,不过态度还是老样子。
回复 支持 反对

使用道具 举报

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

本版积分规则

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