delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/07/14:51:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <027a01c2e4e2$d7644610$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>, "Charles Wilson" <cwilson AT ece DOT gatech DOT edu>
References: <00be01c2e4c1$61dd9d90$78d96f83 AT pomello> <3E68E998 DOT 1080303 AT ece DOT gatech DOT edu> <01c701c2e4dc$34af31b0$78d96f83 AT pomello> <3E68F169 DOT 9020905 AT ece DOT gatech DOT edu>
Subject: Re: rpm-4.1 successful compile on Cygwin
Date: Fri, 7 Mar 2003 19:50:44 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Charles Wilson wrote:
> Max Bowsher wrote:
>> RPM includes a copy of Berkerly DB in its source tarball, and will
>> build with the internal db unless explicitly told to try using the
>> system db.
>
> Oh, ok.  If anybody wants to add rpm to the cygwin distribution as a
> supported package, though, it ought to use a system-provided db4
> library.  Which means somebody needs to give Nicholas a swift kick in
> the tookas (Hi, Nicholas. <g>)
>
>> In fact, I'm not sure if that mode would work at all, since
>> configure.ac makes extensive mention of db3, but no mention of db4.
>> (The db4 in rpm is actually configured in a directory called db3 -
>> weird!).
>
> Well, that sounds like somebody took some shortcuts. OTOH, since Red
> Hat Linux uses rpm as its fundamental package manager, it makes sense
> for them to prefer a statically-linked binary of rpm -- and to highly
> control *EXACTLY* how that static binary is built.
>
> So they include their own copy of Berk DB, build it as a static lib,
> link against it, etc.
>
> However, if, during the upgrade from db3 to db4, they took shortcuts
> in the configury, then the rpm-4.x source is *broken* and they need
> to fix it.  Just because *Red Hat* doesn't care about dynamic linking
> to external db libs, doesn't mean that they should (silently) disallow
> it. They have the power/authority to make that decision -- but it
> should be well-documented and not simply be a hidden gotcha.
>
> Going by this principle: "Never attribute to maliciousness that which
> can be explained by stupidity", I'd  bet that IF external linking is
> broken, then it was a simple oversight and they'd welcome patches to
> fix the problem.
>
> But tracking that down and creating those patches would be the job of
> the person who actually wanted to add rpm.exe to the cygwin dist, and
> intends to support it. (e.g. not you, Max).

I'm not quite sure rpm really is desirable for the Cygwin dist, unless it
was decided to transition to rpm packages exclusively once setup was
suitably adapted.

It's mainly a toy for me, to learn about rpm, whilst not having to reboot
into Linux.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019