hi, I try to get Bacula 5.x working on a Synology box with DSM 4.0. I need only the bacula-fd client, but compiling failes (tested with 5.0.5 and 5.2.13) on the same error:
# uname -a Linux synology 2.6.32.12 #2198 SMP Wed Mar 7 15:39:16 CST 2012 x86_64 GNU/Linux [...] libtool: link: warning: `/usr/local/i686-linux-gnu/i686-linux-gnu/lib/libstdc++.la' seems to be moved libtool: link: warning: `/usr/local/i686-linux-gnu/i686-linux-gnu/lib/libstdc++.la' seems to be moved ==== Make of lib is good ==== make[1]: Leaving directory `/tmp/bacula/bacula-5.2.13/src/lib' ==>Entering directory /tmp/bacula/bacula-5.2.13/src/findlib make[1]: Entering directory `/tmp/bacula/bacula-5.2.13/src/findlib' Compiling find.c Compiling match.c Compiling find_one.c Compiling attribs.c attribs.c: In function 'void encode_stat(char*, stat*, int, int32_t, int)': attribs.c:259: error: 'struct stat' has no member named 'st_flags' attribs.c: In function 'int decode_stat(char*, stat*, int, int32_t*)': attribs.c:363: error: 'struct stat' has no member named 'st_flags' attribs.c:363: error: 'struct stat' has no member named 'st_flags' attribs.c:365: error: 'struct stat' has no member named 'st_flags' attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)': attribs.c:544: error: 'struct stat' has no member named 'st_flags' attribs.c:544: error: 'chflags' was not declared in this scope make[1]: *** [attribs.lo] Error 1 make[1]: Leaving directory `/tmp/bacula/bacula-5.2.13/src/findlib' ====== Error in /tmp/bacula/bacula-5.2.13/src/findlib ====== [...] ==>Entering directory /tmp/bacula/bacula-5.2.13/src/filed make[1]: Entering directory `/tmp/bacula/bacula-5.2.13/src/filed' Compiling filed.c Compiling authenticate.c Compiling acl.c Compiling backup.c Compiling estimate.c Compiling fd_plugins.c Compiling accurate.c Compiling filed_conf.c Compiling heartbeat.c Compiling job.c Compiling pythonfd.c Compiling restore.c Compiling status.c Compiling verify.c Compiling verify_vol.c Compiling xattr.c make[1]: *** No rule to make target `../findlib/libbacfind.la', needed by `bacula-fd'. Stop. make[1]: Leaving directory `/tmp/bacula/bacula-5.2.13/src/filed' ====== Error in /tmp/bacula/bacula-5.2.13/src/filed ====== The file "/usr/local/i686-linux-gnu/i686-linux-gnu/lib/libstdc++.la" is a link to "/opt/lib/libstdc++.la", otherwise, I get "no such file ..." /configure --enable-client-only --enable-smartalloc --disable-conio --prefix=/opt/local --sysconfdir=/opt/local/etc/bacula --with-scriptdir=/opt/local/etc/bacula/scripts --build=i686-pc-linux Configuration on Tue May 7 17:32:51 CEST 2013: Host: i686-pc-linux-gnu -- unknown unknown Bacula version: Bacula 5.2.13 (19 February 2013) Source code location: . Install binaries: /opt/local/sbin Install libraries: /opt/local/lib Install config files: /opt/local/etc/bacula Scripts directory: /opt/local/etc/bacula/scripts Archive directory: /tmp Working directory: /opt/local/opt/bacula/working PID directory: /var/run Subsys directory: /var/run/subsys Man directory: ${datarootdir}/man Data directory: /opt/local/share Plugin directory: /opt/local/lib C Compiler: gcc 4.2.1 C++ Compiler: /opt/bin/g++ 4.2.1 Compiler flags: -g -O2 -Wall -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 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: no Bacula conio support: no readline support: no TCP Wrappers support: no TLS support: no Encryption support: no ZLIB support: yes LZO support: no enable-smartalloc: yes enable-lockmgr: no bat support: no enable-gnome: no enable-bwx-console: no enable-tray-monitor: no client-only: yes build-dird: yes build-stored: yes Plugin support: yes AFS support: no ACL support: no XATTR support: yes Python support: no systemd support: no Batch insert enabled: None The package optware-devel is installed. any suggestions? ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users