Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

How to install locales on Gentoo ?!

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Arkanjo
n00b
n00b
User avatar
Posts: 24
Joined: Sat May 24, 2003 9:02 pm
Location: Portugal
Contact:
Contact Arkanjo
Website

How to install locales on Gentoo ?!

  • Quote

Post by Arkanjo » Tue Apr 27, 2004 12:02 pm

Hello guys,

I've tried searching the forums about this problem, but nothing really worked. I compiled glibc with +nls but wen i do locales -a i get:

Code: Select all

nilo root # locale -a
C
POSIX
My guess is a need do rebuild the locales but how ?

This only happen on one of my boxes, cuz at first I compiled without the +nls but now that I need it i can't make it work by only recompile the glibc.

So with this problem i can't use the translation function on Horde.

Does anyone knows how to solve this pls :?:

Tnx
There are 10 types of people in the world; those who understand binary, and those who don't
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Tue Apr 27, 2004 12:06 pm

Moved from Installing Gentoo.
Top
Arkanjo
n00b
n00b
User avatar
Posts: 24
Joined: Sat May 24, 2003 9:02 pm
Location: Portugal
Contact:
Contact Arkanjo
Website

  • Quote

Post by Arkanjo » Tue Apr 27, 2004 4:35 pm

bump
There are 10 types of people in the world; those who understand binary, and those who don't
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Apr 27, 2004 10:20 pm

Now the weird thing is that I have USE="-nls" and I have a huge list of locales. You didn't run localpurge by any chance ?
The basic locale stuff is AFAIK part of glibc (= long compile).
Top
Arkanjo
n00b
n00b
User avatar
Posts: 24
Joined: Sat May 24, 2003 9:02 pm
Location: Portugal
Contact:
Contact Arkanjo
Website

  • Quote

Post by Arkanjo » Wed Apr 28, 2004 12:42 am

No i didn't use localpurge, I have this since I installed the server.
But to be real accurate, I installed the server with only the USE flags that where needed:

Code: Select all

USE="-* apache2 ncurses ssl crypt berkdb tcpd pam xml nls perl python"
nls I added wen I got the first problem on php if i remenber correctly.
Then wen I saw that horde translations didn't worked, I read the doc's on horde to check my locales.

For 2 days now i'm trying to install the locales, i recompiled glibc with +nls

Code: Select all

nilo root # etcat -u glibc
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]

 U I [ Found these USE variables in : sys-libs/glibc-2.3.2-r9 ]
 + + nls   : unknown
 - - pic   : Build position independent code. Needed for (prelink/hardened-gcc)
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping.
 - - nptl  : If you want the Native POSIX Threading Library built into glibc.
the thing is i notice on the compile the locales being installed, that's what it seams at least:

Code: Select all

 * Installing Locale data...
make: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere'
make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C .. objdir=`pwd` localedata/install-locales
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make -j2 -C localedata install-locales
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/localedata'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.2-r9/image//usr/lib/locale
mkdir /var/tmp/portage/glibc-2.3.2-r9/image/usr/lib/locale
aa_ER.UTF-8...aa_DJ.ISO-8859-1... done
aa_ER.UTF-8@saaho... done
aa_ET.UTF-8... done
af_ZA.ISO-8859-1... done
am_ET.UTF-8... done
an_ES.ISO-8859-15... done
[snip]
but with no success, should I try with the +build flag :?:
how do i install the locales, or regenarate then :?:
There are 10 types of people in the world; those who understand binary, and those who don't
Top
taskara
Advocate
Advocate
Posts: 3762
Joined: Wed Apr 10, 2002 11:38 pm
Location: Australia

  • Quote

Post by taskara » Sat Apr 09, 2005 6:18 am

hope this helps (substitute for the language you want):

edit /etc/locales.build

Code: Select all

en_AU.UTF-8/UTF-8
en_AU/ISO-8859-1
and in your make.conf put

Code: Select all

 USE="... nls unicode"
LINGUAS="en_GB"
LANGUAGE="44"
and in your /etc/profile at the end put

Code: Select all

export LC_ALL=en_AU.UTF-8
export LANG=en_AU.UTF-8
and in /etc/portage/package.use

Code: Select all

sys-libs/glibc userlocales
re-build glibc with userlocales, and prob

Code: Select all

emerge --newuse -av world
and if you use kde

Code: Select all

emerge -av kde-i18n
build UTF8 support in your kernel
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic