From: SourceForge.net <no...@so...> - 2006-12-26 22:20:20
|
Bugs item #1597215, was opened at 2006-11-15 12:09 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1597215&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Installation Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: >=5.9.3 lisp error "out of range" Initial Comment: >=sci-mathematics/maxima-5.9.3 with clisp, gcl, sbcl as licp compilers, exit (make check fails) with lisp error: Maxima encountered a Lisp error: AREF: index 0 for "" is out of range If I set LC_ALL to C then maxima works with gcl and sbcl, but switch in debug mode with clisp: *** - invalid byte #xD0 in CHARSET:ASCII conversion The following restarts are available: ABORT :R1 ABORT ABORT :R2 ABORT ABORT :R3 ABORT ABORT :R4 ABORT ABORT :R5 ABORT ABORT :R6 ABORT My localce: localhost ~ # locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC=POSIX LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= OS - gentoo linux, lisp: [ebuild R ] dev-lisp/sbcl-0.9.17 USE="unicode -doc -ldb -source -threads" [ebuild R ] dev-lisp/gcl-2.6.7-r1 USE="X ansi custreloc dlopen gprof readline -debug -doc -emacs -tcltk" [ebuild R ] dev-lisp/clisp-2.39 USE="X pcre readline zlib -fastcgi -new-clx -postgres" ---------------------------------------------------------------------- >Comment By: Robert Dodier (robert_dodier) Date: 2006-12-26 15:20 Message: Logged In: YES user_id=501686 Originator: NO Resolved by r1.74 src/init-cl.lisp (treat empty string the same as NIL in tests on LC_ALL, LC_MESSAGES, and LANG). See also bug report [ 1552253 ] empty locale environment variables => error at launch. Closing this report as fixed. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-12-01 18:33 Message: Logged In: NO For solve this problem, it is need to read LANG before LC_ALL in file init-cl.lisp, because LC_ALL is empty. Some localization guides say that it is important for some applications, to leave LC_ALL empty. 217,219c217,219 < (setq locale (or (maxima-getenv "LANG") < (maxima-getenv "LC_ALL") < (maxima-getenv "LC_MESSAGES"))) --- > (setq locale (or (maxima-getenv "LC_ALL") > (maxima-getenv "LC_MESSAGES") > (maxima-getenv "LANG"))) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1597215&group_id=4933 |