[Rpm-maint] Building rpm-4.14.0

Baho Utot baho-utot at columbus.rr.com
Mon Dec 11 14:32:50 UTC 2017


On 12/11/2017 9:03 AM, Baho Utot wrote:
>
>
> On 12/11/17 08:53, Michael Schroeder wrote:
>> On Mon, Dec 11, 2017 at 08:46:24AM -0500, Baho Utot wrote:
>>>
>>>
>>> On 12/11/17 03:28, Panu Matilainen wrote:
>>>> On 12/10/2017 02:43 PM, Baho Utot wrote:
>>>>> If this is the wrong list point me to the correct list.
>>>>>
>>>>> I am having trouble building rpm-4.14.0.  when configuring for the
>>>>> build configure does not create db.h so when running make if fails
>>>>> any one have a solution?
>>>>
>>>> I already replied to you regaring the same issue in October on
>>>> rpm-ecosystem:
>>>> http://lists.rpm.org/pipermail/rpm-ecosystem/2017-October/000502.html
>>>>
>>>>       - Panu -
>>>
>>> That is not the problem.  I have tried to build with db 4.5 to 
>>> db-6.0. It
>>> appears to me that configure is not making the db.h file. that older
>>> version on rpm do create the file this new version just does not for 
>>> some
>>> reason.
>>
>> As Panu said: you need to run the configure script with the
>> --without-external-db option, otherwise it will not build berkeley
>> db (and yes, that's a bug in the configure script).
>>
>> Cheers,
>>    Michael,
>>
>
> Ok I will reboot and add the --without-external-db and see if I get a 
> build.  Thanks
>

OK here is now what I am trying:

tar xvf rpm-4.14.0.tar.bz2
cd rpm-4.14.0
tar ../db-6.0.20.tar.gz
ln -s db-6.0.20 db
./configure --prefix=/usr --with-crypto=openssl --without-external-db 
--without-archive
make

the configure seems to go ok

If get the following from the make
relocation R_X86_64_32 against 'rodata' can not be used when making a 
shared object; recompile with -fPIC ../db3/.libs/libdb-6.0.a(mut_tas.o): 
error adding symbols: Bad value

I have no idea what this is or how to fix it.

I will try with a different version db

Thanks for any insite




More information about the Rpm-maint mailing list