分页: 1 / 1

高手帮我看看configure后的这2段错误代码

发表于 : 2006-06-05 21:40
muyufan
刚开始

代码: 全选

checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.



然后我装了 gcc 和 make

出现

代码: 全选

checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
[color=red]checking for C compiler default output file name... configure: error: C compiler cannot create executables[/color]
还有 什么要装的马

发表于 : 2006-06-05 22:31
oneleaf
在 sudo 下执行试试?

发表于 : 2006-06-17 2:50
aubrey
sudo可能解决不了问题。
你需要安装build-essential包。
如果已经安装,先remove掉,然后再重新安装一下。

$ sudo apt-get remove build-essential

then
$ sudo apt-get install build-essential

Hope it's helpful for you.