[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnversion locale error LANG LC_ALL

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-10-07 21:34:35 CEST

On Thu, 7 Oct 2004, Russell E Glaue wrote:

> Okay here is one to be documented in this mail list archive.
>
> Regarding Subversion 1.1.0
>
> svnversion: error: cannot set LC_ALL locale
> svnversion: error: environment variable LANG is en_US
> svnversion: error: please check that your locale name is correct
>
> You will get this error if you have the LANG environment variable set to
> some string, like "en_US".
>
> Particularily if you are compiling on Mac OS X 10.2.8 which apparently
> has LANG set to "en_US" by default when you begin a terminal shell session.

Are you sure you have your locale set up correctly. Subversion checks the
return value of setlocale, which many other programs don't. I don't know
how OS X handles locales. I've successfully used svnversion with
LANG=sv_SE on Linux.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 7 21:20:00 2004

This is an archived mail posted to the Subversion Dev mailing list.