Ticket #2403: ncurses.patch

File ncurses.patch, 1.1 KB (added by chris@…, 16 years ago)

Updates to Ncurses instructions

  • trunk/BOOK/chapter06/ncurses.xml

     
    9999
    100100<screen><userinput remap="install">make install</userinput></screen>
    101101
    102     <para>Correct the permissions of a library that should not be executable:
    103     </para>
    104 
    105 <screen><userinput remap="install">chmod -v 644 /usr/lib/libncurses++w.a</userinput></screen>
    106 
    107102    <para>Move the libraries to the <filename class="directory">/lib</filename> directory,
    108103    where they are expected to reside:</para>
    109104
     
    118113    non-wide-character Ncurses libraries. Trick such applications into linking with
    119114    wide-character libraries by means of symlinks and linker scripts:</para>
    120115
    121 <screen><userinput remap="install">for lib in curses ncurses form panel menu ; do \
     116<screen><userinput remap="install">for lib in ncurses form panel menu ; do \
    122117    rm -vf /usr/lib/lib${lib}.so ; \
    123118    echo "INPUT(-l${lib}w)" &gt;/usr/lib/lib${lib}.so ; \
    124119    ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \