Bitcoin Forum
May 03, 2024, 03:58:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Setting up Bitcoin environment but ./autogen.sh wouldn't respond and other CMND  (Read 158 times)
Cookdata (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 876


Not Your Keys, Not Your Bitcoin


View Profile
January 09, 2022, 12:27:32 PM
Last edit: January 09, 2022, 04:53:48 PM by Cookdata
Merited by NotATether (3), dkbit98 (1)
 #1

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


Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714751905
Hero Member
*
Offline Offline

Posts: 1714751905

View Profile Personal Message (Offline)

Ignore
1714751905
Reply with quote  #2

1714751905
Report to moderator
psycodad
Legendary
*
Offline Offline

Activity: 1604
Merit: 1564


精神分析的爸


View Profile
January 09, 2022, 12:35:15 PM
 #2

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

Cookdata (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 876


Not Your Keys, Not Your Bitcoin


View Profile
January 09, 2022, 04:50:28 PM
 #3

-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.

psycodad
Legendary
*
Offline Offline

Activity: 1604
Merit: 1564


精神分析的爸


View Profile
January 09, 2022, 04:54:47 PM
 #4

-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.

n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
January 09, 2022, 04:57:52 PM
 #5

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6726


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 11, 2022, 08:52:00 AM
 #6

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
January 11, 2022, 06:49:11 PM
 #7

~

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Cookdata (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 876


Not Your Keys, Not Your Bitcoin


View Profile
January 11, 2022, 11:55:49 PM
 #8

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


n0nce
Hero Member
*****
Offline Offline

Activity: 882
Merit: 5818


not your keys, not your coins!


View Profile WWW
January 12, 2022, 02:22:26 AM
Merited by ABCbits (1)
 #9

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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6726


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 12, 2022, 12:50:22 PM
 #10

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!