LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 790|回复: 8

Fedora-core安装软件出现错误

[复制链接]
发表于 2006-8-7 13:21:18 | 显示全部楼层 |阅读模式
./configuer  tar.gz解压后软件时出现以下错误指示:
configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'


下面为完整的过程
[root@snk xscreensaver-5.00]# ./configure
current directory: /home/snk/Software/XScreenSaver/xscreensaver-5.00
command line was: ./configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether the compiler works on ANSI C... yes
Turning on gcc compiler warnings.
checking whether gcc accepts -std... yes
Disabling C++ comments in ANSI C code.
checking whether gcc accepts -no-cpp-precomp... no
checking how to run the C preprocessor... gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -Wmissing-prototypes -std=c89 -U__STRICT_ANSI__ -E
checking for an ANSI C-conforming const... yes
checking for inline... __inline__
checking for bc... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether "${INSTALL} -d" creates intermediate directories... yes
checking whether make sets $(MAKE)... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to call gettimeofday... two arguments
checking for select... yes
checking for fcntl... yes
checking for uname... yes
checking for nice... yes
checking for setpriority... yes
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for sbrk... yes
checking for sigaction... yes
checking for syslog... yes
checking for realpath... yes
checking for setrlimit... yes
checking for setlocale... yes
checking for struct icmp... yes
checking for struct icmphdr... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking perl version... 5.008006
checking for X... no
configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'.

请帮忙。email:nephron_ns@msn.com
 楼主| 发表于 2006-8-7 14:12:55 | 显示全部楼层

完整的过程

current directory: /home/snk/Software/XScreenSaver/xscreensaver-5.00
command line was: ./configure
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether the compiler works on ANSI C... yes
Turning on gcc compiler warnings.
checking whether gcc accepts -std... yes
Disabling C++ comments in ANSI C code.
checking whether gcc accepts -no-cpp-precomp... no
checking how to run the C preprocessor... gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -Wmissing-prototypes -std=c89 -U__STRICT_ANSI__ -E
checking for an ANSI C-conforming const... yes
checking for inline... __inline__
checking for bc... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether "${INSTALL} -d" creates intermediate directories... yes
checking whether make sets $(MAKE)... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to call gettimeofday... two arguments
checking for select... yes
checking for fcntl... yes
checking for uname... yes
checking for nice... yes
checking for setpriority... yes
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for sbrk... yes
checking for sigaction... yes
checking for syslog... yes
checking for realpath... yes
checking for setrlimit... yes
checking for setlocale... yes
checking for struct icmp... yes
checking for struct icmphdr... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking perl version... 5.008006
checking for X... no
configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-8 07:45:34 | 显示全部楼层
自已Ding上来
回复 支持 反对

使用道具 举报

发表于 2006-8-8 08:21:54 | 显示全部楼层
  1. #yum install libX11-devel
复制代码

P.S:什么软件?为什么要自己编译
回复 支持 反对

使用道具 举报

发表于 2006-8-8 08:34:39 | 显示全部楼层
x 屏保5.0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-8 13:11:52 | 显示全部楼层
好象#yum install libX11-devel也不行,出现:

Setting up Install Process
Setting up repositories
updates-released          100% |=========================| 2.7 kB    00:00 ETA //var/cache/yum/updates-released/repomd.xml:50: parser error : Opening and ending tag mismatch: img line 48 and div
</div>
      ^
//var/cache/yum/updates-released/repomd.xml:51: parser error : Opening and ending tag mismatch: img line 45 and div
    </div>
          ^
//var/cache/yum/updates-released/repomd.xml:73: parser error : Entity 'nbsp' not defined
  <div id="border">&nbsp;</div>
                         ^
//var/cache/yum/updates-released/repomd.xml:79: parser error : Entity 'copy' not defined
    <span class="text">Copyright &copy; 2004 NGI S.p.A. | All rights reserved</s                                       ^
//var/cache/yum/updates-released/repomd.xml:85: parser error : Opening and ending tag mismatch: div line 10 and body
</body>
       ^
//var/cache/yum/updates-released/repomd.xml:86: parser error : Opening and ending tag mismatch: body line 9 and html
</html>
       ^
//var/cache/yum/updates-released/repomd.xml:87: parser error : Premature end of data in tag html line 3

^
updates-released          100% |=========================| 2.7 kB    00:03
http://fedora.ngi.it/updates/4/i386/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates-released: Error: could not parse file //var/cache/yum/updates-released/repomd.xml
Trying other mirror.
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 136 kB    00:32
http://download.fedoraproject.or ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz            100% |=========================| 1.1 MB    00:48
extras    : ################################################## 3640/3640
Added 138 new packages, deleted 104 old in 15.41 seconds
Parsing package install arguments
No Match for argument: libX11-devel
Nothing to do
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-8 13:13:17 | 显示全部楼层
我的Xscreensaver用不了,记得以前好象还可以的
回复 支持 反对

使用道具 举报

发表于 2006-8-8 15:02:42 | 显示全部楼层
checking for X... no

你没有X怎么能用Xscreensaver呢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-8 17:17:44 | 显示全部楼层
Post by lincomet
你没有X怎么能用Xscreensaver呢。


Check X...No 是不是指的图形界面,我的Xwindow用得很好!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表