LinuxSir.cn,穿越时空的Linuxsir!

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

emerge安装软件失败,求助!!!

[复制链接]
发表于 2006-4-7 23:21:51 | 显示全部楼层 |阅读模式
用emerge安装软件时出现如下的提示

checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/patch-2.5.9/work/patch-2.5.9/config.log

!!! ERROR: sys-devel/patch-2.5.9 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
请各位大侠指点迷津!!!!急呀!现在什么都装不上了!!!!
发表于 2006-4-8 07:40:40 | 显示全部楼层
大多都是工具链出了问题,想办法从二进制发行包安装三个软件binutils,glibc,gcc,再重新构建新的编译工具链。
回复 支持 反对

使用道具 举报

发表于 2006-4-8 12:05:36 | 显示全部楼层
你用emerge sync 一下,可能是版本不同步.
回复 支持 反对

使用道具 举报

发表于 2006-4-8 17:15:43 | 显示全部楼层
/etc/make.conf贴贴看。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 17:18:51 | 显示全部楼层
查查你的cflags.有可能是
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 02:38:15 | 显示全部楼层
各位大虾!现在又出了新问题!!!!提示如下:


* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: media-sound/alsa-driver-1.0.11_rc4 failed.
!!! Function linux-info_pkg_setup, Line 537, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
求各位帮忙!我都快疯 了!!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 02:38:15 | 显示全部楼层
各位大虾!现在又出了新问题!!!!提示如下:


* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: media-sound/alsa-driver-1.0.11_rc4 failed.
!!! Function linux-info_pkg_setup, Line 537, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
求各位帮忙!我都快疯 了!!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-10 02:38:58 | 显示全部楼层
各位大虾!现在又出了新问题!!!!提示如下:


* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: media-sound/alsa-driver-1.0.11_rc4 failed.
!!! Function linux-info_pkg_setup, Line 537, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message.
求各位帮忙!我都快疯 了!!!!!
回复 支持 反对

使用道具 举报

发表于 2006-4-10 17:30:06 | 显示全部楼层
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
这应该是说找不到内核配置文件吧? alsa-driver安装的时候需要内核的配置文件,具体步骤可以去看gentoo的alsa guide,里面说的挺详细的,建议仔细看看
回复 支持 反对

使用道具 举报

发表于 2006-4-10 17:40:13 | 显示全部楼层
编译过内核没有?
没有编译过自然没有.config
回复 支持 反对

使用道具 举报

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

本版积分规则

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