sage upgrade on MacOs, Japanese envirinment.

15 views
Skip to first unread message

Thierry Dumont

unread,
Mar 2, 2011, 3:55:03 AM3/2/11
to sage-s...@googlegroups.com
One of my colleagues uses a Macintosh with a Japanese environment.
He cannot upgrade sage (4.6.1).Here is a transcription of what happens.
Any idea?


gcc version 4.2.1 (Apple Inc. build 5664)
****************************************************
abort: unknown encoding: x-mac-japanese, please check your locale settings
pulling from /Applications/sage/spkg/build/extcode-4.6.2
searching for changes
adding changesets
transaction abort!
rollback completed
abort: unknown encoding: x-mac-japanese, please check your locale settings
abort: merging with a working directory ancestor has no effect
abort: unknown encoding: x-mac-japanese, please check your locale settings
abort: unknown encoding: x-mac-japanese, please check your locale settings

real 0m0.445s
user 0m0.250s
sys 0m0.181s
sage: An error occurred while installing extcode-4.6.2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Applications/sage/install.log. Describe your computer, operating
system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/sage/spkg/build/extcode-4.6.2 and type 'make check' or
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Applications/sage/spkg/build/extcode-4.6.2' &&
'/Applications/sage/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make: *** [installed/extcode-4.6.2] Error 1


Je ne sais pas quoi faire...

Amities,
Kenji


> -> http://math.univ-lyon1.fr/intranet/spip.php?article453
>
>
>
> ** Elections au CNU. **
>
>
> Objet : Elections C.N.U. 2011.
>
> 2011 �tant l'ann�e de renouvellement des sections CNU, des �lections sont
> organis�es. Les enseignants-chercheurs sont �lecteurs de droit et
> figureront sur les listes d'�lecteurs. Les directeurs de recherche et les
> charg�s de recherche relevant du d�cret n� 83-1260 du 30-12-1983 d�sirant
> �tre �lecteurs devront r�pondre aux conditions cit�es par la circulaire du
> 23-12-2010 en son chapitre I paragraphe 1, et demander leur inscription
> sur
> les listes �lectorales suivant l'annexe IV de la circulaire au plus tard
> le
> 3 f�vrier 2011.
>
> La situation des �lecteurs s'appr�ciant au 31/12/2010, nous nous
> permettons d'adresser ce message aux (...)
>
>
>
> _______________________________________________
> Math mailing list
> Ma...@math.univ-lyon1.fr
> https://math.univ-lyon1.fr/cgi-bin/mailman/listinfo/math
>


D. S. McNeil

unread,
Mar 2, 2011, 4:46:05 AM3/2/11
to sage-s...@googlegroups.com
On Wed, Mar 2, 2011 at 4:55 PM, Thierry Dumont
<tdu...@math.univ-lyon1.fr> wrote:
> One of my colleagues uses a Macintosh with a Japanese environment.
> He cannot upgrade sage (4.6.1).Here is a transcription of what happens.
> Any idea?

I used to hit this problem myself (not with Sage, but with other
software) because of http://bugs.python.org/issue1276.

In this case I think entering

export HGENCODING="UTF-8"

from the command line might fix the problem (at least it did for me,
if I successfully mocked up the circumstances).


Doug

--
Department of Earth Sciences
University of Hong Kong

D. S. McNeil

unread,
Mar 2, 2011, 4:47:08 AM3/2/11
to sage-s...@googlegroups.com
> export HGENCODING="UTF-8"

(Of course not everyone uses bash, so modify as appropriate.)

Volker Braun

unread,
Mar 2, 2011, 5:01:16 AM3/2/11
to sage-s...@googlegroups.com
There is some more background on this issue in the mercurial wiki:

http://mercurial.selenic.com/wiki/Character_Encoding_On_OSX
Reply all
Reply to author
Forward
0 new messages