装了一个ubuntu系统。每次装tar.gz类型文件的时候需要./configure。每次都不能成功编译。不知道什么原因
报错:
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 whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for python... /usr/bin/python
checking for version... 2.5
checking for platform... linux2
checking for gconftool-2... /usr/bin/gconftool-2
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking for intltool >= 0.21... 0.30 found
checking for perl... /usr/bin/perl
checking for XML: arser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
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.
===================================================
有人要我重装gcc但是也不成功。出现以下错误。
administrator@administrator-desktop:~/桌面$ sudo apt-get build-dep gcc
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
E: 无法打开文件 /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_universe_source_Sources - open (2 No such file or directory)
----------------------------------------------------
请问到底要怎么样解决上述2个错误。求解答
./configure时候出的问题
-
- 帖子: 7
- 注册时间: 2008-08-03 15:34