1.3.3. Required Git, tar, and Python Versions

In order to use the build system, your host development system must meet the following version requirements for Git, tar, and Python:

If your host development system does not meet all these requirements, you can resolve this by either downloading a pre-built tarball containing these tools, or building such a tarball on another system. Regardless of the method, once you have the tarball, you simply install it somewhere on your system, such as a directory in your home directory, and then source the environment script provided, which adds the tools into PATH and sets any other environment variables required to run the tools. Doing so gives you working versions of Git, tar, Python and chrpath.

If downloading a pre-built tarball, locate the *.sh at http://downloads.yoctoproject.org/releases/yocto/yocto-1.5.3/buildtools/.

If building your own tarball, do so using this command:

     $ bitbake buildtools-tarball
            

Note

The SDKMACHINE variable determines whether you build tools for a 32-bit or 64-bit system.

Once the build completes, you can find the file that installs the tools in the tmp/deploy/sdk subdirectory of the Build Directory. The file used to install the tarball has the string "buildtools" in the name.

After you have either built the tarball or downloaded it, you need to install it. Install the tools by executing the *.sh file. During execution, a prompt appears that allows you to choose the installation directory. For example, you could choose the following:

     /home/your-username/sdk
            

The final step before you can actually use the tools is to source the tools environment with a command like the following:

     $ source /home/your-username/sdk/environment-setup-i586-poky-linux
            

Of course, you need to supply your installation directory and be sure to use the right file (i.e. i585 or x86-64).