Prior to building these are the required tools:

  • Git
  • Your operating system build essentials/toolchains (C compiler, gcc, make etc…)
  • Lua version 5.1, 5.2 or 5.3
  • Lua development libraries and toolchains

And the following hard dependencies:

  • GNU Libidn
  • OpenSSL development libraries
  • LuaSocket version 3.x or above
  • LuaExpat version 1.2.x or above
  • LuaFileSystem version 1.x or above
  • LuaEvent version 0.4.x or above

Optionally also:

  • LuaSec version 0.5 or above
  • lua-zlib (brimworks’ version), required for stream compression you can obtain it from here: http://github.com/brimworks/lua-zlib/downloads
  • LuaDBI version 0.5 or above, required to use RDB storage.

Example build commands syntax on a Linux system using Lua 5.3:

./configure –ostype=linux –prefix=/usr –with-lua-include=/usr/include/lua5.3 –with-lua=/usr/bin/lua5.3 –with-lua-lib=/usr/lib/lua/5.3 –lua-suffix=5.3 –sysconfdir=/etc/metronome –datadir=/var/lib/metronome
make
sudo make install

This will build Metronome and install it system wide into /usr/lib/metronome, have configuration stored into /etc/metronome and the datadir root located in /var/lib/metronome

Metronome’s AUR Package:

Optionally if you run Arch Linux or a Arch Linux based distribution, there’s a community provided package which will fetch Metronome latest tip from our repository and build it. You can find it here:

https://aur.archlinux.org/packages/metronome-git/

 

You can install it by building manually or if you use a AUR package manager like RUA, by issuing: rua install metronome-git