Bacula-users

[Bacula-users] Bacula compile error when update to 7.4.5

2017-02-09 04:36:19
Subject: [Bacula-users] Bacula compile error when update to 7.4.5
From: Wanderlei Huttel <wanderleihuttel AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 9 Feb 2017 07:35:24 -0200
Good Morning

I was trying to update Bacula to 7.4.5 in a Debian Squeeze and I had an error when compiling "xacl.c". This is normal? Or because the OS is a bit old?

root@fw:/usr/src/bacula/bacula# dpkg -l | grep acl
ii  acl                             2.2.49-4                     Access control list utilities
ii  libacl1                         2.2.49-4                     Access control list shared library


./configure --enable-smartalloc --sysconfdir=/etc/bacula  --sbindir=/sbin --with-scriptdir=/etc/bacula/scripts --with-plugindir=/etc/bacula/plugins --with-pid-dir=/etc/bacula/working --with-subsys-dir=/etc/bacula/working --with-working-dir=/etc/bacula/working --with-systemd --disable-conio --disable-nls --with-logdir=/var/log/bacula --enable-client-only


   Host:                     x86_64-unknown-linux-gnu -- debian 6.0.10
   Bacula version:           Bacula 7.4.5 (07 February 2017)
   Source code location:     .
   Install binaries:         /sbin
   Install libraries:        /usr/lib
   Install config files:     /etc/bacula
   Scripts directory:        /etc/bacula/scripts
   Archive directory:        /tmp
   Working directory:        /etc/bacula/working
   PID directory:            /etc/bacula/working
   Subsys directory:         /etc/bacula/working
   Man directory:            ${datarootdir}/man
   Data directory:           /usr/share
   Plugin directory:         /etc/bacula/plugins
   C Compiler:               gcc 4.4.5-8)
   C++ Compiler:             /usr/bin/g++ 4.4.5-8)
   Compiler flags:            -g -O2 -Wall -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti
   Linker flags:
   Libraries:                -lpthread -ldl -ldl
   Statically Linked Tools:  no
   Statically Linked FD:     no
   Statically Linked SD:     no
   Statically Linked DIR:    no
   Statically Linked CONS:   no
   Database backends:        None
   Database port:
   Database name:            bacula
   Database user:            bacula
   Database SSL options:

   Job Output Email:         root@localhost
   Traceback Email:          root@localhost
   SMTP Host Address:        localhost

   Director Port:            9101
   File daemon Port:         9102
   Storage daemon Port:      9103

   Director User:
   Director Group:
   Storage Daemon User:
   Storage DaemonGroup:
   File Daemon User:
   File Daemon Group:

   Large file support:       yes
   Bacula conio support:     no -lreadline -lncurses
   readline support:         yes
   TCP Wrappers support:     no
   TLS support:              yes
   Encryption support:       yes
   ZLIB support:             yes
   LZO support:              yes
   enable-smartalloc:        yes
   enable-lockmgr:           no
   bat support:              no
   client-only:              yes
   build-dird:               yes
   build-stored:             yes
   Plugin support:           yes
   AFS support:              no
   ACL support:              no
   XATTR support:            yes
   systemd support:          yes
   Batch insert enabled:     None



Compiling filed.c
Compiling authenticate.c
Compiling backup.c
Compiling crypto.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling hello.c
Compiling job.c
Compiling fd_snapshot.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xacl.c
In file included from xacl.c:1306:
xacl_linux.h:37:2: error: #error "configure failed to detect availability of sys/acl.h"
Compiling xacl_linux.c
Compiling xacl_osx.c
In file included from xacl_linux.c:30:
xacl_linux.h:37:2: error: #error "configure failed to detect availability of sys/acl.h"
In file included from xacl.c:1306:
xacl_linux.h:66: error: ‘acl_type_t’ does not name a type
xacl_linux.h:67: error: ‘acl_t’ has not been declared
xacl_linux.h:68: error: ‘acl_t’ has not been declared
make[1]: ** [xacl.o] Erro 1
make[1]: ** Esperando que outros processos terminem.
In file included from xacl_linux.c:30:
xacl_linux.h:66: error: ‘acl_type_t’ does not name a type
xacl_linux.h:67: error: ‘acl_t’ has not been declared
xacl_linux.h:68: error: ‘acl_t’ has not been declared
xacl_linux.c:83: error: ‘acl_type_t’ does not name a type
xacl_linux.c:113: error: ‘int XACL_Linux::acl_nrentries’ is not a static member of ‘class XACL_Linux’
xacl_linux.c:113: error: ‘acl_t’ was not declared in this scope
xacl_linux.c:113: error: expected ‘,’ or ‘;’ before ‘{’ token
make[1]: ** [xacl_linux.o] Erro 1
make[1]: Saindo do diretório `/usr/src/bacula/bacula/src/filed'


No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.10 (squeeze)
Release:        6.0.10
Codename:       squeeze


Best Regards

Wanderlei Hüttel

------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>