xie_xch 发表于 2004-8-23 15:54:57

求助:emerge 时 c编译器不能

不知道碰到那儿了,现在emerge 不工作了,好像是环境变量的问题,请帮我看看:

错误信息:

>>> emerge (1 of 2) sys-devel/libperl-5.8.4 to /
>>> md5 src_uri ;-) perl-5.8.4.tar.gz
*
* PLEASE NOTE: If you want to compile perl-5.8 with
* threading enabled , you must restart this emerge
* with USE=threads emerge....
* Threading is not supported by all applications
* that compile against perl. You use threading at
* your own discretion.
*
>>> Unpacking source...
>>> Unpacking perl-5.8.4.tar.gz to /var/tmp/portage/libperl-5.8.4/work
* Applying libperl-5.8.4-create-libperl-soname.patch...                  [ ok ] * Applying libperl-5.8.4-noksh.patch...                                  [ ok ]>>> Source unpacked.
gdbm
berkdb
First let's make sure your kit is complete.Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
cc1: /usr/local/include: Not a directory
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.

!!! ERROR: sys-devel/libperl-5.8.4 failed.
!!! Function src_compile, Line 206, Exitcode 1
!!! (no error message)

nerdstyle 发表于 2004-8-23 17:40:23

你是用哪个stage包安装的?

GCC是bootstrap就装好了把~~~
页: [1]
查看完整版本: 求助:emerge 时 c编译器不能