Thanks for your advice. Actually it really make sense to look at the spec
file of successfully compiled rpm files. I should have thought about that.
Anyway...

Problem is solved. As I can see from spec file, another configure parameter
(with-x) must be defined to successfully compile the Bacule with bat. You
can see the configure option below.

CFLAGS="-g -Wall" ./configure \
  --sbindir=/opt/bacula904/bin \
  --sysconfdir=/opt/bacula904/etc \
  --with-working-dir=/opt/bacula904/working \
  --with-pid-dir=/opt/bacula904/working \
  --with-subsys-dir=/opt/bacula904/working \
  --enable-smartalloc \
  --with-postgresql=/usr/pgsql-9.4 \
  --with-openssl \
  --enable-conio \
  --enable-acl \
  --enable-lzo \
  --enable-lockmgr \
  --with-tcp-wrappers \
  --with-dir-user=bacula \
  --with-dir-group=bacula \
  --with-sd-user=bacula \
  --with-sd-group=bacula \
  --with-fd-user=root \
  --with-fd-group=root \
  --with-systemd \
  --enable-bat \
  --with-x \
  --with-dump-email=nore...@example.com \
  --with-job-email=nore...@example.com \
  --with-smtp-host=smtp.example.com


Quoting Simone Caronni <negativ...@gmail.com>:

Hi,

    On Mon, Sep 18, 2017 at 9:03 AM, Can Şirin <sirin...@itu.edu.tr>
wrote:

It is the same again. It is definitely related with enable-bat option.
Did you compiled it properly with bat?

Quoting Ralf Brinkmann <ralf.brinkm...@wemhoener.de>:

For a new try I'd set the compile options to a minimum, e.g.:

--with-postgresql
--enable-conio
--enable-bat

      
     You might want to take a look at the SPEC files for the rawhide
rebuilds:
      
     https://copr.fedorainfracloud.org/coprs/slaanesh/Bacula/
      
     The packages are at version 9.0.4 and BAT is enabled. If you want
to use the packages directly, read the documents as explained.
      
     Regards,
     --Simone

     
--
         You cannot discover new oceans unless you have the courage to
lose sight of the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to