LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-08-2010, 09:21 PM   #1
na5m
Member
 
Registered: Jan 2005
Location: california
Distribution: O.A.M. (Overmonitoring Address Matrix) Release 2.2 with 2120 Patch
Posts: 37

Rep: Reputation: 17
disable nls Internationalization


What is the effect of using --disable-nls on all LFS packages that allow it?
I only need support for American English. I hope it doesn't break LFS.
 
Old 08-09-2010, 01:24 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I would not use that option. It seems that more and more programs will fail to build when you use --disable-nls.

Have a look at this chapter (especially the last part of 6.9.1.): 6.9. Glibc-2.11.1
It says you do not have to install any locales, but it does provide the bare minimum that seems to be needed (which I would build!).

If you use the bare minumum that is mentioned in chapter 6.9 and skip chapters like this one (anything locales related, just an example): 7.5. Configuring the Linux Console, you will end up with an American English POSIX system (which is English). Something like this:
Quote:
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Hope this helps.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is proftpd compiled without nls support? guanx Slackware 14 03-12-2009 02:54 PM
NLS, Filenames on CD/DVD shinystuffrox Linux - Newbie 1 01-31-2008 11:04 PM
Internationalization ... !nvincible Linux - Newbie 7 11-06-2007 03:31 AM
Slackware, and internationalization t_maggot Slackware 2 12-06-2006 11:27 PM
nls=iso8859-1 mounting NTFS LUB997 Linux - General 1 09-13-2003 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration