[RPL/2] RPL/2-4.0.0.prerelease.5

BERTRAND Joël joel.bertrand at systella.fr
Mar 18 Mar 09:31:50 CET 2008


DEMAINE Benoit-Pierre a écrit :
> BERTRAND Joël wrote:
>> DEMAINE Benoit-Pierre a écrit :
>>> Same compile bug as previously reported, when no RPL2 installed on 
>>> the machine, installing pre5 fails:
>>
>>     Try to use a UFT8-capable distribution or modify src/makefile.am 
>> like this :
>>
>> %.conv.c: %.c
>>     iconv -f @ENCODING_AUTODETECTION@ \
>>             -t $(shell locale charmap)//translit $< | expand -t 4 > $@
>>
>> %.conv.h: %.h
>>     iconv -f @ENCODING_AUTODETECTION@ \
>>             -t $(shell locale charmap)//translit $< | expand -t 4 > $@
>>
>> %.conv.f: %.f
>>     iconv -f @ENCODING_AUTODETECTION@ \
>>             -t $(shell locale charmap)//translit $< | expand -t 4 > $@
>>
>>     No tested, but it should work.
>>
> 
> My distro suports UTF8, but not the console I use: Eterm.
> 
> moon_gen_3 ~ # locale -a
> C
> POSIX
> en_GB
> en_GB.iso885915
> en_GB.utf8
> fr_FR
> fr_FR.utf8
> fr_FR at euro
> moon_gen_3 ~ # locale
> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
> moon_gen_3 ~ #
> 
> I can hardly alter src/makefile.am ; could I rather pass a configure or 
> make option ? export an other locale ? add an other locale to my glibc 
> like for example en_US.utf8 ?

	Your system default is a 7bits locale (strict ansi), not a 8bits. Thus, 
you _have_ to switch your default locale to a 8bits wide locale like 
ISO-8859-x, UTF8 or other 8bits wide locale. If you want to stay with an 
strict ANSI console, you have to alter src/Makefile.am. You have to only 
add the same option (//translit) on four lines. I think you are able to 
modify this file without trouble.

	JKB


Plus d'informations sur la liste de diffusion RPL2