Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/ncurses.xml

    ra80f43e rdf0177b  
    4343
    4444    <para os="e">This package has a test suite, and can be ran after the
    45     package is installed. The tests are in the 
    46     <filename class="directory">test/</filename> directory. See the 
     45    package is installed. The tests are in the
     46    <filename class="directory">test/</filename> directory. See the
    4747    <filename>README</filename> file in that directory for details.</para>
    4848
     
    5757    <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    5858
    59 <screen os="k"><userinput>rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so
    60 ln -svf ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
    61 ln -svf ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so
    62 ln -svf ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so
    63 ln -svf ../../lib/libformw.so.5 /usr/lib/libformw.so</userinput></screen>
     59<screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libncursesw.so) /usr/lib/libncursesw.so
     60ln -svf ../../lib/$(readlink /lib/libmenuw.so) /usr/lib/libmenuw.so
     61ln -svf ../../lib/$(readlink /lib/libpanelw.so) /usr/lib/libpanelw.so
     62ln -svf ../../lib/$(readlink /lib/libformw.so) /usr/lib/libformw.so
     63rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so
     64</userinput></screen>
    6465
    6566    <para os="l">Now we will make our Ncurses compatible for older and non-widec compatible programs
     
    7475ln -sfv libncurses++w.a /usr/lib/libncurses++.a
    7576ln -sfv ncursesw5-config /usr/bin/ncurses5-config</userinput></screen>
    76 
    77     <para os="n">Now we will create a symlink for /usr/share/terminfo in
    78     <filename class="directory">/usr/lib</filename> for compatibility:</para>
    79 
    80 <screen os="o"><userinput>ln -sfv ../share/terminfo /usr/lib/terminfo</userinput></screen>
    8177
    8278  </sect2>
Note: See TracChangeset for help on using the changeset viewer.