Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Installation of System Dependencies

mnicky edited this page Sep 5, 2012 · 29 revisions

[under construction]

Luadist requires the presence of Git and CMake on the system. Instructions for installing both of them, depending on your operation system, follow below.

Linux

Needed packages: libc-dev, gcc, g++, make, cmake, git

Installation:

To install these packages, you can use any system tool (apt-get, aptitude, yum, pacman...), depending on the distribution you use. For example, on Ubuntu Linux you can use: sudo apt-get install build-essential cmake git

OS X

[todo]

Microsoft Windows

C and C++ compilers

We will use compilers from MinGW project.

Installation:

![Updating the repository catalogues](http://i.imgur.com/zTBdT.png)
  • In the Select Components dialog, choose both C and C++ compilers:
![Selecting components to install](http://i.imgur.com/COLMv.png)

After the successful installation, you need to add the path to MinGW to your system PATH variable, so that it can be accessed from the command line.

  • In the item System of the Control Panel. Go to the tab Advanced and open the item Environment Variables:
![Selecting components to install](http://i.imgur.com/h7YNI.png)
  • In the part System variables locate the variable Path and add a string ;C:\MinGW\bin at the end. Do not change the preceding values, just add this one to the end and then save the changes:
![Selecting components to install](http://i.imgur.com/apcJ8.png)

CMake

Installation:

  • Download the latest binary installer from http://cmake.org/HTML/Download.html#latest, concretely Windows (Win32 Installer) and execute it.
  • When installer offers an option to add CMake to the system PATH variable, choose that option:
![Adding CMake to the PATH](http://i.imgur.com/hxxuS.png)

Git

As the git installation, we will use the installer Git for Windows from the project msysGit.

Installation:

![Selecting components to install](http://i.imgur.com/rdqgF.png)
  • When the installer offers an options to adjusting the PATH environment, select the option Run Git from the Windows Command Prompt:
![Adjusting the PATH environment](http://i.imgur.com/w0o95.png)