Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Charles Wilson Subject: Re: rpm-4.1 successful compile on Cygwin Date: Fri, 07 Mar 2003 14:22:17 -0500 Lines: 45 Message-ID: <3E68F169.9020905@ece.gatech.edu> References: <00be01c2e4c1$61dd9d90$78d96f83 AT pomello> <3E68E998 DOT 1080303 AT ece DOT gatech DOT edu> <01c701c2e4dc$34af31b0$78d96f83 AT pomello> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en Max Bowsher wrote: >>I thought that rpm-4.x required Berkeley db-4.x -- which has not yet >>been officially added to the cygwin distro. AFAIK, we have db2 and >>db3, but not db4. How did you satisfy that dependency? > > > 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. ) > 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). --Chuck -- 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/