在Debian中./configure出错
今天刚从MagicLinux转回Debian.安装了一个Debian 3.1r4,装了KDE3.3.2
当我编译一些程序的时候,每次./configure都会出现如下错误
./configure
.......
checking for X... configure: error: Can't find X includes. Please checkyour installation and add the correct paths!
(我要编译的一些程序,都是在MagicLinux2里面顺利编译通过的.)
我菜鸟一个,不知何故. 望各位Debian达人指点一二.
Can't find X includes
这不是很明白了吗?
就是说需要一些.h 而你没有
安装相应的包
我要编译的一些程序,都是在MagicLinux2里面顺利编译通过的
ml默认安装了很多的东西
如果还是不能通过的话就太不行了?? 安装什么包? 装了xorg-X11-devel
上面的问题解决了.
又来了个
./configure
.....
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... no
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. apt-get installlibxext6libxext-dev
试试 你正在编译某段程序,突然,停住了!一条错误信息报告说你没有它需要的.h头文件。让auto-apt来救你吧,它问你是否要安装需要的软件包,然后挂起编译进程,安装好软件包后再恢复编译进程。
你所要做的仅仅是:
# auto-apt run command
这里“command”指在运行过程中可能出现“需求文件不存在”问题的命令。例如:
# auto-apt run ./configure
一会儿,它就会告诉你要安装所需的软件包并自动转到apt-get处理。如果你正在运行X,就会一个图形界面提示窗口。
为了提高效率auto-apt所用的数据库需要实时更新。可调用 auto-apt update,auto-apt updatedb和 auto-apt update-local来完成更新。
http://www.debian.org/doc/manuals/apt-howto/ch-search.zh-cn.html#s-auto-apt 实际上,auto-apt 不是很好用??
帮不了什么忙??
页:
[1]