User forums > Help
error when compiling from svn sources (25-10/2006)
afb:
Did you update to Subversion 1.4.0 and set your locale to english ?
I get the same warning on Mac OS X, but it still succeeds to make it.
--- Code: ---svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is EN
svn: warning: please check that your locale name is correct
--- End code ---
src/sdk/autorevision.h:
--- Code: ---/*3157*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H
#include <wx/string.h>
#define SVN_REVISION "3157"
#define SVN_DATE "2006-10-29 15:43:54"
namespace autorevision
{
const unsigned int svn_revision = 3157;
const wxString svnRevision(_T("3157"));
}
#endif
--- End code ---
Pecan:
--- Quote from: killerbot on October 30, 2006, 12:01:27 pm ---I am now no longer to build on linux (Suse 10.1)
This is the eror message I get (and afterwards crash and backtrace) :
svn : error : cannot set LC_ALL locale
svn : error : environment variable LANG is EN
svn : error : please check that your locale name is correct
Any ideas ??
--- End quote ---
I solved this on my 10.3 OSX with LANG=en_US
LANG=EN did not work. Maybe it should be LANG=en
killerbot:
my svn is 1.3.0, but I get errors instead of warnings.
should we try out the en_US as permanent fix ?? (gonna try to build with that first)
YES : that did it.
will change in svn, hopefully it doesn't break for someone else now
afb:
--- Quote from: killerbot on October 30, 2006, 01:22:33 pm ---my svn is 1.3.0, but I get errors instead of warnings.
--- End quote ---
I thought svn 1.4.0 was required now ?
--- Quote ---should we try out the en_US as permanent fix ?? (gonna try to build with that first)
--- End quote ---
Or perhaps the usual LANG=C locale ?
edit: never mind, saw the Windows comment...
en_US it is, to cater for the least common denom
thomas:
Interesting... I even considered using LANG=jwsdhadgh or LANG=none for a while, since gettext should fall back to whatever is built-in if it can't find it (which is the desired effect). :lol:
But then, LANG=EN looked a lot nicer, so I stuck with that. Interestingly, it does not produce any kind of warning under Windows :(
I did not choose any kind of subset such as en_US because I wasn't sure which one to take (US citizens will probably claim that en_US is without doubt the "original thing", but UK residents will not necessarily agree that this is English at all). I don't know which one is the native one. Maybe en_US and en_UK (or en_AU) are even the same for Subversion by coincidence. But honestly, I actually don't want to bother ;)
What we need is one format that's always the same, preferrably the one that's built into the Subversion binary, so it will run on every target PC. My proposal is that you try whatever doesn't give you errors, and we'll stick with that for now (until someone else complains).
Eventually, at some point in the future, I will rewrite autorevision to parse Subversion's xml output, which will once and for all end this sad story.
However, since most people still use 1.3 (which only supports that option for a small subset of commands) and some even 1.2 (which doesn't support it at all), this is currently probably not such a good idea.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version