Ignore:
Timestamp:
05/06/2020 12:59:54 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
b454589
Parents:
0b63a37
Message:

Build tic on build host and use it to generate /usr/share/terminfo

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11836 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/ncurses.xml

    r0b63a37 r69a8b2b7  
    4848<screen><userinput remap="pre">sed -i s/mawk// configure</userinput></screen>
    4949
     50    <para>Then, run the following commands to build the <quote>tic</quote>
     51    program on the build host:</para>
     52
     53<screen><userinput remap="pre">mkdir build
     54cd build
     55../configure
     56make -C include
     57make -C progs tic
     58cd ..</userinput></screen>
     59
    5060    <para>Prepare Ncurses for compilation:</para>
    5161
     
    5868            --without-ada             \
    5969            --without-normal          \
    60             --disable-db-install      \
    6170            --enable-widec            \
    6271            --enable-pc-files</userinput></screen>
     
    103112        </listitem>
    104113      </varlistentry>
    105 
     114      <!--
    106115      <varlistentry>
    107         <term><parameter>--disable-db-install</parameter></term>
     116        <term><parameter>- -disable-db-install</parameter></term>
    108117        <listitem>
    109118          <para>This switch disables building the terminfo database: it is not
     
    112121        </listitem>
    113122      </varlistentry>
    114 
     123      -->
    115124    </variablelist>
    116125
     
    121130    <para>Install the package:</para>
    122131<!-- TODO: check and document -->
    123 <screen><userinput remap="install">make DESTDIR=$LFS install
    124   ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen>
     132<screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
     133ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen>
    125134
    126135    <para>Move the shared libraries to the
Note: See TracChangeset for help on using the changeset viewer.