gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] running from cvs


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] running from cvs
Date: Sat, 29 Oct 2005 12:46:01 +0200
User-agent: KMail/1.8.3

I am blindly guessing here but please check that the package glibc-locale is 
installed. Or any Debian packages which provide that stuff.

maybe apt-cache search locale will turn out useful. Note that I don't have 
Debian.

I found this 
Debian locale HowTo
Submitted by Tim_j on Mon, 2003-12-08 16:00

Configuring Locales

The Easy Way ;Install debconf (i.e. run apt-get update then apt-get install 
debconf, as root) ;Run dpkg-reconfigure locales as root

The Hard Way ;Edit /etc/locale.gen as root. If /etc/locale.gen does not exist, 
create it. An example /etc/locale.gen is below. ;Run /usr/sbin/locale-gen as 
root

A sample /etc/locale.gen

   1. This file lists locales that you wish to have built. You can find a list
   2. of valid supported locales at /usr/share/i18n/SUPPORTED. Other
   3. combinations are possible, but may not be well tested. If you change
   4. this file, you need to rerun locale-gen.
   5.
   6. XXX GENERATED XXX
   7.
   8. NOTE!!! If you change this file by hand, and want to continue
   9. maintaining manually, remove the above line. Otherwise, use the command
  10. "dpkg-reconfigure locales" to manipulate this file. You can manually
  11. change this file without affecting the use of debconf, however, since it
  12. does read in your changes. 

en_US.UTF-8 UTF-8 

On Saturday 29 October 2005 10:18, Richard Hosking wrote:
> Have reinstalled Debian and all the bits - I will be a bit more careful
> next time!
> I noted that during the install some of the packages were unable to
> establish a locale - the output from KPackage was:
>
>              perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>     LANGUAGE = "en_AU:en_US:en_GB:en",
>     LC_ALL = "en_US",
>     LANG = "en_AU"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> locale: Cannot set LC_ALL to default locale: No such file or directory
> Selecting previously deselected package python2.3-pgsql.
>
> The error remains
> echo $LANG returned en_AU
> Export didnt change the error.
> Check prerequisites is OK
> What is the locale anyway?
>
> (I am about to go away for a week so you will have a rest after this!)
>
> Thanks
> Richard
>
> Ian Haywood wrote:
> >Sebastian Hilbert wrote:
> >>On Friday 28 October 2005 12:23, Richard Hosking wrote:
> >>
> >>Hi !
> >>
> >>I need more info here. Which operating system / distribution ? Which
> >> version of python and wxpython ...
> >>
> >>Please run check-prereqisites.sh
> >>
> >>I think right now you use python 2.3
> >>wxpython 2.6
> >>gnumed from cvs.
> >>
> >>
> >>
> >>
> >>
> >>Now type:
> >>import locale
> >>system_locale = locale.setlocale(locale.LC_MESSAGES, '')
> >>
> >>In my case it produces no error. I suspect in your case it does. Let me
> >> know.
> >>
> >>Sebastian
> >
> >Richard,
> >
> >try typing
> >
> >echo $LANG
> >
> >at the shell, and send us the output
> >try then
> >
> >export LANG=en_AU.UTF-8
> >
> >and run gnumed and see what happens.
> >
> >Ian
> >
> >
> >_______________________________________________
> >Gnumed-devel mailing list
> >address@hidden
> >http://lists.gnu.org/mailman/listinfo/gnumed-devel
>
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnumed-devel

-- 
Sebastian Hilbert 
Leipzig / Germany
[www.openmed.org]  -> PGP welcome, HTML ->/dev/null
ICQ: 86 07 67 86   -> No files, no URL's
VoIP: callto://address@hidden
My OS: Suse Linux. Geek by Nature, Linux by Choice




reply via email to

[Prev in Thread] Current Thread [Next in Thread]