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 "Building OLA"
From wiki.openlighting.org
m (moved Building LLA to Building OLA) |
(→Download & Extract) |
||
Line 30: | Line 30: | ||
or | or | ||
− | git clone | + | git clone https://github.com/OpenLightingProject/ola.git |
== Build == | == Build == |
Revision as of 20:21, 19 January 2014
Sometimes you'll need to build LLA from the sources rather than using the pre-built .deb. For example on non-debian systems, or if you want to use the LLA-Dmx4Linux plugin.
See also: Building LLA for OS X
Installed Dependencies
If you're building from the git version you'll need the perl Template module installed. Run the following:
perl -e "use Template"
If you get an error you'll need to download and install Template.pm (or apt-get install libtemplate-perl)
If, while compiling, you get an error that looks like
Can't locate XML/Simple.pm in @INC
you'll need to install XML::Simple (e.g. apt-get install libxml-simple-perl)
You may also install autoconf, automake and libtool (sudo apt-get install autoconf automake libtool).
Download & Extract
Either download the latest archive or grab the sources via git:
wget http://www.nomis52.net/data/sources/lla/lla-latest.tar.gz tar -zxf lla-latest.tar.gz
or
git clone https://github.com/OpenLightingProject/ola.git
Build
If you downloaded an archive you can skip the reconf step, otherwise run reconf which will also auto-generate parts of the code:
./reconf Generating source files... Done lla-UsbPro Done lla-ArtNet Running autotools + aclocal -I config + autoconf + autoheader + automake -a + exit
Then run ./configure and check which plugins will be built:
./configure ... checking for artnet_new in -lartnet... yes checking for DMXdev in -ldmx4linux... no checking for espnet_new in -lespnet... yes checking for shownet_new in -lshownet... no checking for sandnet_new in -lsandnet... yes checking for pathport_new in -lpathport... yes
In this case we're not going to build the shownet and dmx4linux plugins as we don't have the necessary libraries installed.
Finally run make:
make
Install
(become root)
make install
Test
Check that llad runs:
llad -d 3 -f -s