checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your ins
tallation and add the correct paths!
别的全部都是yes,最后同样make不了,但是我在kdevelop-3.1.2里面看到生成了Makefile.am以及Makefile.in文件了.请问如何解决在上面提到的关键的"Can't find X includes"的问题呢?谢谢!
[quote:6975f3fd15="WeiMingzhi"]在/usr/X11R6/include 中看看有没有一大堆的.h文件. 如果没有的话,可以下载XFree86源代码并安装一下,或看看在你的 GNU/Linux 发行版本中有没有类似东西[/quote]
您好!
情看我使用Xinstall.sh -check分析出来的结果.
[root@localhost users_zm]# sh Xinstall.sh -check
Checking which OS you're running...
uname reports 'Linux' version '2.4.20-8', architecture 'i686'.
Object format is 'ELF'. libc version is '6.3'.
No dist available for glibc 2.3. Try Linux-ix86-glibc21
那么我在:ftp://ftp.nctu.edu.tw/UNIX/XFree86/4.0/binaries/Linux-ix86-glibc21
需要将所由的*.taz文件都下载安装吗?胆识我仅仅需要运行KDevelop而已,我认为只需要装载:
Xbin.tgz X clients/utilities and run-time libraries
Xlib.tgz Some data files required at run-time
就应该可以了吧.
对不起啊,我的Linux水平才入门,谢谢您们耐心的解答!