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

Re: Any progress with FIS GT.M?



ok -- it was silly omission (forgotten build-depends on locales).
committed now -- seems to build in clean chroot now... but seems to
loose

lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/COPYING -> ../COPYING
lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/GETPASS.m -> ../GETPASS.m
lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/GTMHELP.m -> ../GTMHELP.m
lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/GTMHLPLD.m -> ../GTMHLPLD.m
...
lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/plugin -> ../plugin
lrwxrwxrwx  root/root   /usr/lib/fis-gtm/V5.5-000_x86_64/utf8/semstat2 -> ../semstat2

all the symlinks (that is compared to version build without 

    rules: fix gtminstall --distrib option value
    
    We enter the directory containing the distribution before
    running the script, so the value for --distrib should be ".".
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-med/trunk/packages/fis-gtm/fis-gtm/trunk@11418 d8681a01-af0d-0410-a158-b4166a59cfaa

but it might be just a chroot or my particular build issue -- please pick
up and verify from here

On Thu, 21 Jun 2012, Yaroslav Halchenko wrote:

> 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: