autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unset'ing LANG causes AIX trouble for configure due to NLSPATH


From: Tom Epperly
Subject: unset'ing LANG causes AIX trouble for configure due to NLSPATH
Date: 20 Feb 2003 09:30:53 -0800

This section of the automatically generated configure script

        # NLS nuisances.
        for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE
        LC_NUMERIC LC_MESSAGES LC_TIME
        do
          if (set +x; test -n "`(eval $as_var=C; export $as_var)
        2>&1`"); then
            eval $as_var=C; export $as_var
          else
            $as_unset $as_var
          fi
        done

is causing trouble on an AIX system. LANG's initial value is en_US, and
it's taking the else branch which unset's LANG. Later, there are error
messages while running ./configure due to NLSPATH being incorrect (see
below) for an example. NLSPATH has meta characters that are replaced by
the value of LANG.

uname -a for this machine is:
AIX xxxxx 1 5 006008594C00

Message catalog not found. Searching for message "0031-306".
Your NLSPATH is probably not set correctly. Message Catalog name = 
"pepoe.cat".
current NLSPATH = "/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat".
NLSPATH strings after expansion of variables = "
/usr/lib/nls/msg//pepoe.cat
/usr/lib/nls/msg//pepoe.cat.cat"
If NLSPATH is set correctly and catalog exists, check LANG or
LC_MESSAGES 
variables

If you have any suggestions for a work around, I would love to hear it.

Regards,

Tom

-- 
Tom Epperly                              ph: 925-424-3159
Components Project Leader               fax: 925-424-2477
Lawrence Livermore National Laboratory  address@hidden
http://www.llnl.gov/CASC/people/epperly/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]