Author

Topic: Setting up Bitcoin environment but ./autogen.sh wouldn't respond and other CMND (Read 186 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
I have another question that has been confusing, what's the difference between this clone and the Bitcoin core(the main software)?
Is this Bitcoin environment the same as what they called Bitcoind? if it's, then what is the difference between them and Bitcoin Core daemon
This is not a clone. This is original Bitcoin Core software.
Yes, by installing Bitcoin Core, you get bitcoind which is short for "Bitcoin Daemon" or "Bitcoin Core Daemon".

In multitasking computer operating systems, a daemon (/ˈdiːmən/ or /ˈdeɪmən/)[1] is a computer program that runs as a background process

Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using git branch --remotes), and creates and checks out an initial branch that is forked from the cloned repository’s currently active branch.

To be more specific, Bitcoin Core is the family of programs that includes the bitcoind daemon, the bitcoin-qt GUI wallet, the bitcoin-cli command-line wallet, and a few miscellaneous utility programs.
hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
I have another question that has been confusing, what's the difference between this clone and the Bitcoin core(the main software)?
Is this Bitcoin environment the same as what they called Bitcoind? if it's, then what is the difference between them and Bitcoin Core daemon
This is not a clone. This is original Bitcoin Core software.
Yes, by installing Bitcoin Core, you get bitcoind which is short for "Bitcoin Daemon" or "Bitcoin Core Daemon".

In multitasking computer operating systems, a daemon (/ˈdiːmən/ or /ˈdeɪmən/)[1] is a computer program that runs as a background process

Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using git branch --remotes), and creates and checks out an initial branch that is forked from the cloned repository’s currently active branch.
hero member
Activity: 1106
Merit: 912
Not Your Keys, Not Your Bitcoin
It's because you're trying to build on Git for Windows which is just a CMD prompt with Git exposed to it.

You should instead install MSYS2 which provides Win32 versions of autotools and gcc, which can be installed via pacman.

This will allow you to run autogen.sh, configure and make just as in the Unix instructions.

I have look the installation page and looks good from the guide installation images. I have some questions that are yet unanswered.

I have another question that has been confusing, what's the difference between this clone and the Bitcoin core(the main software)?
Is this Bitcoin environment the same as what they called Bitcoind? if it's, then what is the difference between them and Bitcoin Core daemon

hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
~

Since OP use Windows (indicated by Windows Explorer and terminal which indicate C: drive), he should follow one of option which shown at https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md
Oh, it seemed to me they were using WSL since they tried to execute Linux scripts like ./autogen.sh. Then of course they need to use the Windows instructions, that's right.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
It's because you're trying to build on Git for Windows which is just a CMD prompt with Git exposed to it.

You should instead install MSYS2 which provides Win32 versions of autotools and gcc, which can be installed via pacman.

This will allow you to run autogen.sh, configure and make just as in the Unix instructions.
hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
I would recommend to use the latest version and also to follow the latest instructions straight from GitHub.

UNIX BUILD NOTES
Some notes on how to build Bitcoin Core in Unix.
(For BSD specific instructions, see build-*bsd.md in this directory.)
.......

Also make sure to check the 'dependencies' section and that you have all required dependencies installed.
legendary
Activity: 1612
Merit: 1608
精神分析的爸
-cut-

That is a typing error, I actually used  ./autogen.sh the first time and I have tried again, it is the same response.
Can you also simplify  what you said in your last paragraph! I will appreciate the answers to my last question.

I am pretty confident you will receive a very different error than what you posted when you run autogen.sh correctly.

I was just saying that git is not involved in the configure and compile process at all.
hero member
Activity: 1106
Merit: 912
Not Your Keys, Not Your Bitcoin
-cut-

That is a typing error, I actually used  ./autogen.sh the first time and I have tried again, it is the same response.
Can you also simplify  what you said in your last paragraph! I will appreciate the answers to my last question.
legendary
Activity: 1612
Merit: 1608
精神分析的爸
The command should be

Code:
./autogen.sh

and not

Code:
git ./autogen.sh

git has no business with the autogen script except updating it eventually when you git pull.

HTH
hero member
Activity: 1106
Merit: 912
Not Your Keys, Not Your Bitcoin
I have been ruminating the anatomy of bitcoin and I decided to chooce mastering Bitcoin guide by following every step without jumping any of the step as I know how important some libraries will be but I am hook on some responses I get, the autogen.sh wouldn't respond, I keep getting command not found.
On page 34 mastering Bitcoin, CONFIGURING THE BITCOIN CORE BUILD.
It says that to build command-line bitcoin client or bitcoind, built.unix has to be present in the bitcoin subfolder (build-aux) but when I ran ./autogen.sh, I keep getting command not found. I manually checked the bitcoin folder and the autogen script is right there, all file were successful downloaded, now I don't know where the problem lies.



These are some of the command-line test I have run so far, I downloaded a git application on my machine, since I tried using operating system command prompt but it wasn't working or responding to the commands so I tired the GIT and it worked anyway.
To get started, I downloaded the Bitcoin Core’s source code using git command by cloning the local copy of the source code.

Code:
$ git clone https://github.com/bitcoin/bitcoin.git

The source code was downloaded and was successful and I change the directory using $ cd bitcoin



The time I came to continue from where I stopped, I select the bitcoin core release using version v0.11.2 as the book suggest, also tested the $ git status and everything was working fine until I encountered the first error when I tried to configure the bitcoin core build using $ ./autogen.sh



All other command in the book has refuse to work since autogen.sh isn't giving me the response I'm expecting. I would appreciate if anyone can lift me up from where I stopped.


I have another question that has been confusing, what's the difference between this clone and the Bitcoin core(the main software)?
Is this Bitcoin environment the same as what they called Bitcoind? if it's, then what is the difference between them and Bitcoin Core daemon

Jump to: