Installing from distro package

Some distros have ladish preinstalled:

Installing from source

Obtaining the source

You can obtain the latest source tarball from here. Or you can obtain the source tree through  GIT by cloning:

git clone git://repo.or.cz/ladish.git

Installing dependencies

Sources for some of the requirements, the ones that may be seen as unusual, are bundled in the release tarballs.

  • JACK
  • a2jmidid
  • laditools
  • flowcanvas

For git clones, you can get them at once like this:

git submodule init
git submodule update

Build requirements (tools, headers and libraries):

Optional build requirements, without them GUI frontend will not be built:

  • You need glib
  • You need dbus-glib
  • You need gtk+
  • You need libglade
  • You need flowcanvas

Runtime requirements:

  • JACK with D-Bus support - really required
  • LADI Tools - strongly recommended (unless you are a hardcore, you want it)
  • a2jmidid - strongly recommended if you use ALSA seq MIDI apps.

Configuring the build system

ladish requires jackdbus and thus the --dbus option has to be supplied to ./waf configure. If you want to have jackd as well (it is harder to manage mixed jackd+jackdbus but still possible), you have to supply --classic as well, because --dbus disables jackd unless --classic is supplied as well.

You have to decide where you want to install.

The default is to install in /usr/local. Chances are that simply installing in /usr/local will not work as expected because often only /usr/share/dbus-1/services/ is inspected by the D-Bus daemon and you will get the ladish service registration file in {{{/usr/local/share/dbus-1/services}/}}.

If you choose to install in /usr/local, you have to either tweak the D-Bus system configuration or specify the --enable-pkg-config-dbus-service-dir that will cause only the service registration file to be installed in /usr, other files will getting installed in /usr/local:

./waf configure --dbus --enable-pkg-config-dbus-service-dir

If you choose to install to /usr, configure like this:

./waf configure --dbus --prefix=/usr

Building

./waf

Installing

As root:

./waf install

If you use sudo:

sudo ./waf install

Don't forget to rebuild the dynamic linker cache by running ldconfig as root

sudo ldconfig

Now what?

You probably want to read the tutorial.