Hello,

Sven's libs3 is surely perfectly OK, but if you want the one that Bacula uses, please read the 9.4.1 release notes,
as you might want to download the Bacula version which is in the downloads directory on bacula.org.  Link provided
in the release notes.

Best regards,
Kern

On 12/28/18 7:07 PM, Dante F. B. Colò wrote:

Hi Sven

Thanks for your reply,

In my case m using CentOS 7 , i tried compiled Bacula with libs3 available on epel repository  which is even older than this branch you mencioned but it fails to build , i''l try with the version available on your repo. Thank you !


On 27/12/18 18:18, Sven Hartge wrote:
On 27.12.18 20:50, Dante F. B. Colò wrote:

I'm trying to setup a s3 cloud storage on Bacula Storage Daemon, is
there any extra dependencies necessary on the system to build Bacula
with the S3 plugin ?   I already compiled and installed but the
bacula-sd process dies when Bacula tries to connect and list a cloud
volume from bconsole.
I dug into this extensivley while trying (note my wording here) to
enable this feature for Debian.

First, you need Bacula 9.4.1, because 9.4.0 was missing a crucial bit in
the configure script, skipping detection of libs3.

Then, as it turns out, you need a very specific version of libs3 for
this, namely the GIT version 06a4683 from 2016-12-14. Any older or newer
and Bacula won't even compile.

To get this ancient version to compile with todays compilers, you need
to add two patches, I've isolated them here
https://salsa.debian.org/hartge-guest/libs3/tree/master/debian/patches.
You need the fix-buffer-sizes.patch and support-newer-curl.patch.

Beware: I just tested successful compilation of Bacula with this version
of the library, I didn't test if it works at all and if it works, it
does so correctly.

There is a thread in bacula-devel going over the whole ordeal, if you
are interested, I suggest reading it as well.

Grüße,
Sven.




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to