#43362 closed defect (wontfix)
bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing)
Reported by: | posita (Matt Bogosian) | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | bitcoind |
Description
main.log attached
Attachments (5)
Change History (14)
Changed 11 years ago by posita (Matt Bogosian)
Attachment: | bitcoind_main.log added |
---|
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Cc: | easieste@… removed |
---|---|
Owner: | changed from macports-tickets@… to easieste@… |
comment:2 Changed 11 years ago by posita (Matt Bogosian)
Changed 11 years ago by posita (Matt Bogosian)
Attachment: | bitcoind_main_after_select.log added |
---|
Changed 11 years ago by posita (Matt Bogosian)
Attachment: | bitcoind_config_after_select.log added |
---|
comment:3 Changed 11 years ago by posita (Matt Bogosian)
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.
comment:4 Changed 11 years ago by posita (Matt Bogosian)
Okay, I think I understand. First (as described above), unless a version of Berkeley DB is port select
ed, configuration fails. Second, even if one is
port select
ed, configuration fails for prefix builds, because it can't find Boost. That second issue is remedied by adding
--with-boost=[[PREFIX]]
to
./configure
(which should be harmless for default installations).
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).
Changed 11 years ago by posita (Matt Bogosian)
Attachment: | bitcoind_Portfile-43362.patch added |
---|
Patch to address the second of two issues identified in this ticket.
comment:5 Changed 11 years ago by posita (Matt Bogosian)
This is intended as a search-engine friendly comment to highlight the errors seen in both cases (for anyone coming in behind me who is experiencing 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.)
comment:6 Changed 10 years ago by anddam (Andrea D'Amore)
Since port bitcoin is now at version >0.9 is this issue still actual?
Changed 10 years ago by posita (Matt Bogosian)
Attachment: | bitcoin-0.9.1-main.log added |
---|
comment:7 Changed 10 years ago by posita (Matt Bogosian)
Yes, bitcoin-0.9.1 appears to be similarly affected with respect to the boost libraries (log attached).
comment:8 Changed 10 years ago by easye
Resolution: | → wontfix |
---|---|
Status: | new → closed |
bitcoind is basically obsolete at this point: it should be made a synonym for
osx$ port install bitcoin +daemon
finance/bitcoin-0.9.2.1 has recently been added in r124023. Please check if your problem remains.
comment:9 Changed 10 years ago by posita (Matt Bogosian)
Opened #44693 to cover the same issue in bitcoin 0.9.2.1.
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.