Skip to content
James Edmondson edited this page Mar 9, 2019 · 22 revisions

Table of Contents


Linux

It is highly recommended that for Ubuntu Linux, you use the GAMS Linux build scripts. They have been designed to make MADARA installation on Linux as easy as possible. For instance, if you download and use the GAMS scripts, you can essentially build all of MADARA with the following:

$GAMS_ROOT/scripts/linux/base_build.sh prereqs madara

We can potentially update this Wiki to advise how to do this by hand, but right now, we advise building MADARA using the GAMS build scripts. Don't forget to include the prereqs option on first installation or usage of new features to install feature prerequisites with apt-get install.

To get a list of all features that can be enabled in the build script, pass help as an option.


Mac

It is highly recommended that for Mac, you use the GAMS Mac build scripts. They have been designed to make MADARA installation on Mac as easy as possible. For instance, if you download and use the GAMS scripts, you can essentially build all of MADARA with the following (after installing Homebrew on Mac):

$GAMS_ROOT/scripts/mac/base_build.sh prereqs madara

To get a list of all features that can be enabled in the build script, pass help as an option.


Windows

To install on Windows, you should understand that the old build instructions at Sourceforge are slightly wrong. We are moving away from ACE (from the CORBA/ACE+TAO world) and are instead using STL and Boost where possible for threading, OS functionality, etc. The new requirements for installing base MADARA on Windows are the following:


Windows Prerequisites

  • Install Perl (ActiveState)
  • Install Git (TortoiseGit), which requires Git for Windows. It is highly recommended that when prompted to install command line tools, do so. The Windows Builds instructions below expect you to have command line git available. If you don't, download the MADARA repo as you would do normally with how you are comfortable on Windows.
  • Download Boost (Boost)
  • Install Oracle JDK (if you want Java) (preferably 1.8)
  • Install Visual Studio 2017 (2015 is no longer supported)

Windows Build

It is highly recommended that for Windows, you use the GAMS Windows build script (base_build.bat). We have tried to design this script to be as useful and intuitive as possible (as close as we can get a Windows installation process to download and install most dependencies).

$GAMS_ROOT/scripts/windows/base_build.bat prereqs madara