As you have not specified -enable-client-only then the default is to build both the SD and Director and then you need a database. So you need to disable the Director with the config option -disable-build-dir.

This should hopefully solve your problem.

Adolf Belka.

Sent from my Desktop Computer

On 12/02/18 20:58, Tilman Schmidt wrote:
Am 12.02.2018 um 18:40 schrieb Shawn Rappaport:
Thank you for the advice, Tilman! I tried to configure just the SD on the 
storage server by using this command:
CFLAGS="-g -Wall" ./configure --sysconfdir=/etc/bacula 
--with-scriptdir=/etc/bacula --enable-smartalloc --with-working-dir=/var/bacula 
--with-pid-dir=/var/run --enable-readline --disable-build-dird

However, it says:
You have not specified either --enable-client-only or one of the
supported databases: MySQL, PostgreSQL, or SQLite3.
This is not permitted. Please reconfigure.
Can't say much about ./configure.
I'm using the pre-build packages, not compiling from source.
The bacula-storage package I use doesn't require a database.

Do I need to install MySQL and use --with-mysql even if I only want the SD?
You shouldn't have to. But perhaps the configure script needs some
special incantation to build only the storage daemon.

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Bacula-users mailing list

Reply via email to