Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Building and Deploying Lightwave on Ubuntu 17.04

asakhardande edited this page May 21, 2017 · 1 revision

Prerequisites

You will need several packages as prerequisites to build lightwave

Do this using the following set of commands:

sudo su
apt-get install devscripts
apt-get install ant
apt-get install maven
apt-get install tomcat8
apt-get install default-jdk
apt-get install ant-contrib
apt-get install libcurl4-openssl-dev
apt-get install libjansson-dev
apt-get install debhelper
apt-get install autoconf
apt-get install libtool
apt-get install automake
apt-get install autotools-dev
apt-get install dh-autoreconf
apt-get install heimdal-multidev
apt-get install krb5-multidev
apt-get install libdb-dev
apt-get install libkrb5-dev
apt-get install libldap2-dev
apt-get install libsqlite3-dev
apt-get install libssl-dev
apt-get install libboost-all-dev
apt-get install openjdk-8-jre
apt-get install haveged
apt-get install libsasl2-dev

After these packages are installed, you need to navigate to the lightwave folder and run the following command

autoreconf –vif (you will need the configuration files for this)

Get likewise-open and likewise-open-dev packages and put them in the lightwave directory

wget https://vmware.bintray.com/lightwave-ubuntu/pool/l/lightwave/libsasl2-modules_2.1.27~101-g0780600+dfsg-2ubuntu1_amd64.deb
wget https://vmware.bintray.com/lightwave-ubuntu/pool/l/lightwave/likewise-open_6.2.11-0_amd64.deb
dpkg -i likewise-open_6.2.11-0_amd64.deb
dpkg --force-all -i likewise-open-dev_6.2.11-0_amd64.deb (OPTIONAL: only if likewise-open-dev package is needed)

Check lwsmd service as below:

cd /etc/systemd/system
ln -s /lib/systemd/system/lwsmd.service
service lwsmd status

and see that the service exists and is enabled

Then typing:

service lwsmd start

should start it up if the service is not active.

Building Lightwave

Now, you have the required packages.

Proceed to build as follows:

cd lightwave/build/package
debuild –us –uc –b

Debugging

If you run into issues at any point:

To download and install missing dependencies use

sudo apt-get -f install

Clone this wiki locally