Re: using zstd compression - any particular build options?
Martin Simmons <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Tue, 10 Jun 2025 20:23:40 -0400, Dan Langille said:
>
> I expected to see std mentioned...
>
> I tried building with --with-zstd in the build options - it did not change the above output.
>
> i.e
> --CONFIGURE_ARGS--
> --disable-conio --enable-batch-insert --enable-smartalloc --sysconfdir=/usr/local/etc/bacula --with-baseport=9101 --with-db-name=bacula --with-db-user=bacula --with-dump-email=root@localhost --with-job-email=root@localhost --with-logdir=/var/log --with-plugindir=/usr/local/lib --with-readline=/usr/local --with-sbin-perm=755 --with-scriptdir=/usr/local/share/bacula --with-tcp-wrappers=/usr/lib --with-working-dir=/var/db/bacula --with-zstd --with-fd-group=wheel --with-fd-user=root --enable-client-only --enable-nls --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
It is a bug in the configure script.
As a workaround, try installing the curl package as a build-time dependency
and add --with-curl=/usr/local to the configure args. AFAICS, this will not
change anything in the built binaries because Bacula doesn't actually use
curl, but it will work around the bug.