分页: 1 / 1

[问题]同样是源码编译的问题,求解!(已解)

发表于 : 2007-05-06 15:57
ubuntu701
安装lame-3.97:

../lame-3.97$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


下面make就出错了。
我该怎么解决呢?请高手不吝赐教!

发表于 : 2007-05-06 16:23
ubuntu701
===

发表于 : 2007-05-06 16:24
wkt
我想可能是权限问题
C compiler cannot create executables

发表于 : 2007-05-06 16:28
ubuntu701
用root也不行呀!
好像是C编译器的问题吧,怎么办好呢?

发表于 : 2007-05-06 16:48
wkt
你是怎样安装gcc的?
apt-get isntall gcc or apt-get install build-essential
建议用后者

发表于 : 2007-05-06 16:56
xxmcs
对,C编译器问题,sudo apt-get install build-essential应该能解决问题。

发表于 : 2007-05-06 17:16
ubuntu701
谢谢wkt!问题解决。