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

Re: wml locale problem



On Mon, Jun 17, 2002 at 08:28:43PM +0200, Michael Kress wrote:
> kHello,
> 
> I'm trying wml 2.0.8 under perl 5.6.1-34 (RH 7.2 upgraded to 7.3)
> but I'm getting trouble with the compilation of pages in pass 3:
> 
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
> /usr/bin/wml -n '-o(ALL-LANG_*)+LANG_EN:en.photos_1.shtml' 
> '-o(ALL-LANG_*)+LANG_DE:de.photos_1.shtml' photos_1.wml
> ePerl:Error: Perl parsing error (interpreter rc=22)
> 
> ---- Contents of STDERR channel: ---------
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = "0",
>  line 40    are supported and installed on your system.
[...]

> Can you please help me out ?

Hi,

you have to guess why LC_ALL is set to 0 before pass 3.

> Maybe my pages are the reason for not working  - they used to work under 
> 1.7.0 which was my long time working version but with newer redhat 
> environments it doesn't work anymore. OK, so I decided to upgrade to 2.0.8 
> which doesn't work either (but @ least compiles).
> 
> The header of a page looks like this: 
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
> #!wml -o(ALL-LANG_*)+LANG_EN:en.photos_1.shtml 
> -o(ALL-LANG_*)+LANG_DE:de.photos_1.shtml
> 
> #use wml::mk area=photos page=self IMG=img SNB_RC=photos.wmlsnb
> 
> <title>Homepage <de: von><en: of> Michael Kress - Photos</title>
> ...etc.
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
> 
> in mk.wml I use:
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
> #use wml::std::tags
> #use wml::std::info
> #use wml::std::lang
> #use wml::des::navbar
> #use wml::des::space
> 
> <lang:new id=en short>
> <lang:new id=de short>
> ...etc.
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
> 
> I can't understand this
[...]

Neiher do I.  Do you have the same error when running
   wml -p3 photos_1.wml
?

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com