Re: Any progress with FIS GT.M?
uff -- sorry for the noise -- just disregard my last emails about
locales -- apparently it just wasn't generated at all ;)
On Thu, 21 Jun 2012, Yaroslav Halchenko wrote:
> nope -- setting LC_CTYPE also didn't help :-/
> what else should it be? ;)
> P.S. btw feel free to revert/adjust any of my changes if you feel that
> there is a better solution!
> On Thu, 21 Jun 2012, Yaroslav Halchenko wrote:
> > unfortunately it didn't help
> > still got
> > %GTM-E-NONUTF8LOCALE, Locale has character encoding (ANSI_X3.4-1968) which is not compatible with UTF-8 character set
> > may be we need some other than LC_ALL? e.g. LC_CTYPE set?
> > $> git grep '\WLC_'
> > sr_unix/buildaux.csh: setenv LC_CTYPE C
> > sr_unix/buildaux.csh: setenv gtm_chset_locale $utflocale # LC_CTYPE not picked up right
> > sr_unix/buildaux.csh: setenv LC_CTYPE $utflocale
> > sr_unix/buildaux.csh: unsetenv LC_ALL
> > sr_unix/buildaux.csh: setenv LC_CTYPE C
> > sr_unix/comlist.csh:setenv LC_ALL C
> > sr_unix/comlist.mk: cd ..;gtm_dist=$(dir $(CURDIR));export gtm_dist;gtmgbldir=$(notdir $@);export gtmgbldir; LC_CTYPE=C; export LC_CTYPE; gtm_chset=M; export gtm_chset; ./mumps *.m ; tcsh -f ../sr_unix/mkutf8dir.csh
> > sr_unix/configure.gtc: # don't set LC_CTYPE to avoid random error messages from EBCDIC utilities
> > sr_unix/configure.gtc: LC_CTYPE=$utflocale
> > sr_unix/configure.gtc: export LC_CTYPE
> > sr_unix/configure.gtc: unset LC_ALL
> > sr_unix/gtm_icu.c: locale = setlocale(LC_CTYPE, gtm_utf8_locale_object);
> > sr_unix/gtm_icu.c: locale = setlocale(LC_CTYPE, "");
> > sr_unix/gtm_test_install.csh: setenv LC_ALL $utflocale
> > sr_unix/gtm_test_install.csh: unsetenv LC_CTYPE
> > sr_unix/gtmprofile.gtc: # default $LC_CTYPE if not set
> > sr_unix/gtmprofile.gtc: if [ -z "$LC_CTYPE" ] ; then
> > sr_unix/gtmprofile.gtc: LC_CTYPE=`locale -a | grep -i .utf | head -n 1` ; export LC_CTYPE
> > sr_unix/gtmprofile.gtc: echo $LC_CTYPE | grep -i .utf > /dev/null
> > sr_unix/kitstart.csh: set longline='$LC_CTYPE, $gtm_dist, and $gtmroutines for M mode'
> > sr_unix/mkutf8dir.csh: setenv gtm_chset_locale $utflocale # LC_CTYPE not picked up right
> > sr_unix/mkutf8dir.csh: setenv LC_CTYPE $utflocale
> > sr_unix/mkutf8dir.csh: unsetenv LC_ALL
> > sr_unix/mkutf8dir.csh: setenv LC_CTYPE C
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: