Begin forwarded message:
From: Jeff Johnson <[email protected]>
Date: May 28, 2009 11:55:11 AM EDT
To: [email protected]
Subject: Re: error: cannot open Packages database in /var/lib/rpm
On May 28, 2009, at 11:46 AM, [email protected] wrote:
Ok so, you think I should check what compressions I have built into
RPM. Do you
speak about the 8Kingdoms-1.1.0-6.fc9.i386.rpm RPM package or the
rpm5 software?
The configure options I have chosen :
./configure --without-path-versioned --without-db-tools-integrated
--without-db-rpc --without-db-largefile --without-python --without-
perl
--without-selinux --without-libelf --without-pthread --without-
libintl-prefix
--without-libiconv-prefix --without-gnu-ld --without-apidocs --
without-pic
--disable-largefile --disable-rpath --disable-nls --disable-broken-
chown
--disable-build-lafiles --disable-build-maxextlibdep --disable-
build-extlibdep
--disable-build-intlibdep --disable-build-versionscript --disable-
build-static
--disable-build-gcov --disable-build-pie --disable-build-pic
--disable-libtool-lock --disable-dependency-tracking --disable-
maintainer-mode
--disable-build-warnings --disable-build-debug --with-popt --
without-zlib
--without-bzip2 --without-xz --with-beecrypt --without-nss --
without-openssl
--without-neon --without-file --with-db --without-sqlite --without-
lua
--without-pcre -without-uuid --without-syck --without-xar --without-
dmalloc
--without-efence --without-keyutils --prefix=/
How to know the compressions that have been built into RPM?
Well from your configure arguments I can tell:
--without-zlib no gzip compression
--without-bzip2 no bzip2 compression
--without-xz no XZ compression
and so you've built a version of rpm that is incapable
of installing any packages (all *.rpm packages have some
form of compression)
At a minimum, I suggest adding
--with-zlib
if you want to actually build and install a *.rpm package.
Note also that disabling *everything* is a much harder
introduction to RPM than any other conceivable path.
73 de Jeff
______________________________________________________________________
RPM Package Manager http://rpm5.org
User Communication List [email protected]