Installation¶
Build Prerequisites¶
To build Trombone you need
- the PostgreSQL database server,
- pg_config (comes with postgresql-devel, or libpq-dev on Debian),
- the Cabal tool – a build system for Haskell programs, and
- a recent version of GHC (The Glasgow Haskell Compiler).
Cabal and GHC come bundled with the Haskell Platform, which is the recommended installation strategy unless you have more specific requirements. The Haskell Platform is available for all major operating systems.
Getting the Haskell Platform¶
Consult the search utility provided by your distribution’s package manager to locate a suitable candidate, or follow the instructions on the download page relevant to your operating system.
Building Trombone¶
Once you have GHC and Cabal installed, run the command
$ cabal update
to download the most recent list of packages. Next, clone the repository,
$ git clone https://github.com/johanneshilden/trombone.git
and run the below sequence of commands. (The use of a sandbox here is optional, but recommended to avoid dependency problems.)
$ cd trombone
$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal build
dist/build/trombone/trombone
Troubleshooting¶
Report bugs and other issues to github.com/johanneshilden/trombone/issues.