Hi
The release was baculum, not bacula
I see no reason to be root as any user options can be set during
configure, which could be root…
@heyjoe here is the list of configure options…
./configure --help
`configure' configures bacula 7.1.0 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/bacula]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE=ARG] include FEATURE [ARG=yes]
--enable-libtool enable building using GNU libtool [default=yes]
--enable-shared=PKGS] build shared libraries [default=yes]
--enable-static=PKGS] build static libraries [default=no]
--enable-fast-install=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-includes enable installing of include files [default=no]
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
--enable-bat enable build of bat Qt4 GUI [default=no]
--enable-smartalloc enable smartalloc debugging support [default=no]
--enable-lockmgr enable lock manager support [default=no]
--enable-static-tools enable static tape tools [default=no]
--enable-static-fd enable static File daemon [default=no]
--enable-static-sd enable static Storage daemon [default=no]
--enable-static-dir enable static Director [default=no]
--enable-static-cons enable static Console [default=no]
--enable-client-only build client (File daemon) only [default=no]
--enable-build-dird enable building of dird (Director) [default=yes]
--enable-build-stored enable building of stored (Storage daemon)
[default=yes]
--disable-conio disable conio support [default=no]
--enable-ipv6 enable ipv6 support [default=yes]
--disable-readline disable readline support [default=yes]
--enable-batch-insert enable the DB batch insert code [default=yes]
--disable-largefile omit support for large files
--disable-afs disable afs support [default=auto]
--disable-lzo disable lzo support [default=yes]
--disable-acl disable acl support [default=auto]
--disable-xattr disable xattr support [default=auto]
Optional Packages:
--with-PACKAGE=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pic=PKGS] try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR
(or the compiler's sysroot if not specified).
--with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-libintl-prefix=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
--with-included-gettext use the GNU gettext library included here
--with-readline=DIR] specify readline library directory
--with-tcp-wrappers=DIR]
enable tcpwrappers support
--with-openssl=DIR] Include OpenSSL support. DIR is the OpenSSL base
--with-working-dir=PATH specify path of Bacula working directory
--with-archivedir=PATH specify path of SD archive directory
--with-basename=RESNAME specify base resource name for daemons
--with-hostname=RESNAME specify host name for daemons
--with-scriptdir=PATH specify path of Bacula scripts directory
--with-bsrdir=PATH specify path of Bacula bsrs directory
--with-logdir=PATH specify path of Bacula logs directory
--with-plugindir=PATH specify path of Bacula plugins directory
--with-dump-email=EMAIL dump email address
--with-job-email=EMAIL job output email address
--with-smtp-host=HOST SMTP mail host address
--with-pid-dir=PATH specify location of Bacula pid files
--with-subsys-dir=PATH specify location of Bacula subsys file
--with-baseport=PORT specify base port address for daemons
--with-dir-password=PASSWORD
specify Director's password
--with-fd-password=PASSWORD
specify Client's password
--with-sd-password=PASSWORD
specify Storage daemon's password
--with-mon-dir-password=PASSWORD
specify Director's password used by the monitor
--with-mon-fd-password=PASSWORD
specify Client's password used by the monitor
--with-mon-sd-password=PASSWORD
specify Storage daemon's password used by the
monitor
--with-db-name=DBNAME specify database name [default=bacula]
--with-db-user=UNAME specify database user [default=bacula]
--with-db-password=PWD specify database password [default=*none*]
--with-db-port=DBPORT specify a database port [default=null]
--with-dir-user=USER specify user for Director daemon
--with-dir-group=GROUP specify group for Director daemon
--with-sd-user=USER specify user for Storage daemon
--with-sd-group=GROUP specify group for Storage daemon
--with-fd-user=USER specify user for File daemon
--with-fd-group=GROUP specify group for File daemon
--with-sbin-perm=MODE specify permissions for sbin binaries [default=0750]
--with-postgresql=DIR] Include PostgreSQL support. DIR is the PostgreSQL
base install directory, [default=/usr/local/pgsql]
--with-mysql=DIR] Include MySQL support. DIR is the MySQL base install
directory, default is to search through a number of
common places for the MySQL files.
--with-embedded-mysql=DIR]
Include MySQL support. DIR is the MySQL base install
directory, default is to search through a number of
common places for the MySQL files.
--with-sqlite3=DIR] Include SQLite3 support. DIR is the SQLite3 base
install directory, default is to search through a
number of common places for the SQLite3 files.
--with-x use the X Window System
--with-afsdir=DIR] Directory holding AFS includes/libs
--with-lzo=DIR] specify lzo library directory
--with-systemd=UNITDIR]
Include systemd support. UNITDIR is where systemd
system .service files are located, default is to ask
systemctl.
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CPP C preprocessor
CXXCPP C++ preprocessor
XMKMF Path to xmkmf, Makefile generator for X Window System
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
These are the options that the OBS uses;
532s] $ ./configure '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/etc/bacula' '--disable-static' '--enable-readline' '--disable-conio' '--with-working-dir=/var/spool/bacula' '--with-archivedir=/var/spool/bacula' '--with-scriptdir=/usr/lib/bacula' '--with-bsrdir=/etc/bacula/bsr' '--with-logdir=/var/log/bacula' '--with-plugindir=/usr/lib64/bacula' '--with-postgresql' '--with-mysql' '--with-sqlite3' '--with-dir-user=bacula' '--with-dir-group=bacula' '--with-sd-user=bacula' '--with-sd-group=bacula' '--with-systemd=/usr/lib/systemd/system' '--enable-bat' 'CFLAGS=-pipe -O2 -march=core2 -mmmx -mssse3 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -flto' 'CXXFLAGS=-pipe -O2 -march=core2 -mmmx -mssse3 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -flto' 'build_alias=x86_64-suse-linux-gnu' 'host_alias=x86_64-suse-linux-gnu'
I would use the above and tweak/add as required.