红联Linux门户
Linux帮助

make rpm5.0.0 limits.h no path to search for limits.h

发布时间:2013-11-07 20:37:25来源:红联作者:xzby2
[i=s] 本帖最后由 xzby2 于 2013-11-7 20:39 编辑 [/i]

[

root@localhost rpm-5.0.0]# make
make all-recursive
make[1]: Entering directory `/home/HASEE/下载/rpm-5.0.0'
Making all in po
make[2]: Entering directory `/home/HASEE/下载/rpm-5.0.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/HASEE/下载/rpm-5.0.0/po'
Making all in db3
make[2]: Entering directory `/home/HASEE/下载/rpm-5.0.0/db3'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/HASEE/下载/rpm-5.0.0/db3'
Making all in zlib
make[2]: Entering directory `/home/HASEE/下载/rpm-5.0.0/zlib'
make all-am
make[3]: Entering directory `/home/HASEE/下载/rpm-5.0.0/zlib'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DUSE_MMAP -DWITH_RSYNC_PAD -O3 -fomit-frame-pointer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -DHAS_snprintf -g -O2 -MT crc32.lo -MD -MP -MF .deps/crc32.Tpo -c -o crc32.lo crc32.c
gcc -DHAVE_CONFIG_H -I. -DUSE_MMAP -DWITH_RSYNC_PAD -O3 -fomit-frame-pointer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -DHAS_snprintf -g -O2 -MT crc32.lo -MD -MP -MF .deps/crc32.Tpo -c crc32.c -fPIC -DPIC -o .libs/crc32.o
In file included from /usr/include/syslimits.h:7:0,
from /usr/include/limits.h:34,
from crc32.c:36:
/usr/include/limits.h:169:61: error: no include path in which to search for limits.h

make[3]: *** [crc32.lo] Error 1
make[3]: Leaving directory `/home/HASEE/下载/rpm-5.0.0/zlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/HASEE/下载/rpm-5.0.0/zlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/HASEE/下载/rpm-5.0.0'
make: *** [all] Error 2

includedir = /usr/local/gcc-4.7.0/lib/gcc/i686-pc-linux-gnu/4.7.0/include
infodir = ${datarootdir}/info
install_sh = $(SHELL) /home/HASEE/下载/rpm-5.0.0/zlib/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/local/gcc-4.7.0/lib/gcc/i686-pc-linux-gnu/4.7.0/include


./Makefile ./zlib./Makefile也不行

我偏要用5.0 rpm 安装el6的 fc20的rpm
但是装不了

比如smplayer neokylin6
的 就因为rpmlib太低
只能装rpm 但是 rpm包没有rpm的rpm包[attach]40333[/attach]
文章评论

共有 5 条评论

  1. sbei 于 2013-12-02 11:20:25发表:

    不懂啊。

  2. 酸毛杏儿 于 2013-12-01 22:46:52发表:

    你妹的,不管用

  3. 酸毛杏儿 于 2013-12-01 22:45:14发表:

    顶亿下,顶。。。。。。。。。。。。

  4. ZSJxrc0517 于 2013-11-08 17:43:45发表:

    学习中

  5. Ttapocs 于 2013-11-07 21:20:59发表:

    帮你顶