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 Message-ID: <20020721092132.94473.qmail@web21003.mail.yahoo.com> Date: Sun, 21 Jul 2002 02:21:32 -0700 (PDT) From: Nicholas Wourms Subject: Re: Sleepy Cat Berkeley DB no longer in binary distribution To: Phil Smith , robert DOT collins AT syncretize DOT net Cc: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Phil Smith wrote: > The db-2.7.7-4 Berkeley DB was provided in Cygwin 1.3.11-3 but removed > from > 1.3.12. That was a packaging error, which conflicted with the existing (and working) berkeley db distribution. > This is unfortunate, considering that search.h, hsearch() and related > APIs > are unavailable via the db-2.7.7.4 package or the developer package... The berkeley db does not provide search.h. That is an optional extention of the libc which is distributed with the system: http://www.opengroup.org/onlinepubs/007908799/xsh/search.h.html Perhaps if you install "db2", "libdb2", & "libdb2-devel", you might have better luck? Then, as the API docs included in those packages explain, if you want to access hsearch(), you should include . > Any suggestions, short of getting it from the cygwin-1.3.12-2-src > package ? Yes, before asking a question like this, take the time to research it! A search on google for hsearch() returned the following as the fifth result: http://www.sleepycat.com/docs/api_c/hsearch.html A "clued-in" person would see that what he/she needed was db.h. Which packages contains db.h? Well that person would then search the packages at: http://cygwin.com/packages/ He/She would then, knowing that it is a header of the berkeley db, see that the package he/she would need is: libdb2-devel The Sleepycat Berkeley DB Library v2 - devel See, that wasn't so difficult, was it? > Thanks You're welcome! Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- 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/