[求助]编译fcitx出错: C compiler cannot create executables

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

[求助]编译fcitx出错: C compiler cannot create executables

#1

帖子 dsdsdds » 2007-06-27 0:13

想编译一下3.5版,没想到:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-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.

该怎么办呢?
授人以鱼,不如授人以渔。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-06-27 0:18

C compiler cannot create executables 搜索
config.log 看
基本有几种情况
● 鸣学
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#3

帖子 karron » 2007-06-27 8:47

sudo apt-get build-dep fcitx 先把编译fcitx所需的库装上.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
dsdsdds
帖子: 523
注册时间: 2007-04-05 21:22

#4

帖子 dsdsdds » 2007-06-27 14:29

karron:
按照你的方法做,得到:

sudo apt-get build-dep fcitx
Password:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
E: 您必须在您的 sources.list 写入一些“软件包源”的 URI
授人以鱼,不如授人以渔。
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#5

帖子 karron » 2007-06-27 17:05

去看wiki里面的快速设置指南, 把源修改一下。
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
duanyong
帖子: 73
注册时间: 2007-05-17 9:38

Re: [求助]编译fcitx出错: C compiler cannot create executables

#6

帖子 duanyong » 2009-01-13 22:20

文章标题 :
帖子发表于 : 2007-06-27 8:47 new file
头像

注册: 2005-06-11 14:03
帖子: 6156
地址: 不明真相的群众
sudo apt-get build-dep fcitx 先把编译fcitx所需的库装上.


_________________
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.


sudo apt-get build-dep fcitx?--> 这句是什么意思呢?
回复