安装*.tar.gz软件包的问题
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 140
- 注册时间: 2005-10-05 23:33
- 来自: 北京
安装*.tar.gz软件包的问题
不知道这个是不是因为ubuntu有了apt-get 和新立得的软件安装的方式,
对于*.tar.gz软件包的安装变的比较麻烦,很多的库文件明明装了,却在这类
软件./configure的时候无法找到这些库文件。有没有哪位大侠写个详细的方法出来阿。给菜鸟一些指导
我安装qterm时候遇到的问题。
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your ins tallation and add the correct paths!
对于*.tar.gz软件包的安装变的比较麻烦,很多的库文件明明装了,却在这类
软件./configure的时候无法找到这些库文件。有没有哪位大侠写个详细的方法出来阿。给菜鸟一些指导
我安装qterm时候遇到的问题。
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your ins tallation and add the correct paths!
-
- 帖子: 140
- 注册时间: 2005-10-05 23:33
- 来自: 北京
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
-
- 帖子: 140
- 注册时间: 2005-10-05 23:33
- 来自: 北京
一个小小的qterm要求还那么多,真是郁闷阿
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
$sudo apt-get install libXext
ckages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_universe_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 无法获取源软件包列表 http://archive.ubuntu.org.cn hoary-backports/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_multiverse_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 无法获取源软件包列表 http://archive.ubuntu.org.cn hoary-backports/restricted Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_restricted_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 您可能需要运行 apt-get update 来解决这些问题
E: 无法找到软件包 libXext
$sudo apt-get install libxext
W: 您可能需要运行 apt-get update 来解决这些问题
E: 无法找到软件包 libxext
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
$sudo apt-get install libXext
ckages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_universe_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 无法获取源软件包列表 http://archive.ubuntu.org.cn hoary-backports/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_multiverse_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 无法获取源软件包列表 http://archive.ubuntu.org.cn hoary-backports/restricted Packages (/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_hoary-backports_restricted_binary-i386_Packages) 的状态 - stat (2 没有那个文件或目录)
W: 您可能需要运行 apt-get update 来解决这些问题
E: 无法找到软件包 libXext
$sudo apt-get install libxext
W: 您可能需要运行 apt-get update 来解决这些问题
E: 无法找到软件包 libxext
-
- 帖子: 140
- 注册时间: 2005-10-05 23:33
- 来自: 北京
-
- 帖子: 10
- 注册时间: 2005-05-24 22:48
- yonsan
- 帖子: 887
- 注册时间: 2005-07-01 18:56
- 来自: 广州市
-
- 帖子: 140
- 注册时间: 2005-10-05 23:33
- 来自: 北京
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
首先你updata了吗。
~$ cat /etc/apt/sources.list
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricted
#deb http://archive.ubuntu.org.cn/backports hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted
~$ cat /etc/apt/sources.list
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricted
#deb http://archive.ubuntu.org.cn/backports hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted
● 鸣学