Problem compiling 2.6.6 on Mac running Mojave

Jon Bayh <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CAKKB2zA529vRz2dysKEyA-VjSkKw9Pdk+800xmEjjk2DBWhztQ@mail.gmail.com>
Hi folks,

I'm trying to get a more recent version of Dar for my Mac.  I followed the
link from the documentation page:

    Binary Packages for Mac OS
    Binary packages for Mac OS can be fetched from softpedia.
    https://mac.softpedia.com/get/Developer-Tools/Disk-ARchive.shtml

But found that it gave me a source package, not a binary package.  If you
know of any place where I can get a binary package, I'd sure appreciate a
pointer.

I tried compiling on the Mac using:
    ./configure  --prefix=/usr
    make

but received compiler errors (I'll append the errors in case you know
of something
that I did wrong by the error listing.)

            Thanks,
            Jon
----------------------------------------
In file included from line_tools.cpp:46:
In file included from ./line_tools.hpp:35:
In file included from ../libdar/libdar.hpp:86:
../libdar/shell_interaction_emulator.hpp:49:2: warning: explicitly
defaulted move constructor is implicitly deleted
[-Wdefaulted-function-deleted]
        shell_interaction_emulator(shell_interaction_emulator && ref)
noexcept = default;
        ^
../libdar/shell_interaction_emulator.hpp:44:40: note: move constructor
of 'shell_interaction_emulator' is implicitly deleted because base
class 'libdar::shell_interaction' has a deleted move constructor
    class shell_interaction_emulator : public shell_interaction
                                       ^
../libdar/shell_interaction.hpp:66:2: note: 'shell_interaction' has
been explicitly marked deleted here
        shell_interaction(shell_interaction && ref) noexcept = delete;
        ^
In file included from line_tools.cpp:46:
In file included from ./line_tools.hpp:35:
In file included from ../libdar/libdar.hpp:86:
../libdar/shell_interaction_emulator.hpp:50:31: warning: explicitly
defaulted copy assignment operator is implicitly deleted
[-Wdefaulted-function-deleted]
        shell_interaction_emulator & operator = (const
shell_interaction_emulator & ref) = default;
                                     ^
../libdar/shell_interaction_emulator.hpp:44:40: note: copy assignment
operator of 'shell_interaction_emulator' is implicitly deleted because
base class 'libdar::shell_interaction' has a deleted copy assignment
operator
    class shell_interaction_emulator : public shell_interaction
                                       ^
../libdar/shell_interaction.hpp:69:22: note: 'operator=' has been
explicitly marked deleted here
        shell_interaction & operator = (const shell_interaction & ref) = delete;
                            ^
In file included from line_tools.cpp:46:
In file included from ./line_tools.hpp:35:
In file included from ../libdar/libdar.hpp:86:
../libdar/shell_interaction_emulator.hpp:51:31: warning: explicitly
defaulted move assignment operator is implicitly deleted
[-Wdefaulted-function-deleted]
        shell_interaction_emulator & operator =
(shell_interaction_emulator && ref) noexcept = default;
                                     ^
../libdar/shell_interaction_emulator.hpp:44:40: note: move assignment
operator of 'shell_interaction_emulator' is implicitly deleted because
base class 'libdar::shell_interaction' has a deleted move assignment
operator
    class shell_interaction_emulator : public shell_interaction
                                       ^
../libdar/shell_interaction.hpp:72:22: note: 'operator=' has been
explicitly marked deleted here
        shell_interaction & operator = (shell_interaction && ref)
noexcept = delete;
                            ^
line_tools.cpp:1586:5: error: reference to 'deci' is ambiguous
    deci conv = infinint(uid);
    ^
../libdar/deci.hpp:50:11: note: candidate found by name lookup is 'libdar::deci'
    class deci
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ratio:281:43:
note: candidate found by name lookup is 'std::__1::deci'
typedef ratio<1LL,                  10LL> deci;
                                          ^
line_tools.cpp:1588:42: error: use of undeclared identifier 'conv'
    ret += tools_name_of_uid(uid) + "("+ conv.human() + ")";
                                         ^
line_tools.cpp:1597:5: error: reference to 'deci' is ambiguous
    deci conv = infinint(gid);
    ^
../libdar/deci.hpp:50:11: note: candidate found by name lookup is 'libdar::deci'
    class deci
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ratio:281:43:
note: candidate found by name lookup is 'std::__1::deci'
typedef ratio<1LL,                  10LL> deci;
                                          ^
line_tools.cpp:1599:42: error: use of undeclared identifier 'conv'
    ret += tools_name_of_gid(gid) + "("+ conv.human() + ")";
                                         ^
3 warnings and 4 errors generated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.