On 29-05-2020 16:34, Xi Ruoyao wrote:
On 2020-05-29 16:20 +0200, Pierre Labastie wrote:
On Fri, 2020-05-29 at 15:45 +0200, Frans de Boer wrote:
On 29-05-2020 14:33, Pierre Labastie wrote:
On Fri, 2020-05-29 at 13:34 +0200, Frans de Boer wrote:
On 28-05-2020 15:08, Pierre Labastie wrote:
On Thu, 2020-05-28 at 14:16 +0200, Frans de Boer wrote:
LS,
Pierre has described a change "Add a symlink from
/tools/share/locale
to
/usr/share/locale/locale-archive, ..."
The code refers to .../lib/locale and /usr/lib/locale is not
created
in 6.5.
Ooops: will fix this ASAP.
Note that the target of a symlink needs not exist when the
symlink
is
created. This one will be created (when building glibc) before
it
is
used (for bison and man-db tests)...
Pierre
Ok, now adjust the text under the heading "Prupose of each link".
It already has ../lib/.. What else do you want? I do not think the
explanation about the non existing target of the link is needed. If
we
start explaining in details each unix command, the book will be
triple
in volume...
Also, when is "/usr/lib/locale/locale-archive" created? It's not
created
in the glibc section.
It is. See localedef(1).
Pierre
It's not what I want, but the text under the indicated heading is
(still) not correct. Sorry, it seems that somethings where written in
a
hurry.
And no, I don't need an explanation how link (ln) is working. The
thing
is that the "locale-archive" is NOT created. Have not seen it
anywhere
else also. The only thing that is created additionally is the text
file
"locale-alias".
I already told you it _is_ created!!! Type "man localedef" and search
"locale-archive"...
For me, the text tells exactly what happens when building the book:
- some programs built in chap 5 look for locale information in
/tools/lib/locale/locale-archive
- the locale information added after building glibc goes into
/usr/lib/locale/locale-archive
- the link allows those chap 5 programs to find locale information
where it is.
Maybe the text is too terse, so tell me what you'd like me to add.
Maybe also, since I'm not an English native speaker, I have an error in
syntax or word use. I'll be glad to fix it, but I need to be pointed to
it.
Maybe it should be "the symlink *will* allow those programs to use the locales,
once they are installed in Chapter 6"?
Regards
Pierre
Found it. Remember I could not find the locale-archive file? It is not
created when one specifies the /outputpath/ with a full path using
slashes. In my scripts I specify the outputpath due to local needs. So,
I now strip the '/locale-archive' from the link command.
--- Frans
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style