RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Help needed with db51 again

From: Sriram Narayanan <sriram@belenix.org>
Date: Wed 29 Jun 2011 - 15:41:10 CEST
Message-ID: <BANLkTikDrWJFUNN4qZ4vG4tXFe1zhNjgHw@mail.gmail.com>
I forgot to mention, I'm using ./devtool checkout, followed by
./devtool system and then make -j 2

-- Sriram

On Wed, Jun 29, 2011 at 7:03 PM, Sriram Narayanan <sriram@belenix.org> wrote:
> Hi:
>
> I'm not able to fix this particular problem. Any help would be appreciated:
>
> In rpmdb/rpmdb.h, I had to replace:
>
> #if defined(_RPMDB_INTERNAL)
> #if defined(WITH_DB)
> #include <db51/db.h>
> #else
> #include "db_emu.h"
> #endif
> #endif
>
> with
> #include "/usr/include/db51/db.h"
>
> Since CFLAGS="-I/usr/include" and CPPFLAGS="-I/usr/include" weren't
> helping (those these were being passed to gcc).
>
> I've got /usr/include/db51/db.h copied over from db-5.1.25
>
> So far, here's what I've done to checkout and build rpm 5.3.11
>
> mv /usr/ccs/bin/ld /usr/ccs/bin/ld.old (Force the system to use gcc's
> ld rather than the Sun ld)
> install autoconf
> install automake
> install libtool
> install gettext
> install bison
>
> Move to cvs 1.1.23 (Thanks for the tip, Jeff !)
>
> CVSROOT=":pserver:anonymous@rpm5.org:/v/rpm/cvs"
> cvs -d :ext:rpm-cvs@rpm5.org:/v/rpm/cvs get -d wdj52 -r rpm-5_2 rpm
>
> cvs -d :pserver:anonymous@rpm5.org:/v/rpm/cvs get -d rpm-5_3_11 -r
> rpm-5_3_11-release rpm
>
> cd rpm-5_3_11/
> ./devtool checkout
>
> rpmio/rpmacl.c
> Empty the contents of this since Solaris doesn't have the ACL
> extensions that Linux has
>
> -- Sriram
> Belenix: www.belenix.org
>



-- 
Belenix: www.belenix.org
Received on Wed Jun 29 15:41:30 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.