Ethereum: What are the steps in building bitcoind on Mac OS X 10.6?
Building Building in Mac OS X 10.6: A step guide per step
Building Bitcoin in Mac OS X can be a bit complicated, but with the right steps and tools, it should successfully compile and install the latest version of the Bitcoin client. In this article, we will go through the step by step.
Premise
Before starting, be sure to have the following:
- An installation of Mac OS X 10.6 or posterior
- Boost library installed in your system (see the instructions below)
- JAVA JDK installed (optional)
Step 1: Install the Boost Library
Boost is a popular C ++ folk library that offers many useful characteristics for construction programs, including Bitcoin. To install Boost, follow these steps:
- Download Boost’s latest version from the official site ([ (
- Remove the Boost-1_42_0.zip file in a directory in your MAC (for example,
~/boost
).
- Open terminal and sailing in the extract of director Boost.
- Execute the following command:
./Bootstrap.sh
- Follow the instructions to install Boost.
Step 2: Compare Java JDK if necessary
If you want to compile bitcoin from the fountain using a Java -based construction system, follow these steps:
- Download the latest version of Java Sdk (JDK) from the official site of Oracle ([ Alan (hhttp: //ww.orracle .com /Java/Technologies/Javase-Downloads.html)).
- JDK’s draw in a director of your MAC (for example,
~/jdk
).
- Terminal open and navigate in the extra DDK Director.
- Execute the following command:
Javac -Vebose -d ./build/Path/to/your/bitcoin Fuentes/*. CPP
Step 3: Compare Bitcoin
- Create a construction director for your Bitcoin project (for example,
/bitcoin/Build).
- Navigate to the Construction Director and run the following command:BJAM
- This will compile all the files of origin in your project.
Step 4: Build and install
After compilation, you must build and install the Bitcoin customer. To do this:
- Execute the following command in the terminal:.
- Follow the indications to extract tarball.
- Move the files extracted to a directory in its system (for example,
/USR/local/bitcoin).
Step 5: Test and Restart
After installed bitcoin, try in the block chain using thebitcoincli -q -ddress
If everything goes well, congratulations! Now you should be able to use bitcoin in your Mac OS X system.
Trips to solve problems
- Make sure Boost is installed and configured correctly.
- See the construction of any error or warning.
- If you find problems during compilation or installation, see the official BOOST documentation ([ Alan ( .hoc/doc/doc /libs/latest/installation.html)).
I hope this helps! If you have any questions or need additional assistance, do not hesitate to ask.