10-03-2006 09:16 AM
10-18-2009 10:07 PM
10-19-2009 09:30 AM
ofornaro wrote:
I did a revision in the install program and found that the error appears due to gcc --version brings a "version 4.1.1" while /proc/version "versión 4.1.1 ..." (that is accented in spanish terms) so, a sed search don't match.
If you're running into l10n problems (version versus versión), you can also try prefixing the INSTALL command with 'LC_ALL=C' to force it to use the standard C locale [1], which sets all of the other i18n environment variables to that locale in one statement [2]. Under the C locale, programs return to the ANSI C standard (eg American English of the 70's) and the assumptions that NI-KAL and friends make will hold. If your programs don't have the C locale, you may need to generate it [3]. To use the C locale with the installation script, you would issue 'LC_ALL=C /path/to/INSTALL', and it would only affect that script (and not any other commands in your shell session).
[1] GNU C Library Documentation :: Locales and Internationalization :: Standard Locales
http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_19.html#SEC324
[2] Environment Variables
http://opengroup.org/onlinepubs/007908799/xbd/envvar.html
[3] Gentoo Linux Localization Guide :: Locale system
http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)