Re: [CVS] RPM: rpm/ autogen.sh rpm/rpmdb/ Makefile.am

2007-06-27 Thread Jeff Johnson


On Jun 27, 2007, at 3:20 PM, Ralf S. Engelschall wrote:


  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
   
__ 
__


  Server: rpm5.org Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs   Email:  [EMAIL PROTECTED]
  Module: rpm  Date:   27-Jun-2007  
21:20:45

  Branch: HEAD Handle: 2007062720204500

  Modified files:
rpm autogen.sh
rpm/rpmdb   Makefile.am

  Log:
In rpmdb/ the various Berkeley-DB utilities db_xxx are rebuild for
installation purposes, although they got already built in db3/.  
As the

utility object list is already incomplete (the building just still
worked as librpm.la is linked in which contains all(!) Berkeley-DB
objects anyway) and we don't need a second building of the tools,
replace the building with simple symlinking. Also sort the  
utilities the

same way in the _PROGRAMS list and in the targets list.



This isn't the right fix. The system db (and utilities) may be different
than the db (and utilities) used by rpm. It's the linkage against
-lrpmdb that is important imho.

73 de Jeff
__
RPM Package Managerhttp://rpm5.org
Developer Communication Listrpm-devel@rpm5.org


Re: [CVS] RPM: rpm/ autogen.sh rpm/rpmdb/ Makefile.am

2007-06-27 Thread Ralf S. Engelschall
On Wed, Jun 27, 2007, Jeff Johnson wrote:

 [...]
 In rpmdb/ the various Berkeley-DB utilities db_xxx are rebuild for
 installation purposes, although they got already built in db3/. As the
 utility object list is already incomplete (the building just still
 worked as librpm.la is linked in which contains all(!) Berkeley-DB
 objects anyway) and we don't need a second building of the tools,
 replace the building with simple symlinking. Also sort the utilities
 the
 same way in the _PROGRAMS list and in the targets list.

 This isn't the right fix. The system db (and utilities) may be different
 than the db (and utilities) used by rpm. It's the linkage against
 -lrpmdb that is important imho.

Yes, I know. But nothing has changed here. The installed db_xxx
utilities are _still_ those built against RPM's internal Berkeley-DB. I
just install the ones in db3/ and not the re-linked ones in rpmdb/. But
as librpmdb contained just copies of the objects from db3/ the effective
resulting db_xxx tools are exactly the same.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
RPM Package Managerhttp://rpm5.org
Developer Communication Listrpm-devel@rpm5.org