There is some unclear description on this, and I have confused. Trying to be clear on options.
Verified on Debian 9.3.
There is some unclear description on this, and I have confused. Trying to be clear on options.
Verified on Debian 9.3.
102 | 103 | -Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install 104 | -BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which 105 | -are based on BerkeleyDB 4.8. If you do not care about wallet compatibility, 106 | -pass `--with-incompatible-bdb` to configure. 107 | +- Find and install Berkeley DB 4.8 for full binaruy compatibility
"Binary" typo :-)
:< thanks.
Fixed.
84 | @@ -85,22 +85,27 @@ install necessary parts of boost: 85 | 86 | sudo apt-get install libboost-all-dev 87 | 88 | -BerkeleyDB is required for the wallet. 89 | +BerkeleyDB is required for the wallet. Unfortunately, There is a binary incompatibility between BerkeleyDB 4.8 and latest 5.x series. There are three options:
"There" should be in lower-case :-)
fixed :< thanks.
+- Find and install Berkeley DB 4.8 for full binaruy compatibility
There is a typo in the word "binary"
On Sun, Feb 25, 2018 at 1:10 AM, Shigeya Suzuki notifications@github.com wrote:
@shigeya commented on this pull request.
In doc/build-unix.md https://github.com/bitcoin/bitcoin/pull/12526#discussion_r170433970:
-Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install -BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which -are based on BerkeleyDB 4.8. If you do not care about wallet compatibility, -pass
--with-incompatible-bdbto configure. +- Find and install Berkeley DB 4.8 for full binaruy compatibilityFixed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/pull/12526#discussion_r170433970, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuuLzy4L8wc8xBlInYdMK1R5ObcuC_Yks5tYIi5gaJpZM4SR5FU .
84 | @@ -85,22 +85,27 @@ install necessary parts of boost: 85 | 86 | sudo apt-get install libboost-all-dev 87 | 88 | -BerkeleyDB is required for the wallet. 89 | +BerkeleyDB is required for the wallet. Unfortunately, There is a binary incompatibility between BerkeleyDB 4.8 and latest 5.x series. There are three options: 90 | 91 | -**For Ubuntu only:** db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin). 92 | -You can add the repository and install using the following commands: 93 | +- If you need the wallet and don't need the binary wallet compatibility install latest Berkeley DB with following commands:
Nit: "Install the latest …"
fixed :< thanks.
95 | - sudo apt-get install software-properties-common 96 | - sudo add-apt-repository ppa:bitcoin/bitcoin 97 | - sudo apt-get update 98 | - sudo apt-get install libdb4.8-dev libdb4.8++-dev 99 | + sudo apt-get install libdb-dev libdb++-dev 100 | +
Oh, I see. let me push another one.
Hmm. Looks like intentional trailing space (to adjust indentation of the following text) for formatting cause the issue. I will look into the lint code, but, simply forbid such a trailing space don't work in this context. I tried to rewrite the text prior the apt-get commands but can't find a better way to rewrite. Will fix in either way.
78 | @@ -79,28 +79,33 @@ Options when installing required Boost library files: 79 | individual boost development packages, so the following can be used to only 80 | install necessary parts of boost: 81 | 82 | - sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev 83 | + sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
I think that it is better not to delete whitespace here. If there are only 4, it seems that no code block is generated.
83 | + sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev 84 | 85 | 2. If that doesn't work, you can install all boost development packages with: 86 | 87 | - sudo apt-get install libboost-all-dev 88 | + sudo apt-get install libboost-all-dev
I think that it is better not to delete whitespace here. If there are only 4, it seems that no code block is generated.
97 | - sudo apt-get install software-properties-common 98 | - sudo add-apt-repository ppa:bitcoin/bitcoin 99 | - sudo apt-get update 100 | - sudo apt-get install libdb4.8-dev libdb4.8++-dev 101 | + sudo apt-get install libdb-dev libdb++-dev 102 | +
If there are 6 spaces before sudo apt-get, markdown will generate a code block.
Then I think that the space at the end of the next line is unnecessary.
114 | + sudo add-apt-repository ppa:bitcoin/bitcoin 115 | + sudo apt-get update 116 | + sudo apt-get install libdb4.8-dev libdb4.8++-dev 117 | + 118 | +- Disabling the wallet 119 | +
I think the space at the end of this line is unnecessary.
Thanks, but that lines does not actually cause the problem. The issue is caused by different lines. Please see the log.
I'm sorry, I confused you with my last comment. I reviewed again with editing my local repository actually.
There is some unclear description on this, and I have confused.
Trying to be clear on options.
I have modified to eliminate description trailing in apt-get code block. I will look into the lint code on spare time in future.
Closing for now. You can open a new pull request when you come back to addressing the feedback.