configure failed to detect availability of sys/acl.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

configure failed to detect availability of sys/acl.h

Anonim
When make bacula-9.0.4 on CentOS 7.2 I got:

---
In file included from xacl.c:1306:0:
xacl_linux.h:37:2: error: #error "configure failed to detect availability of sys/acl.h"
 #error "configure failed to detect availability of sys/acl.h"
  ^
In file included from xacl.c:1306:0:
xacl_linux.h:66:4: error: ‘acl_type_t’ does not name a type
    acl_type_t get_acltype(XACL_type xacltype);
    ^
xacl_linux.h:67:22: error: ‘acl_t’ has not been declared
    int acl_nrentries(acl_t acl);
                      ^
xacl_linux.h:68:22: error: ‘acl_t’ has not been declared
    bool acl_issimple(acl_t acl);
                      ^
make[1]: *** [xacl.o] Error 1
make[1]: Leaving directory `/opt/install/bacula-9.0.4/src/filed'


  ====== Error in /opt/install/bacula-9.0.4/src/filed ======


make: *** [all] Error 1
---

Installed packages:

[root@bacula bacula-9.0.4]# rpm -qa | grep acl
libacl-2.2.51-12.el7.x86_64
acl-2.2.51-12.el7.x86_64
libacl-devel-2.2.51-12.el7.x86_64
nfs4-acl-tools-0.3.3-14.el7.x86_64

Does anyone have any idea how to fix this?