Pierre Labastie 5e4ff8cb2e Fix "Too many levels of symbolic links" in chapter 8 ncurses
The problem is that TIC_PATH is nor honored anymore in chapter
6, so that tic from the host is used to create the terminfo
database in chapter 6. The problem is that old versions of
tic create symlinks in the database, while newer versions
create hardlinks. Since we use a DESTDIR install in chapter 8
(with a recent version of ncurses, so with hardlinks), and copy
it in place with cp -a, then it seems that copying hardlinks to
symlinks. If an old version of tic has been used in chapter 6,
this copies hardlinks to symlinks, which creates symlinks
pointing to themselves (cp bug?).

Anyway, the solution is to copy the auxilliary tic built
in chapter 6 to $LFS/tools/bin (suggestion by Xi Ruoyao).
Now, there is no need to set TIC_PATH or whatever because this
tic is in the PATH.

Bug first reported by Marcin Dulak. Analysis with the help of
Bruce Dubbs and Thomas Trepl.

Fixes https://wiki.linuxfromscratch.org/lfs/ticket/5744
2025-06-13 15:52:08 +02:00
2025-06-05 11:27:40 -05:00
2025-02-27 11:07:22 -06:00
2025-06-05 11:27:40 -05:00
2025-03-07 14:52:09 -06:00
2024-08-23 14:01:06 -05:00
2023-09-13 14:10:38 +08:00
2024-08-23 14:01:06 -05:00
2025-05-23 12:23:43 +08:00
2024-08-25 15:37:34 +08:00
2025-05-12 10:50:04 -05:00
2023-08-03 22:55:17 +08:00
2025-06-04 13:56:37 -05:00
2025-06-04 13:56:37 -05:00
2021-09-07 23:10:29 +02:00
2021-09-07 23:05:44 +02:00
2023-11-23 20:59:52 +01:00

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software.  If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks

XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output

XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf


Description
No description provided
Readme 25 MiB
Languages
XSLT 51.7%
Shell 31%
PHP 4.9%
Makefile 4.1%
Python 3.7%
Other 4.6%