|
@@ -47,6 +47,16 @@
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i s/mawk// configure</userinput></screen>
|
|
<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>
|
|
<para>Prepare Ncurses for compilation:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
@@ -57,7 +67,6 @@
|
|
--without-debug \
|
|
--without-debug \
|
|
--without-ada \
|
|
--without-ada \
|
|
--without-normal \
|
|
--without-normal \
|
|
- --disable-db-install \
|
|
|
|
--enable-widec \
|
|
--enable-widec \
|
|
--enable-pc-files</userinput></screen>
|
|
--enable-pc-files</userinput></screen>
|
|
|
|
|
|
@@ -102,16 +111,16 @@
|
|
</para>
|
|
</para>
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
-
|
|
|
|
|
|
+ <!--
|
|
<varlistentry>
|
|
<varlistentry>
|
|
- <term><parameter>--disable-db-install</parameter></term>
|
|
|
|
|
|
+ <term><parameter>- -disable-db-install</parameter></term>
|
|
<listitem>
|
|
<listitem>
|
|
<para>This switch disables building the terminfo database: it is not
|
|
<para>This switch disables building the terminfo database: it is not
|
|
needed at this stage, and if <command>tic</command> is too old,
|
|
needed at this stage, and if <command>tic</command> is too old,
|
|
it cannot compile recent databases.</para>
|
|
it cannot compile recent databases.</para>
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
-
|
|
|
|
|
|
+ -->
|
|
</variablelist>
|
|
</variablelist>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
<para>Compile the package:</para>
|
|
@@ -120,8 +129,8 @@
|
|
|
|
|
|
<para>Install the package:</para>
|
|
<para>Install the package:</para>
|
|
<!-- TODO: check and document -->
|
|
<!-- 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
|
|
<para>Move the shared libraries to the
|
|
<filename class="directory">/lib</filename> directory, where they are
|
|
<filename class="directory">/lib</filename> directory, where they are
|