Author: pierre
Date: Wed May 6 05:59:54 2020
New Revision: 11836
Log:
Build tic on build host and use it to generate /usr/share/terminfo
Modified:
branches/cross-chap5/chapter05/ncurses.xml
Modified: branches/cross-chap5/chapter05/ncurses.xml
==============================================================================
--- branches/cross-chap5/chapter05/ncurses.xml Wed May 6 04:46:06 2020
(r11835)
+++ branches/cross-chap5/chapter05/ncurses.xml Wed May 6 05:59:54 2020
(r11836)
@@ -47,6 +47,16 @@
<screen><userinput remap="pre">sed -i s/mawk// configure</userinput></screen>
+ <para>Then, run the following commands to build the <quote>tic</quote>
+ program on the build host:</para>
+
+<screen><userinput remap="pre">mkdir build
+cd build
+../configure
+make -C include
+make -C progs tic
+cd ..</userinput></screen>
+
<para>Prepare Ncurses for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
@@ -57,7 +67,6 @@
--without-debug \
--without-ada \
--without-normal \
- --disable-db-install \
--enable-widec \
--enable-pc-files</userinput></screen>
@@ -102,16 +111,16 @@
</para>
</listitem>
</varlistentry>
-
+ <!--
<varlistentry>
- <term><parameter>--disable-db-install</parameter></term>
+ <term><parameter>- -disable-db-install</parameter></term>
<listitem>
<para>This switch disables building the terminfo database: it is not
needed at this stage, and if <command>tic</command> is too old,
it cannot compile recent databases.</para>
</listitem>
</varlistentry>
-
+ -->
</variablelist>
<para>Compile the package:</para>
@@ -120,8 +129,8 @@
<para>Install the package:</para>
<!-- TODO: check and document -->
-<screen><userinput remap="install">make DESTDIR=$LFS install
- ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen>
+<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>
<para>Move the shared libraries to the
<filename class="directory">/lib</filename> directory, where they are
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page