Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com From: "Harold Hunt" To: "Cygwin Apps" Subject: RE: [ITP]: Berkley DB v2 Date: Wed, 19 Jun 2002 10:46:34 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: <3D108C74.5040907@netscape.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Nicholas, I never did anything with the DB packages. Chuck sent them to me and I sat on them... that's about it. I never had anytime to actually do anything with them. I think Chuck was doing the same thing that I do in his quote below, namely, talking someone up in public about the great things that they are going to do, as if they had already done them, so that they get a little kick in the butt to start doing those great things :) Alas, the kick wasn't big enough. :) Harold > -----Original Message----- > From: cygwin-apps-owner AT cygwin DOT com > [mailto:cygwin-apps-owner AT cygwin DOT com]On Behalf Of Nicholas Wourms > Sent: Wednesday, June 19, 2002 9:52 AM > To: Cygwin Apps > Subject: [ITP]: Berkley DB v2 > > > Greetings, > > Gerrit Haase and I will be submitting various versions of the > Berkeley DB for inclusion into the cygwin distribution. We begin > with the Berkley DB2, which is the first major revision of the > original Berkeley DB. The version of db-2 is 2.7.7, which is the > last stable version released for the db-2 line. There are many > projects which can use the db-2, one such project being xemacs. > Our intent is to provide the standard database api's in the same > manner as redhat does, by partitioning the libraries in their own > directory based on revision number. Post-install will then > create symbolic links to the most current version. Previous > versions can be specified by explicitly declaring the path to the > particular version's directory or explicitly linking to that > version. For example "-L/usr/lib/db2 -ldb" or "-ldb2". The > packages for db-2 are based on packaging method #2 and were done > originally by Charles Wilson and Harold Hunt. We have > volunteered to maintain them for them, as they have other > projects to work on. The packages have been split up into the following: > > db2 - core db2 > libdb2 - db2 runtime > libdb2-devel - db2 development libraries and utilities > > Why this was done is best explained by Chuck, who explained it to me as: > > "It's a bit confusing, true -- but it came about in an evolutionary > process while Harold and I were refining the db2 and db3.3 packages. > Perhaps they are the tonsils or appendices of the evolutionary > progression; it isn't clear yet. > > The idea was this: db2-devel MUST contain docu on the utilities it > provides. Also, since the database manipulation programs are version > specific (that is, if you have a db2 database, you MUST use > db2_checkpoint and db2_archive on it; if all you have is > db3.3_checkpoint, then you're up a creek). So, these utility programs > must be able to coexist with newer versions -- hence, they are named > "db2_foo" (with symlinks db_foo pointing to them) and they are part of > the db2-devel package NOT the db package. [otherwise, they'd get > replaced when you update 'db']. This way, the unversioned symlinks > point to the most-recently-installed utilities, but the versioned > utilities are there "forever" -- along with their documentation. > > It's just bad luck that once you pull out the runtime libs and put them > into fooVER, pull out the utility programs, link libs, and headers and > put them into fooVER-devel, all that's left behind in foo is > documentation. > > If there were, for instance, example programs (NOT versioned utilities) > and sample databases, then those would probably go into foo. (because > "examples" are really only meaningful for the "current" version. Who > cares about sample databases for the 3-year-old db2 format?)" > > Which makes perfect sense. In any event, the packages are now > available at: > http://today.clemson.edu/cygwin/release/db/db2/setup.hint > http://today.clemson.edu/cygwin/release/db/db2/db-2.7.7-3.tar.bz2 > http://today.clemson.edu/cygwin/release/db/db2/db-2.7.7-3-src.tar.bz2 > http://today.clemson.edu/cygwin/release/db/db2/libdb2/setup.hint > http://today.clemson.edu/cygwin/release/db/db2/libdb2/libdb2-2.7.7 -3.tar.bz2 http://today.clemson.edu/cygwin/release/db/db2/libdb2-devel/setup.hint http://today.clemson.edu/cygwin/release/db/db2/libdb2-devel/libdb2-devel-2.7 .7-3.tar.bz2 The setup.hints for the packages: category: Database requires: cygwin libdb2 sdesc: "The Sleepycat Berkeley DB Library v2" ldesc: "High performance database library supporting B+trees, Hash trees, transactional capabilities and more. More details are available at sleepycat.com" category: Database requires: cygwin sdesc: "The Sleepycat Berkeley DB Library v2 - runtime" ldesc: "High performance database library supporting B+trees, Hash trees, transactional capabilities and more. More details are available at sleepycat.com" category: Database requires: cygwin libdb2 sdesc: "The Sleepycat Berkeley DB Library v2 - devel" ldesc: "High performance database library supporting B+trees, Hash trees, transactional capabilities and more. More details are available at sleepycat.com" I have attached db2.README for your reference. Cheers, Nichols