Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Simplify db4 installation #1

Closed
meeDamian opened this issue Sep 19, 2018 · 4 comments
Closed

Simplify db4 installation #1

meeDamian opened this issue Sep 19, 2018 · 4 comments

Comments

@meeDamian
Copy link
Member

The whole # Build and Install Berkley DB 4.8.30 block can be replaced with

./contrib/install_db4.sh $(pwd)

run from the root of bitcoin repo, it also puts berkleydb in the standard location:

bitcoin/db4/
@nolim1t
Copy link
Member

nolim1t commented Sep 21, 2018

Will investigate this option.

What is the standard location of the berkleydb? just in case the docker container doesn't recognize it?

@meeDamian
Copy link
Member Author

As I wrote: ./bitcoin/db4/

It does exactly the same as your script lines, except it puts it inside the bitcoin directory and is a brain-dead one-liner already bundled-in with bitcoind repository.

@nolim1t
Copy link
Member

nolim1t commented Oct 9, 2018

Notes

export BDB_PREFIX='/home/pi/bitcoin/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include"

nolim1t added a commit that referenced this issue Oct 10, 2018
Also updated the dockerfile with that latest bitcoind
@nolim1t
Copy link
Member

nolim1t commented Oct 11, 2018

Installation simplified

@nolim1t nolim1t closed this as completed Oct 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants