checking for X... configure: error: Can't find X includes. Please check
> your installation and add the correct paths!
这事估计难办........我会在这篇博客中一直贴下去,知道问题解决!
2006-12-17
早上一起床就开Google搜索了一下,找导一篇文章:
[Kst] KDE 3.3 - cant find X includes
Matthew D Truch
matt at truch.net
Thu Mar 24 21:15:16 CET 2005
Previous message: [Kst] KDE 3.3 - cant find X includes
Next message: [Kst] KDE 3.3 - cant find X includes
> i'm trying to install KST under KDE 3.3 and i ran into an error that i > dont know what to do with. when i ran the ./configure, it got pretty far > through, but then i go this: > > checking for X... configure: error: Can't find X includes. Please check > your installation and add the correct paths! > > i did use --prefix=/opt to point to the kde install. i didnt install kst > in /usr/local but in my home directory...i dont think that's the problem. > > anyway, any pointers would be much appreciated! specifcally, where do i > change the paths to the X includes and how to i identify the path for the > X includes?
Is it possible that you don't have the devel packages for X installed?
For Suse, I believe the package is called xorg-x11-devel.
$rpm -q xorg-x11-devel
should tell you if it's there. Or if I'm wrong in the name, try
$rpm -qa |grep xorg
to see all the xorg packages you have installed. Look for something
with devel in the name.
If that's kosher, perhaps you just need to tell configure where Suse
put's it's X headers and libraries. Use the --with-extra-includes
and/or --with-extra-libs directives to ./configure. See
./configure --help for all the options you can pass it.
--
"In space, no one can hear you scream."
--------------------------
Matthew Truch
Department of Physics
Brown University matt at truch.net http://matt.truch.net/
根据大牛的说法,是装一个xorg-x11-devel
google一个,地址是
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/release/X11/xorg-x11-devel/
下载了个最新的,放到/,解压
tar -jxvf ......bz2
在解压的时候又发现了一个问题,不能解压bz2的包...唉....
我没工夫下载源码包编译了,apt-get intsll bzip2
解压OK了.
然后试着编译一个knetstats(一个在任务栏显示以太网联接状况的小程序,在http://www.kde-apps.org
上有下载)
cd knetstats
./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.
我操他NND!!!!刚解决了一个问题,又来了一个!
何为libXert!Debian老家给出了说法:
Package: libxext-dev (1:1.0.1-2)
X11 miscellaneous extensions library (development headers)
libXext provides an X Window System client interface to several extensions to
the X protocol.
The supported protocol extensions are:
- DOUBLE-BUFFER (DBE), the Double Buffer extension;
- DPMS, the VESA Display Power Management System extension;
- Extended-Visual-Information (EVI), an extension for gathering extra
information about the X server's visuals;
- LBX, the Low Bandwith X extension;
- MIT-SHM, the MIT X client/server shared memory extension;
- MIT-SUNDRY-NONSTANDARD, a miscellaneous extension by MIT;
- Multi-Buffering, the multi-buffering and stereo display extension;
- SECURITY, the X security extension;
- SHAPE, the non-rectangular shaped window extension;
- SYNC, the X synchronization extension;
- TOG-CUP, the Open Group's Colormap Utilization extension;
- XC-APPGROUP, the X Consortium's Application Group extension;
- XC-MISC, the X Consortium's resource ID querying extension;
- XTEST, the X test extension (this is one of two client-side
implementations; the other is in the libXtst library, provided by the
libxtst6 package);
libXext also provides a small set of utility functions to aid authors of
client APIs for X protocol extensions.
This package contains the development headers for the library found in
libxext6. Non-developers likely have little use for this package.
More information about X.Org can be found at:
This module can be found as the module 'lib/Xext' at
:pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg
Other Packages Related to libxext-dev
= depends
= recommends
= suggests
More Information on libxext-dev
Check for Bug Reports
about libxext-dev.
Source Package: libxext
, Download: [dsc] [libxext_1.0.1.orig.tar.gz] [libxext_1.0.1-2.diff.gz]
View the Debian changelog
View the copyright file
[email=//debian-x@lists.debian.org/]Debian X Strike Force[/email]
,
[email=//dnusinow@debian.org/]David Nusinow[/email]
,
[email=//branden@debian.org/]Branden Robinson[/email]
and
[email=//fabbione@fabbione.net/]Fabio M. Di Nitto[/email]
are responsible for this Debian package. See the developer information for libxext-dev
.
Search for other versions of libxext-dev
下载下来,dpkg -i libxext-dev_1.0.1-2_i386.deb
选中了曾被取消选择的软件包 libxext-dev。
dpkg:对于含 libxext-dev 的文件 libxext-dev_1.0.1-2_i386.deb 来说,有预依赖(pre-dependency)方面的问题:
libxext-dev 预依赖于 x11-common (>= 1:7.0.0)
dpkg:处理 libxext-dev_1.0.1-2_i386.deb (--install)时出错:
预依赖(pre-dependency)问题 - 将不安装libxext-dev
在处理时有错误发生:
libxext-dev_1.0.1-2_i386.deb
SHIT!!! List: kdevelop
Subject: configure: error: We need a working libXext to proceed.
From: Peggy Go
Date: 2003-12-22 3:51:03
[ Download message RAW
]
HI! I'm trying to compile my program but I got this
error:
/home/shatz/our_coach/our_coach/dbase.cpp:26:
undefined reference to
`pqxx::connection::connection[in-charge]()'
so I linked the library by typing in
"/usr/local/pqxx/lib" to --x-library but after that, I
got this error:
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.
What should I do???
Thanks!
今天到此为止,有空继续!