Version 3 (modified by ajaworski, 13 years ago) (diff)

--

SAGE installation and usage

Installation

Prerequisities

These packages are required to compile SAGE on Ubuntu:

  • build-essential
  • mesa-utils
  • python-wxtools
  • libmagickwand-dev
  • libreadline6-dev
  • libsdl-dev
  • libxmu-dev
  • libxi-dev
  • freeglut3-dev
  • libglew1.5-dev

To operate the wall using Wiimote also these libraries are required:

More information about wiiusecpp can be found at  http://www.missioncognition.net/software/wiiusecpp.html .

Optionally, these packages are helpful in monitoring the system:

  • ethtool
  • iftop

Before compiling SAGE make sure that the OpenGL library is linked properly in /usr/lib - some GPU drivers tend to break the links.

Compilation

To compile SAGE simple make nad sudo make install is required. There is a configure script distributed with SAGE sources, but all it does is echo "DONE", so you don't have to run it.

Environment setup

After installation SAGE there is some environment setup required.

  1. Environmental variables
    • in .bashrc change one of the first lines from:
      [ -z "$PS1" ] && return 
      
      to:
      [ -z "$PS1" ] && . /etc/profile.d/sage.sh && return
      
      This will setup all required environmental variables even if you don't start an interactive session but just run a command using ssh.
  1. Libraries location Some applications using SAGE may not found SAGE libraries if you run an amd64 system. All you have to do is:
    • enter SAGE installation directory (/usr/local/sage by default)
    • make a symlink (ln -s) to lib64 folder and name it lib (sudo ln -s lib64 lib)

Usage