RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Help needed with db51 again

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 29 Jun 2011 - 17:03:50 CEST
Message-id: <AAFA8BD4-93F3-42D6-BD89-8AB48960EA6A@mac.com>

On Jun 29, 2011, at 9:41 AM, Sriram Narayanan wrote:

> I forgot to mention, I'm using ./devtool checkout, followed by
> ./devtool system and then make -j 2
> 

Try ./devtool openindiana instead of ./devtool system

(aside)
The %system target is what I use wherever (usually on linux)
possible as a generic feature set (but my development feature
is targeted at maximally enabled, not "production" releasing,
so pare back the build options to taste).

The %openindiana devtool target was what I used under buildbot's last
fall to try to help ensure that @rpm5.org code built on Bellenix.

Note that I can/will move Bellenix under a buildbot and fix whatever
build issues with RPM there are.

What I need from Bellenix to do that is:
	1) a URI of some reference iso that more or less installs in a VM
	2) some patch to devtool.conf to ensure that I know exactly
	what build options you wish to build with.

I'm likely going to be re-starting buildbot's over the next few days
to get the monthly RPM release built and released and QA'd. So I can
pretty easily get a Bellenix VM setup, and a %belenix devtool target
planted, and an automated buildbot waterfall in place, any time
you wish.

hth

73 de Jeff

> -- 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
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> Developer Communication List                        rpm-devel@rpm5.org
Received on Wed Jun 29 17:04:02 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.