Bacula 7.0.5
Bacula 7.0.5 From Sources Ubuntu Trusty 14.04 whit maridb (mysql) =
Go your source package directory and dowload / clone bacula source package:
git clone http://git.bacula.org/bacula
buildBacula:
apt-get install libmysqlcppconn-dev libmysqlcppconn7
cd /mpi3/S4/bacula-7.0.5
sudo make distclean
export CFLAGS="-g -O2"
export CFLAGS2=`/usr/bin/mysql_config --cflags`
export CFLAGS="$CFLAGS $CFLAGS2"
export LDFLAGS=`/usr/bin/mysql_config --libs_r`
export LIBS=`/usr/bin/mysql_config --libs`
export CPPFLAGS=`/usr/bin/mysql_config --include`
./configure \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula \
--with-mysql \
--with-working-dir=/var/bacula \
--with-pid-dir=/var/run/bacula \
--with-systemd \
--enable-bat \
-enable-batch-insert \
--enable-smartalloc
make
sudo make install
sudo make install-autostart
Note's/Ref: tokudb & mariadb-galera & bacula do not work together use Innodb or Aria instead, https://mariadb.org/ , -https://sites.google.com/site/jpsdatareviewstheboy007/ubuntu-lts-12-4-companion-whit-ltsp-mpich2-elmer-openfoam