Quantcast

Bacula compile error when update to 7.4.5

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bacula compile error when update to 7.4.5

Wanderlei Huttel
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula compile error when update to 7.4.5

francisco javier funes nieto
Maybe you need the libacl1-dev Development libraries to compile. 


 sudo dpkg -l |grep acl
ii  libacl1                             2.2.49-4                     Access control list shared library
ii  libacl1-dev                         2.2.49-4                     Access control list static libraries and headers

Same oldie Squeeze machine.. ;)

J.


2017-02-09 10:35 GMT+01:00 Wanderlei Huttel <[hidden email]>:
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
_____________________________________________

Francisco Javier Funes Nieto [[hidden email]]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula compile error when update to 7.4.5

Wanderlei Huttel
That's it!

My error forget to install this lib =/
Weird that the previous version (7.4.4) I've compiled without any errors.

Best Regards

Wanderlei Hüttel

2017-02-09 7:46 GMT-02:00 Francisco Javier Funes Nieto <[hidden email]>:
Maybe you need the libacl1-dev Development libraries to compile. 


 sudo dpkg -l |grep acl
ii  libacl1                             2.2.49-4                     Access control list shared library
ii  libacl1-dev                         2.2.49-4                     Access control list static libraries and headers

Same oldie Squeeze machine.. ;)

J.


2017-02-09 10:35 GMT+01:00 Wanderlei Huttel <[hidden email]>:
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
_____________________________________________

Francisco Javier Funes Nieto [[hidden email]]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula compile error when update to 7.4.5

Ralf Brinkmann
In reply to this post by francisco javier funes nieto
Am 09.02.2017 um 10:46 schrieb Francisco Javier Funes Nieto:

> Maybe you need the libacl1-dev Development libraries to compile.
>
>
>  sudo dpkg -l |grep acl
> ii  libacl1                             2.2.49-4                     Access
> control list shared library
> ii  libacl1-dev                         2.2.49-4                     Access
> control list static libraries and headers
>
> Same oldie Squeeze machine.. ;)

... same on old SuSe Mantis.

I had to select libacl-devel additionaly.

> [x] libacl-devel - Enthält Dateien und Bibliotheken, die zum Programmieren benötigt werden
> This package contains all necessary include files and libraries needed to develop applications that require these.

... and as allways patching Bat.

> main.cpp:35:2: error: #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
> main.cpp:36:2: error: #error "You need Qt version 4.8.4 or later to build Bat"
> main.cpp:37:2: error: #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

> ./bacula-7.4.4/src/qt-console # diff -wi main.cpp*
> ...
> < #if QT_VERSION < 0x040604
> > #if QT_VERSION < 0x040804

--
Ralf Brinkmann



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...