Difference between revisions of "Building OLA"
(→Download & Extract)
|Line 30:||Line 30:|
git clone ://..git
== Build ==
== Build ==
Revision as of 21: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
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
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:
Check that llad runs:
llad -d 3 -f -s