Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleWarning

You MUST complete the steps in Create Build Environment before you build the iota source since those steps install required Linux packages as well as set up important environmental variables.

...

If you haven’t done so already, then download the iota source tree. Refer to the Source Download instructions in the How-To chapter.

Set Up Environmental Variables

Use the following commands to set up the iota environmental variables.

<TBD>

Info
titleTest for variables

Test to make sure environment variables are set afterwards.


Example

Code Block
languagebash
titleSet Up Environmental Variables
$ cd mysource/incubator-iota
$  

Anchor
build-source-build-trafodion-components
build-source-build-trafodion-components

Build iota Components

All make options sets up your environment to run a debug version of the iota code on the server where you are building the code. This is refereed to as "iota" in the table below.

 

 

CommandWhat It Builds
make all 
  
Info
titleTip
If the build fails, you might want to rerun the make step. iota downloads many dependencies and sometimes one of the download operations fail. Rerunning the build generally works. If the build continues to fail after a few tries, then rerun the make with the -j 1 option to run the build in non-parallel mode, which makes it easier to locate errors.

Anchor
build-make-all
build-make-all

make all

...

 

Code Block
languagebash
titleExample: make all
$ make all
$

 

Verify Build

Local Binary Files

Check that local iota binary files were created in the build.

Code Block
languagebash
titleExample: Check Local File Creation
$ # Check that local binary files were created
$ 


Next Steps

Do one of the following once the build has completed:

 

  • Create Test Environment: Set up the iota development test environment on the server where you did the build. 
  • Install iota Binaries: Using the packages you created, install the iota Binaries using the steps described in the iota installation documentation.