Re: NLS locale problem
andycapo--- via Dar-support <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
Thank you Denis, so if I just execute dar without arguments, except for the "-V" flag, it should execute correctly (I'm not performing any operation, nor using the strong encription). But instead of obtaining the usual output I get the messages I showed previously: a@cl ~ $ ./dar_static_2.6.5_x86_64_GNU_Linux -V Cannot set locale category, native language support will not work FATAL error, aborting operation GPGME engine not available: OpenPGP Best regards, Andy > Il 22 agosto 2019 alle 14.02 Denis Corbin <[email protected]> ha scritto: > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 21/08/2019 10:19, andycapo--- via Dar-support wrote:> Hello, I'm > trying to run a precompiled version (downloaded from > > > ftp://ftp.dm3c.org/dar.linux.free.fr/Releases/Dar_static/x86_64_GNU_Linu > x/dar_static_2.6.5_x86_64_GNU_Linux> > ) on a Clear Linux machine. > > > > The program complains not having NLS working, and aborts > > execution. > > Hello, > > > > > > > a@cl ~ $ ./dar_static_2.6.5_x86_64_GNU_Linux Cannot set locale > > category, native language support will not work > > this is just a warning about the fact that the file usually found in > /usr/share/locale/*/LC_MESSAGES/dar.mo > which contain the dar/libdar translated messages for your locale are > not available. So message will show in English > > > FATAL error, aborting operation GPGME engine not available: > > OpenPGP > > this above is the reason of the error. Dar relies on gpgme which is a > library that relies on the external gpg external program (known as > "engine" or "backend" in the gpgme documentation). Dar_static has > gpgme library embedded but cannot have the /usr/bin/gpg backend > embedded (/usr/bin or at other place available in the PATH). > > If you do not use strong encryption the message should not show and > dar show work (just the locale relative warning). Same if you use > strong encryption but have gpg in your PATH. Other combination should > lead to this message. > > > > > > > Locale definition seems to be correct: > > > > > > a@cl~ $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= > > > > > > I really don't know what should I do in order to get dar working. > > > > In the help file: http://dar.linux.free.fr/doc/Notes.html#NLS I > > read: "/On a system without gettext dar will not use gettext at > > all. All messages will be in English/". > > it is. > > > > > Do you think it would be reasonable that, instead of stopping its > > execution, dar may fall-back to english messages? > > it does, just a warning is issued, but you can also set LC_MESSAGE to > C or just unset all LANG and LC_* locale related variable, dar should > not issue any warning I guess. > > > > > Many thanks, > > > > Andy > > Regards, > Denis > > -----BEGIN PGP SIGNATURE----- > > iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl1ehEYACgkQCDGwvQPY > sYI91Q//TCHr4LWpzB4ArPO2DWXUG+HbZwYejTCdTQXEl8UjEya9pUfTFngVS4xP > s5i2iJA8+qJdySW7BCxK+2x2OGm4UgK3KLaqOFl9jbuouwAsWqNpQ1eMTeG99W/Q > PpmRH5mYb/uT6hKO5CPAm822BzzC2rU8Q2eP189Vb3OGgE2rn/VznrvLgxyHv+wK > e9KiIneZg4lV5UrKE/UA3ESEeLAp7UZGDEg+Zsfj7NJo1U6/6Aa5xnlTjm/i2M5m > PmbiBPX7aNrPKP7K1L5aVIsk5UFjw1EoUhA7c9RwAf8peVaTJ6Qb4kZt6ki8Xpyb > gMX5TXvmvKZTh0Kl+qMpeeKx9lffLv6Yx5DLSnBwUphBx6vKvJZHJUjRe7itMJFw > +OhECEL4Aq0uS0htD/UOS+KqvsP6Y1YMWipBsog3Gx7XSmZ9VdatFE5kKIUHssvq > gydHnBC8t0e1/MhO97eJH6hLKew2EvhmAS2XfHo45PiYxHJsxCAVfRlIyE/Jmelr > WdajjLyNsgrgj1fzDtkNFZh7Nlme/7RXXYLM8QhpqAjM3cF+aW00Y7ieI2vqtPCE > PpMQL7Qlk8qvUFkbzu7w5df48Ih+T6g8AZfUu66iXe0qaSElqLph+1fMCmhpTr3D > mCEGPhdUaIZrqYFbQqUp2Gi96P9q7Q2sGiF074z6tZ+rk45n4mM= > =g3y5 > -----END PGP SIGNATURE----- > > > > _______________________________________________ > Dar-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dar-support