On Thu, Feb 11, 2021 at 12:54 PM Josh Fisher <jfis...@jaybus.com> wrote:

>
> On 2/11/21 12:40 PM, jman...@engineering.ucsb.edu wrote:
>
> Hello!
>
>      About two years ago our Bacula client package stopped working in
> Catalina. We've figured out that the binaries were compiled for PPC and
> i386 Macs and I suspect the issue is that we need a client for x86_64 or
> ia64.
>
>      The official documentation points us to Fink which doesn't seem to
> have a current version of the package. I believe their most recent version
> is from 2013.
>
>      We've tried compiling the source code but there seems to be a syntax
> error in one of the functions. While our programmer was able to alter the
> source code we aren't comfortable deploying with our in house changes.
> Further our programmer thinks a refactor would be needed for the changes to
> apply to all instances of the function.
>
>
> Did you use the --enable-client-only flag when running configure?
>
Thank you for the reply. Here are our compile options and make error. We
are compiling for client only.

% CFLAGS="-g -O2" \
          ./configure \
            --sbindir=$HOME/bacula/bin \
            --sysconfdir=$HOME/bacula/bin \
            --with-pid-dir=$HOME/bacula/bin/working \
            --with-subsys-dir=$HOME/bacula/bin/working \
            --enable-smartalloc \
            --with-mysql \
            --with-working-dir=$HOME/bacula/bin/working \
            --enable-client-only

Compiling bsnprintf.c
bsnprintf.c:622:16: error: static declaration of 'round' follows non-static
      declaration
static int64_t round(LDOUBLE value)
               ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:476:15:
note:
      previous declaration is here
extern double round(double);
              ^
1 error generated.
make[1]: *** [bsnprintf.lo] Error 1


>
>      I'm wondering what we may be doing wrong in trying to find or build
> the package for our Macs. Any advice would be very much appreciated. Thank
> you in advance.
>
>
> --
> Justin Maness
> Operations Manager
> College of Engineering
> Email: jman...@engineering.ucsb.edu
> [image: UC Santa Barbara]
>
>
> _______________________________________________
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://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