Sven,
I wrote this code about 2 years ago, so I think I had forgotten a few
things that are starting to come back.
I do remember having to patch libs3 to bring it more up to date, but
what I did not remember was that
apparently I installed it in /usr/local.
It appears that I downloaded libs3-20161222 from github and installed
it. This is what I have in
my <bacula>/depkgs directory. However, there might be a newer version.
Just after Christmas, I will try to find the most recent version that is
tested with Bacula and
post it to the bacula.org web site.
Best regards,
Kern
On 12/20/18 11:41 AM, Sven Hartge wrote:
On 20.12.18 11:35, Kern Sibbald wrote:
Sven,
Hmm. Maybe I forgot to include some code in configure.in that detects
libs3,
since HAVE_LIBS3 seems to be undefined here too.
Sorry for the inconvenience. I will have to look into why the libs3
detection is not working.
I just manually added
#define HAVE_LIBS3 1
to my config.h file, and Bacula builds fine on my Ubuntu 18.04.
Could you please do a "grep authRegion /usr/include/libs3.h" for me?
In Debian this returns nothing, resulting in the first error I got:
s3_driver.c: In member function 'virtual bool s3_driver::init(JCR*,
cloud_dev*, DEVRES*)':
s3_driver.c:561:10: error: 'S3BucketContext' {aka 'struct
S3BucketContext'} has no member named 'authRegion'
s3ctx.authRegion = cloud->region;
Since Ubuntu has the same old version, you should see this as well,
unless s3_driver.c is never compiled.
But I will check if Ubuntu somehow has some local patches in their libs3
I missed.
Grüße,
Sven.
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel