en_US.UTF-8 not a valid LANG setting

M.Canales.es manuel at linuxfromscratch.org
Sun May 7 01:41:30 PDT 2006


El Domingo, 7 de Mayo de 2006 06:12, archaic at lfs-matrix.org escribió:
> Subject says it all.
>

The validate configs code do this for LANG and LC_ALL:

# Treatment of 'special' parameters
      LANG | \
      LC_ALL)  # See it the locale values exist on this machine
               echo -n "`eval echo $PARAM_VALS`"
               [[ -z "${!config_param}" ]] &&
                 echo " -- Variable $config_param cannot be empty!" &&
                 write_error_and_die
               [[ ! "`locale -a | grep -c ${!config_param}`" > 0 ]] &&
                  write_error_and_die
               echo
               ;;

If the choose locale isn't listed in "locale -a" jhalfs refuses to set that 
locale.


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org



More information about the alfs-discuss mailing list