Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    rc5fbd9d r3abde59  
    4444    <title>Installation of Ncurses</title>
    4545
    46     <para>First, run the following commands to build the <quote>tic</quote>
     46    <para>First, ensure that <command>gawk</command> is found first during configuration:</para>
     47
     48<screen><userinput remap="pre">sed -i s/mawk// configure</userinput></screen>
     49
     50    <para>Then, run the following commands to build the <quote>tic</quote>
    4751    program on the build host:</para>
    4852
    4953<screen><userinput remap="pre">mkdir build
    5054pushd build
    51   ../configure AWK=gawk
     55  ../configure
    5256  make -C include
    5357  make -C progs tic
     
    6670            --without-debug              \
    6771            --without-ada                \
    68             --disable-stripping          \
    69             AWK=gawk</userinput></screen>
     72            --disable-stripping</userinput></screen>
    7073
    7174    <variablelist>
     
    129132        </listitem>
    130133      </varlistentry>
    131 
    132       <varlistentry>
    133         <term><parameter>AWK=gawk</parameter></term>
    134         <listitem>
    135           <para>This switch prevents the building system from using the
    136           <command>mawk</command> program from the host.
    137           Some<!-- FIXME vauge --> versions of <command>mawk</command> can
    138           cause this package to fail to build.  <!-- It seems happened in 2015,
    139           is there any updated into? --></para>
    140         </listitem>
    141       </varlistentry>
     134<!-- this is the default >= 6.5
     135      <varlistentry>
     136        <term><parameter>- -enable-widec</parameter></term>
     137        <listitem>
     138          <para>This switch causes wide-character libraries (e.g., <filename
     139          class="libraryfile">libncursesw.so.&ncurses-version;</filename>)
     140          to be built instead of normal ones (e.g., <filename
     141          class="libraryfile">libncurses.so.&ncurses-version;</filename>).
     142          These wide-character libraries are usable in both multibyte and
     143          traditional 8-bit locales, while normal libraries work properly
     144          only in 8-bit locales. Wide-character and normal libraries are
     145          source-compatible, but not binary-compatible.</para>
     146        </listitem>
     147      </varlistentry>
     148-->
    142149    </variablelist>
    143150
Note: See TracChangeset for help on using the changeset viewer.