diff options
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 |