Configure: error: C compiler cannot create executables是什么意思?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 163
- 注册时间: 2007-03-05 16:52
Configure: error: C compiler cannot create executables是什么意思?
我在安装 fcitx 的时候,运行了 ./configure -prefix=/usr
结果有一个提示错误:
david@david-linux:~/fcitx-3.4.2$ sudo ./configure -prefix=/usr
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... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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 && make install 的时候提示
david@david-linux:~/fcitx-3.4.2$ sudo make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
结果就无法安装上 fcitx 了。
谢谢指点一下。
结果有一个提示错误:
david@david-linux:~/fcitx-3.4.2$ sudo ./configure -prefix=/usr
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... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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 && make install 的时候提示
david@david-linux:~/fcitx-3.4.2$ sudo make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
结果就无法安装上 fcitx 了。
谢谢指点一下。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- sinoyster
- 帖子: 958
- 注册时间: 2005-10-16 13:24
- 来自: 四川成都
- 联系:
-
- 帖子: 163
- 注册时间: 2007-03-05 16:52
-
- 帖子: 163
- 注册时间: 2007-03-05 16:52
四处找了一下资料,才发现有个东西没有安装。
运行下面的命令就可以了,然后这个错误就没有了。
apt-get install libc6-dev
不过可惜的是又出来了更多的错误。呵呵。
都是像下面这个样子的一些错误提示:
FrameMgr.c:1844: error: ‘struct _Iter’ has no member named ‘cm’
FrameMgr.c:1847: error: ‘struct _Iter’ has no member named ‘cm’
FrameMgr.c:1858: error: ‘struct _Iter’ has no member named ‘allow_expansion’
运行下面的命令就可以了,然后这个错误就没有了。
apt-get install libc6-dev
不过可惜的是又出来了更多的错误。呵呵。
都是像下面这个样子的一些错误提示:
FrameMgr.c:1844: error: ‘struct _Iter’ has no member named ‘cm’
FrameMgr.c:1847: error: ‘struct _Iter’ has no member named ‘cm’
FrameMgr.c:1858: error: ‘struct _Iter’ has no member named ‘allow_expansion’
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 163
- 注册时间: 2007-03-05 16:52
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 19
- 注册时间: 2007-03-20 10:32
- 来自: 北京
- 联系:
能上网,但浏览器打不开网页怎么回事?
我安装的是ubuntu 6.10用ADSL上的网.但浏览器打不开网页怎么回事?
弄两天了好不容易把adsl弄好了,浏览器却打不开网页,真急人,新立得管理器能下载和安装软件
请高手帮帮我...
弄两天了好不容易把adsl弄好了,浏览器却打不开网页,真急人,新立得管理器能下载和安装软件
请高手帮帮我...
-
- 帖子: 163
- 注册时间: 2007-03-05 16:52
- jarlyyn
- 帖子: 4671
- 注册时间: 2006-04-12 18:54
- 联系: