https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-11-12T09:59:09ZRuby Issue Tracking SystemBackport187 - Backport #3294: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 serieshttps://redmine.ruby-lang.org/issues/3294?journal_id=221242011-11-12T09:59:09Zakr (Akira Tanaka)akr@fsij.org
<ul><li><strong>ruby -v</strong> changed from <i>ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] </i> to <i>-</i></li></ul><p>2010/5/14 Diego E. Pettenò <a href="mailto:redmine@ruby-lang.org" class="email">redmine@ruby-lang.org</a>:</p>
<blockquote>
<p>Bug <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Backport: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (Closed)" href="https://redmine.ruby-lang.org/issues/3294">#3294</a>: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series<br>
<a href="http://redmine.ruby-lang.org/issues/show/3294" class="external">http://redmine.ruby-lang.org/issues/show/3294</a></p>
<p>Author: Diego E. Pettenò<br>
Status: Open, Priority: Normal<br>
ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]</p>
<p>In the new version of BerkDB, to use the DBM functions you need to define the HAVE_DBM macro, otherwise the functions won't be defined (before, simply using DB_DBM_HSEARCH was enough). The attached patch enables that to make sure that it is possible to build the dbm extension properly.</p>
</blockquote>
<p>What's exact version of Bereley DB?</p>
<h2>I tested ruby 2.0.0dev (2011-11-11 trunk 33710) with<br>
Berkeley DB 5.1 (Ubuntu package libdb5.1 version 5.1.25-11).<br>
It works fine without your patch.<br>
(The version of ruby don't define HAVE_DBM.)</h2>
<p>Tanaka Akira</p> Backport187 - Backport #3294: [PATCH] Allow build of dbm extension with Berkeley DB 5.0 serieshttps://redmine.ruby-lang.org/issues/3294?journal_id=795162019-07-15T16:05:24Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Backport</i></li><li><strong>Project</strong> changed from <i>Ruby 1.8</i> to <i>Backport187</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/79516/diff?detail_id=53025">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>ruby -v</strong> deleted (<del><i>-</i></del>)</li></ul>