Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA on Linux"

From wiki.openlighting.org

Jump to: navigation, search
m (LLA on Debian moved to LLA on Linux: Most information is generic enough to fit all Linux flavours. Debian-specific info will be retained as example.)
(made information distro-agnostic (debian-specific hints are still there, so no information lost).)
Line 1: Line 1:
=Installing LLA on Debian From GIT/Archive=
+
=Installing LLA on Linux From GIT/Archive=
 
 
This describes how to get LLA working on a Debian system. It should be pretty similar for any other Linux based OS.
 
  
 +
This describes how to get LLA working on a Linux system.
  
 
==Checkout or Download an Archive==
 
==Checkout or Download an Archive==
  
 
   git clone http://www.nomis52.net/git/lla
 
   git clone http://www.nomis52.net/git/lla
 +
 +
If you don't have it yet, install '''git''' using your distro's package manager.
  
 
==Install libraries==
 
==Install libraries==
  
You need a couple of libraries installed for everything to work correctly. Some of these are available as Debian packages but others need to be downloaded.
+
You need a couple of libraries installed for everything to work correctly. Some of these are available as packages in most distros but others need to be downloaded.
  
First up we'll need microhttpd for the embedded web server (Note: you'll need version >= 0.4.0):
+
First up we'll need '''microhttpd''' for the embedded web server (Note: you'll need version >= 0.4.0):
 
    
 
    
[ftp://ftp.gnu.org/gnu/libmicrohttpd/ microhttpd]
+
-> [ftp://ftp.gnu.org/gnu/libmicrohttpd/]
  
 +
Then you will need '''libcppunit-dev''' and '''libcppunit'''.
  
Install some more libraries with apt:
+
Debian users can install them with apt:
  
 
   apt-get install libcppunit-dev libcppunit-1.12-1
 
   apt-get install libcppunit-dev libcppunit-1.12-1
  
From source or debian packages (not in stable):
+
Next, you need the '''Protocol Buffers''' from Google (BSD license). Most likely, you will need to download and build them yourself:
 +
 
 +
-> [http://code.google.com/p/protobuf/]
  
 +
Debian users will can use the following packets (not yet in stable):
 
libprotobuf2, libprotobuf-dev, protobuf-compiler
 
libprotobuf2, libprotobuf-dev, protobuf-compiler
[http://code.google.com/p/protobuf/ ProtocolBuffers]
 
  
From source:
 
  
[http://code.google.com/p/google-ctemplate/ CTemplate]
+
Then, build '''CTemplate''' (another Google goodie):
 +
 
 +
-> [http://code.google.com/p/google-ctemplate/]
  
 
Finally run ldconfig as root to pick up the new libraries
 
Finally run ldconfig as root to pick up the new libraries

Revision as of 11:30, 13 February 2009

Installing LLA on Linux From GIT/Archive

This describes how to get LLA working on a Linux system.

Checkout or Download an Archive

 git clone http://www.nomis52.net/git/lla

If you don't have it yet, install git using your distro's package manager.

Install libraries

You need a couple of libraries installed for everything to work correctly. Some of these are available as packages in most distros but others need to be downloaded.

First up we'll need microhttpd for the embedded web server (Note: you'll need version >= 0.4.0):

-> [1]

Then you will need libcppunit-dev and libcppunit.

Debian users can install them with apt:

 apt-get install libcppunit-dev libcppunit-1.12-1

Next, you need the Protocol Buffers from Google (BSD license). Most likely, you will need to download and build them yourself:

-> [2]

Debian users will can use the following packets (not yet in stable): libprotobuf2, libprotobuf-dev, protobuf-compiler


Then, build CTemplate (another Google goodie):

-> [3]

Finally run ldconfig as root to pick up the new libraries

 ldconfig

Configure

If you checked out the sources from git, you'll need to run

 autoreconf -i

After that run

 ./configure

Building & Testing

Build

 make

Run the tests

 make check

And install LLA

 sudo make install