From
distrowatch: trixbox (formerly known as Asterisk@Home) is a CentOS-based Linux distribution that enables the home user to quickly set up a VoIP Asterisk PBX.
The Bacula Main Reference (available as PDF or HTML at
bacula.org) describes building from source in detail.
Pre-requisites are:
- GNU C++ version 2.95 or higher
- One of
- MySQL 4.1
- PostgreSQL 7.4
- SQLite 2.8.16 or SQLite 3
- For the optional Bacula Administration Tool (bat): qt4 and qt4-dev 4.3.4 or higher
- For the optional Tray Monitor: GTK+ 2.x and a suitable window manager
- For the optional wxWidgets console: wxWidgets (developed and tested with 2.6.1)
The build instructions are best suited for developers. For a more conventional configuration I used
Code:
CFLAGS="-g -Wall" \
./configure \
--enable-batch-insert \
--enable-conio \
--mandir=/usr/man \
--sbindir=/usr/bin \
--sysconfdir=/etc/bacula \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-mysql \
--with-working-dir=/var/bacula \
--with-dump-email=root
IDK Centos; maybe mandir and sbindir would start with /usr/local to suit CentOS.
You may want to add --enable-bat and --enable-tray-monitor.
There's an
LQ WIKI page for Bacula but it's fairly basic so far.