[MacPorts] #43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing)
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) ---------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: bitcoind ---------------------+-------------------------------- main.log attached -- Ticket URL: <https://trac.macports.org/ticket/43362> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Changes (by macsforever2000@…): * cc: easieste@… (removed) * owner: macports-tickets@… => easieste@… -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): FYI, if it helps, I have both db46 and db48 installed already, but they put their libraries in ```[[PREFIX]]/lib/db{46,48}/...``` (respectively), neither of which appear to be searched by config. If I do (e.g.,) ```port select --set db db48 && port install bitcoind```, then config finds them (but fails on checking the boostlib version), but this seems like it probably shouldn't be a build requirement. -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): Just to clarify, the attached ```bitcoind_main.log``` is the main.log file from the build attempt **before** selecting any db version. The attached ```bitcoind_main_after_select.log``` is the main.log file from the build attempt **after** running ```port select --set db db48```. The attached ```bitcoind_config_after_select.log``` is the config.log from that same post-select attempt. My apologies for any confusion. -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): Okay, I think I understand what's going on here. First (as described above), unless a version of Berkeley DB is ```port select```ed, configuration fails. Second, even if one **is** ```port select```ed, the configuration fails for **prefix** builds, because it can't find Boost. That second issue is remedied by adding ```--with-boost=[[PREFIX]]``` to ```./configure```. I'm attaching a ```Portfile``` patch that addresses **only** the **second** issue. The first remains (I do not know the preferred way to properly address that). -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): This is intended as a search-engine friendly comment to highlight the errors seen in both cases (for anyone coming in behind me experiences similar issues): The **first** error emitted by configure (can't find dbXX) is: {{{ ... :info:configure checking for main in -ldb_cxx... no :info:configure configure: error: libdb_cxx missing ... }}} The **second** error emitted by configure (can't find boost) is: {{{ ... :info:configure checking whether the Boost::System library is available... yes :info:configure configure: error: Could not find a version of the library! ... }}} My apologies for the spam. (I usually put these in the description or the first comment.) -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by and.damore@…): Since port bitcoin is now at version >0.9 is this issue still actual? -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): Yes, bitcoin-0.9.1 appears to be similarly affected (log attached). -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: bitcoind | -----------------------+------------------------ Changes (by easieste@…): * status: new => closed * resolution: => wontfix Comment: bitcoind is basically obsolete at this point: it should be made a synonym for {{{ osx$ port install bitcoin +daemon }}} -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#43362: bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing) -----------------------+------------------------ Reporter: mtb19@… | Owner: easieste@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: wontfix | Keywords: Port: bitcoind | -----------------------+------------------------ Comment (by mtb19@…): Opened #44693 to cover the same issue in bitcoin 0.9.2.1. -- Ticket URL: <https://trac.macports.org/ticket/43362#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts