Re: Error: librsync support
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
On 01/05/2021 03:21, imschmeg wrote: > On Fri, 30 Apr 2021 20:53:02 +0200 > Denis Corbin <[email protected]> wrote: > >> ... >>> How do I get a version of dar with "Delta compression support"? Do >>> I have to build one myself? >> >> Yes you can, this is not complicated: >> >> http://dar.linux.free.fr/doc/from_sources.html > > I am trying this now. However, when running misc/init, I get this: > >> Please create po/Makevars from the template in po/Makevars.template. >> You can then remove po/Makevars.template. >> >> Please fill po/POTFILES.in as described in the documentation. You don't need to do that! Just grab the latest dar source package (dar-2.x.x.tar.gz) at https://sourceforge.net/projects/dar/files/dar (2.6.14 or 2.7.0 as you prefer) install the necessary debian packages as listed in paragraph 1.1 of http://dar.linux.free.fr/doc/from_sources.html (just ignore libthreadar in a first time) then as explain in paragraph 2 run: ./configure make make install-strip Doing that will install dar directly in /usr/local out of debian package management, though you can remove the installed dar/libdar (for upgrade for example) by running: make uninstall This is a workaround solution waiting for Debian to update their packaged version >> >> Please run 'aclocal' to regenerate the aclocal.m4 file. >> You need aclocal from GNU automake 1.9 (or newer) to do this. >> Then run 'autoconf' to regenerate the configure file. >> >> You will also need config.guess and config.sub, which you can get >> from the CVS of the 'config' project at http://savannah.gnu.org/. The >> commands to fetch them are >> $ wget >> 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess' >> $ wget >> 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub' >> >> You might also want to copy the convenience header file gettext.h >> from the /usr/share/gettext directory into your package. >> It is a wrapper around <libintl.h> that implements the configure >> --disable-nls option. > > I don't have a reason to use gettext. How do I avoid these steps? yes, you need doing these steps *only* when buiding code from git, which is not the case when using source code from a tarball. I will clarify the documentation about that. > > My plan is to build dar_static with librsync, and store a copy with the > backup (with par2 protection). > >>> >>> I am using Debian (stable) 10.9. >>> >>> >> >> For Debian an better option would be to report the problem to the >> person in charge of building dar/libdar for this distro (the distro >> maintainer for dar/libdar) for he/she adds librsync an other missing >> (but optional) dependencies to the Debian packaging process of >> dar/libdar. > > That's a possible option (I am using the MX distro, and the maintainers > are usually very good about such requests), but even if I do get a > result, it will probably take a while. > Yes, I know this is the drawback and the advantage of Debian's quality and stability. > >
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed