diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-07-06 20:47:01 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-07-06 20:47:01 +0000 |
commit | fe039b5f7846615590c84b03ba8fe05be115e0bf (patch) | |
tree | f2725b4236b41db2e093890d509d92fc755d99da /chapter06/ncurses.xml | |
parent | b6c0d12e38613afd4b2096808aefb29006632d22 (diff) |
Match ncurses chapter 6 to what is done in chapter 8, and add explanations
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11994 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/ncurses.xml')
-rw-r--r-- | chapter06/ncurses.xml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 5c48b3619..36513603c 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -120,9 +120,33 @@ popd</userinput></screen> <screen><userinput remap="make">make</userinput></screen> <para>Install the package:</para> -<!-- TODO: check and document --> + <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install -ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen> +echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> + + <variablelist> + <title>The meaning of the install options:</title> + + <varlistentry> + <term><parameter>TIC_PATH=$(pwd)/build/progs/tic</parameter></term> + <listitem> + <para>We need to pass the path of the just built + <command>tic</command> able to run on the building machine, so that + the terminal database can be created without errors.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term> + <listitem> + <para>The <filename>libncurses.so</filename> library is needed by + a few packages we will build soon. We create this small linker + script, as this is what is done in <xref + linkend="chapter-building-system"/>.</para> + </listitem> + </varlistentry> + + </variablelist> <para>Move the shared libraries to the <filename class="directory">/lib</filename> directory, where they are |