On May 27, 2009, at 5:56 PM, firstname.lastname@example.org wrote:
>> Ah, that's easy fixing.
> This is what the 'rpm --showrc' command say :
> # rpm --showrc
> ARCHITECTURE AND OS:
> build arch : i686
> compatible build archs: i686
> build os : Linux
> compatible build os's : linux
> install arch : i686
> install os : Linux
> compatible archs : i686
> compatible os's : Linux
> optflags : -O2 -g
> MACRO DEFINITIONS:
> macrofiles :
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is the flaw.
The "//lib/rpm/macros" is usually "/usr/lib/rpm/macros", and
the contents of that file (macros.in from build) likely sets
%_dbapi (and a whole lot more).
Examine config.log from your build and work
backwards to get the macro configuration paths correct.
You can also do
rpm --macros /usr/lib/rpm/macros --showrc | grep dbapi
to confirm that, indeed, once the compiled in path(s) are
correct, everything else will "just work".
Note that you will likely need to untar the per-platform
macro configuration in /usr/lib/rpm as well.
This is the cpu-os-macros.tar.gz checked into CVS, and
likely at http://rpm5.org/files/* somewhere.
I *REALLY* wish configuring RPM were simpler, but everyone wants
"Have it your own way!"
and I don't have time to describe the foolishness of it all repeatedly.
73 de Jeff
Received on Thu May 28 00:16:00 2009