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: <42D8780A.5A5774A3@dessent.net> Date: Fri, 15 Jul 2005 19:59:22 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Help with Berkeley DB References: <20050716023301 DOT 67469 DOT qmail AT web50403 DOT mail DOT yahoo DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Manuel Tejada wrote: > In order to learn the basic of the Sleepycat Berkeley > DataBase recently I downloaded and installed > libdb4.3-4.3.28-1.tar.gz and db-4.3.28-1.tar.bz2 > using setup.exe. To see what is in any package, type "cygcheck -l package". Or visit the Cygwin package page: In general, a typical library consists of three packages. "foo" is the base package, "libfoo" contains the shared library (DLL) needed at runtime for programs compiled with this library, and "libfoo-devel" contains files necessary for development of things using "foo". In the case of the BerkeleyDB packages, "db4.3" is the base package containing documentation and misc files, "libdb4.3" contains the DLL, and "libdb4.3-devel" contains the headers and import libraries. Note that "db4.3" requires "libdb4.3" so in most cases all you have to do is select the "db4.3" package in setup.exe. If you want to compile a BerkeleyDB program though, you need the -devel package. You will only confuse yourself by referring to packages by their .tar.bz2 filename, which can be different than the package name. In the above I am only referring to what the package is actually called, which is what you see in setup.exe. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/