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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
ubuntu701
帖子: 197
注册时间: 2006-10-22 17:45

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

#1

帖子 ubuntu701 » 2007-05-06 15:57

安装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就出错了。
我该怎么解决呢?请高手不吝赐教!
上次由 ubuntu701 在 2007-05-06 17:18,总共编辑 1 次。
头像
ubuntu701
帖子: 197
注册时间: 2006-10-22 17:45

#2

帖子 ubuntu701 » 2007-05-06 16:23

===
wkt
帖子: 849
注册时间: 2006-09-07 22:51
联系:

#3

帖子 wkt » 2007-05-06 16:24

我想可能是权限问题
C compiler cannot create executables
头像
ubuntu701
帖子: 197
注册时间: 2006-10-22 17:45

#4

帖子 ubuntu701 » 2007-05-06 16:28

用root也不行呀!
好像是C编译器的问题吧,怎么办好呢?
wkt
帖子: 849
注册时间: 2006-09-07 22:51
联系:

#5

帖子 wkt » 2007-05-06 16:48

你是怎样安装gcc的?
apt-get isntall gcc or apt-get install build-essential
建议用后者
头像
xxmcs
帖子: 64
注册时间: 2007-03-09 19:25
来自: Henan Province

#6

帖子 xxmcs » 2007-05-06 16:56

对,C编译器问题,sudo apt-get install build-essential应该能解决问题。
sudo apt-get install windows xp
---------------------------------------
MY Blog:http://blog.wutongs.com
头像
ubuntu701
帖子: 197
注册时间: 2006-10-22 17:45

#7

帖子 ubuntu701 » 2007-05-06 17:16

谢谢wkt!问题解决。
回复