RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Releasing rpm-5.0.1

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 27 Jan 2008 - 20:26:33 CET
Message-Id: <75E3B762-4B7A-4572-8650-4E1F45008A5F@mac.com>

On Jan 27, 2008, at 2:19 PM, Peter Kalbus wrote:

> i totally agree, that berkely db support on qnx is not an issuues  
> for rpm5 itself.
>
> additionally i like to ha a clean qnx support with db support.
>
> as this is currently a problematic point and the suggestion is to  
> use sqlite on qnx, i try to get it compiled with the following  
> options to configure:
>
>    --with-db=no --with-sqlite=yes
>
> if this is a working configuration, that's fine. as berkeley will  
> release db 4.7, which should have qnx support, the --with-db can be  
> moitted again.
>
> what about this solution?
>

Probably easier is compiling rpm with both Berkeley DB and sqlite3,
rpm uses certain Berkeley DB defines and structure names, and its  
easier to just
use what is in db.h than it is to figger out what defines/structs are  
needed
and where/why/how to supply an alternative definition.

But there are a few people who have managed to compile rpm without
Berkeley DB and db.h.

Then all that needs changing is these two macros (3==bdb, 4=sqlite3)

%_dbapi 3
%_dbapi_rebuild 3

73 de Jeff
Received on Sun Jan 27 20:26:43 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.