On Mon, Jan 28, 2008, Peter Kalbus wrote:
> today, i played around getting rpm5 compiled with:
>
> --with-db=no --with-sqlite=<installpath>
>
> the reason is:
>
> - get a smaller footprint (embedded system)
> - berkeley db 4.6.21 is not support on qnx (at least no w/o patches)
>
> it compiles with only a few changes (see attached patches)
> most of them seems to be uncritical or QNX specific:
>
> patch-aa (configure.ac): don't stop, if --with-db=no is specified
Can be removed. Just use --with-bugreport=<address>.
> patch-ab (configure): resulting configure.ac changed in configure
Is not needed if patch-aa is removed.
> patch-ac (system.h): u_int32_is not defined for qnx neutrino
Can be removed once you upgrade to the next snapshot (20080128).
> patch-ad (macros.in): changing default from berkeley db to sqlite
First hunk ("private") cannot be taken over by rpm5.org, I guess.
Second hunk ("3 -> 4") you should replace by using the Autoconf
option --with-dbapi=sqlite.
> [...]
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Received on Mon Jan 28 21:37:32 2008