HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 12:04:03 PM |
|
How much experience have you had in the past with coding/compiling on Linux based systems? 0 Well... I guess you're not doing too badly for someone with zero experience! But it does explain a few things. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Note, I'm not sure that diving headfirst into attempting to compile Bitcoin Core as your "first project" is the best way to learn the in's and out's of compiling on Linux ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) But we'll take a stab at it. Essentially, run configure and see what it tells you is missing, then do what you need to fix that issue... at this point, it seems that simply executing ./configure with the appropriate settings as per the output from building the BerkeleyDB libs should fix your current problem. I'd expect (assuming that you already installed all the required libs and dependencies here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#ubuntu--debian) that it would complete without error and you should be able to use make
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3192
Merit: 2980
Top Crypto Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 02:12:50 PM |
|
How much experience have you had in the past with coding/compiling on Linux based systems? 0 Hello BlackHatCoiner, is important to install all the dependencies you need before installing the program, for that try with: $ sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-all-dev
With that then you shouldn't have problems to compile the core... but if you still having problems, the i would like to recommend you to install and not compile. Here is the step by step: https://hackernoon.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2018-edition-cb8e384479ea
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 02:27:57 PM |
|
I did the command you told me. All of these were installed successfully. Now I'm building it with: ./autogen.sh ./configure make Well this is what it returns: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FxH31hmE.png&t=663&c=N32hnBbjjIShkw)
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 02:39:47 PM |
|
I did the command you told me. All of these were installed successfully. Now I'm building it with: ./autogen.sh ./configure make Well this is what it returns: ~snip~ Did you read and follow the Instructions? Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later. This will 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-bdb to configure.
Do you have libdb-dev and libdb++-dev installed? If not, install them: sudo apt-get install libdb-dev libdb++-dev
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 02:56:04 PM |
|
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FTMP802t.png&t=663&c=zn_v96Ww6p8--A) This is what I get on ./configureI tried the --with-incompatible-bdb but it doesn't seem to do anything.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 03:01:48 PM |
|
This is what I get on ./configure
I tried the --with-incompatible-bdb but it doesn't seem to do anything.
--with-incompatible-bdb is a paremeter which needs to be passed to configure. It is not a command on its own. If you want to use that parameter, you need to execute: ./configure --with-incompatible-bdb
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:04:29 PM |
|
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FQsycZdz.png&t=663&c=-F8DgW72iaQakA) This is after make. Is it over? Are the files somewhere? It says that they are made in doc/man but this is what I get when I go there: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FxIXR8wT.png&t=663&c=c9tDJtZq9UTZ_A)
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:15:04 PM |
|
Yes, you are done. make finished without errors. The binaries should be in your directory where you executed the command. In your case, that is: ~/bitcoin-master/ ~/bitcoin-master/src/
The output actually does not mean that "all" files are in doc/man.
|
|
|
|
achow101
Moderator
Legendary
Offline
Activity: 3430
Merit: 6720
Just writing some code
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:15:45 PM |
|
This is after make. Is it over? Are the files somewhere? It says that they are made in doc/man but this is what I get when I go there:
Most of the binaries can be found in src/ (i.e. src/bitcoind, src/bitcoin-tx, etc.). bitcoin-qt is in src/qt/bitcoin-qt. That log line is saying that it entered doc/man and did something there. It does not mean that the build results are there, just the build results of the steps it did there.
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:29:54 PM |
|
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FqrcCO8v.png&t=663&c=t0AbfYMrI-E2Cg) These are the files? I'm curious of how to run them. I haven't run an executable on linux before. What extension do they have? (if they don't have .exe)
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:48:59 PM |
|
They don't necessarily have an extension. The extension is just part of the filename. The file is named bitcoin-qt. To run it, enter: It might be the case, that the file is not marked as executable. In that case you first need to run: sudo chmod 744 bitcoin-qt
If it says, the file can not be found, run the following in the bitcoin-master directory: find . -type f -iname "bitcoin-qt*"
This should give you the location of the file.
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 04:54:22 PM |
|
./src/qt/res/bitcoin-qt-res.rc ./src/qt/bitcoin-qt ./build_msvc/bitcoin-qt/bitcoin-qt.vcxproj ./doc/man/bitcoin-qt.1 ./contrib/bitcoin-qt.pro And what of those 5 is the bitcoin-qt?
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
This is the executable: So, either enter the directory ~/bitcoin-master/src/qt/ and enter: or run the following from your home directory: ./bitcoin-master/src/qt/bitcoin-qt
P.s. You are almost there! ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2020, 08:06:19 PM |
|
Yeah! I did it. Part 1 is done. I have to face the second part now, and I'm creating a new thread for that. https://bitcointalk.org/index.php?topic=5270019
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 08:48:38 AM |
|
I have a question. I want to compile Bitcoin Core v0.16.0. I successfully compile the files but once I write find . -type f -iname "bitcoin-qt*" I only get: ./src/qt/res/bitcoin-qt-res.rc ./doc/man/bitcoin-qt.1 None of them is the launcher right?
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4316
<insert witty quote here>
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 11:03:23 AM |
|
After compilation of v0.16.0, is there a file called "bitcoind" that has been created anywhere?
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 11:42:02 AM |
|
After compilation of v0.16.0, is there a file called "bitcoind" that has been created anywhere? Is it that? ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FCYZMqh1.png&t=663&c=JPpENvr9IEkgEQ) Because when I command that, this happens: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FmpTiH6R.png&t=663&c=b6LsXgZ6OyZFhw)
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
ranochigo
Legendary
Offline
Activity: 2982
Merit: 4193
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 11:52:55 AM |
|
Because when I command that, this happens:
-zip-
Are you using your own wallet.dat? Might be the case of the wallet.dat not being backwards compatible (you're running 0.16.0 after-all). Try moving your wallet.dat to another directory and running the client again.
|
|
|
|
BlackHatCoiner (OP)
Legendary
Offline
Activity: 1554
Merit: 7583
Protocols over bureaucrats
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 11:55:41 AM |
|
Because when I command that, this happens:
-zip-
Are you using your own wallet.dat? Might be the case of the wallet.dat not being backwards compatible (you're running 0.16.0 after-all). Try moving your wallet.dat to another directory and running the client again. Where is wallet.dat located?
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
ranochigo
Legendary
Offline
Activity: 2982
Merit: 4193
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2020, 11:57:52 AM |
|
Where is wallet.dat located?
A neat little command I use in the terminal is: find / -name wallet.dat -print 2>/dev/null . The output should be the directory the wallet.dat is in.
|
|
|
|
|