Re: OT: basic linux help

Ralf Fassel <[email protected]>
Newsgroups gmane.comp.version-control.aegis.user
Organization Akustik Technologie Goettingen
Message-ID <[email protected]>
* Aryeh M. Friedman
|     aegis: Warning: You are seeing the short form of the error messages.  The
|     message catalogues may not have been installed correctly, or you may
|     need to check the settings of your LC_ALL and LANG environment
|     variables.
| 
| I have no idea what either env var does ...

LC_ALL and/or LANG (and/or LANGUAGE) control the output language for
messages of programs which support that feature.

| ...or how to set it.

Usually you set per-user environment variables like LANG either in
your SHELL-startup file (.bashrc, .cshrc, check docs for your SHELL).
The exact syntax differs depending on the SHELL.


However, I also have this problem on our Opensuse-Linux machines.
The very same binary (mounted from the fileserver) displays the
localized messages on Ubuntu, but not on Opensuse:

    ubuntu% aegis -de
    aegis: project "si++.4.0": change 702: file "src/simath/Makefile" locked for
	    change 700, try again later
    aegis: project "si++.4.0": change 702: this change must successfully complete
	    an 'aegis -Build'  before it can end development
    aegis: project "si++.4.0": change 702: found 2 errors, this change remains in
	    the 'being_developed' state

    opensuse% aegis -de
    aegis: project "si++.4.0": change 702: file "src/simath/Makefile" locked for change 700
    aegis: project "si++.4.0": change 702: build required
    aegis: project "si++.4.0": change 702: develop end fail

LANG was set to en_US.utf8 on both tries.
Setting it to plain en changes nothing on the Opensuse machine, but
keeps the Ubuntu machine from finding the aegis messages.

strace shows on the Ubuntu machine that it opens files in
/usr/lib/locale/ and finally lib/en/LC_MESSAGES/aegis.mo in the aegis
installation directory.  On Opensuse it does not even try to open any
of these.

Still using aegis 3.29 if it matters...

R'
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.