Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
locales.build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Fri Mar 18, 2005 7:28 pm    Post subject: locales.build Reply with quote

Hi,

can someone check if my /etc/locales.build is correct, please? Keep in mind that the only two languages I wish are US English and Italian
Code:
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
it_IT/ISO-8859-1
it_IT.UTF-8/UTF-8
it_IT@euro/ISO-8859-15


Is it just sufficient to add the above to the locales.build file or do I have to perform extra tasks (i.e.: UTF-8)?

I learned to run locale -a and locale -m to see what the system offers. Correct/useful?

Thank you a lot,
Spiro
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Mar 18, 2005 8:10 pm    Post subject: Reply with quote

Your locales.build looks ok, just run echo "sys-libs/glibc userlocales" >> /etc/portage/package.use, so that when you compile glibc, it will be compiled with the locales in locales.build. You can test to see if your locales are built correctly using locales -a.
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall


Last edited by Sith_Happens on Fri Mar 18, 2005 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Fri Mar 18, 2005 8:11 pm    Post subject: Reply with quote

Hi Sith_Happens,

thank you so much for your reply!

Take care,
Spiro
Back to top
View user's profile Send private message
larand54
l33t
l33t


Joined: 20 Feb 2004
Posts: 695
Location: Sweden

PostPosted: Fri Apr 22, 2005 9:44 pm    Post subject: Reply with quote

I have fixed /etc/package.use and /etc/locales.build but glibc still compiles with all locales.
There must be something more to setup?
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Apr 22, 2005 10:22 pm    Post subject: Reply with quote

larand54 wrote:
I have fixed /etc/package.use and /etc/locales.build but glibc still compiles with all locales.
There must be something more to setup?
Post both files, it's probably a typo.
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
larand54
l33t
l33t


Joined: 20 Feb 2004
Posts: 695
Location: Sweden

PostPosted: Sat Apr 23, 2005 10:02 am    Post subject: Reply with quote

Sith_Happens wrote:
larand54 wrote:
I have fixed /etc/package.use and /etc/locales.build but glibc still compiles with all locales.
There must be something more to setup?
Post both files, it's probably a typo.


Hmm...?
Suddenly it just started to work?...I don't know what?
The only thing I did was that I corrected the locales.build file. I found that it contained the original values and just modified it to what I needed.
But that cannot be the reason...?

Ok, we can only speculate what it was, no meening to to do so. Maybee it just didn't work during bootstrap.
But now I'm just happy with it :wink: Working well so far.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sat Apr 23, 2005 10:59 am    Post subject: Reply with quote

larand54 wrote:
Hmm...?
Suddenly it just started to work?...I don't know what?
The only thing I did was that I corrected the locales.build file. I found that it contained the original values and just modified it to what I needed.
But that cannot be the reason...?

that's exactly the reason. if you use the default values, it will compile all of the locales in the file, regardless of whether you need them or not.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum