- 论坛徽章:
- 0
|
本帖最后由 Real超人 于 2012-06-06 09:27 编辑
安装RPM管理器
unbuntu12.4 i386
RPM版本5.3.5
解压后,输入命令./configure
出现以下错误,无法通过编译
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking whether to build with POPT library... yes (external: via pkg-config popt)
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for gzread in -lz... no
checking for gzread in -lgz... no
checking whether to build with ZLib library... no
checking whether to build with GNU BZip2 library... no
checking whether to build with XZ libLZMA library... no
configure: error: you have passed --without-{xz,bzip2,zlib} together but it isn't possible to build rpm without any form of compression library. At a minimum, i suggest adding --with-zlib if you want to actually build and install a *.rpm package
高手指点。
另外,我看到zlib.h 有问题, 请问这个是哪个软件包带的,应该安装到哪里,编译的时候才能查询的到。
|
|