Ignore:
Timestamp:
Jan 11, 2009, 11:14:23 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
9ba7bfe
Parents:
209cc86
Message:

Final phase of Ncurses fixes. Create backwards compatible symlinks.

Location:
BOOK/final-system/multilib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/ncurses-64bit.xml

    r209cc86 r50af1be  
    6363
    6464<screen os="m2"><userinput>mv -v /usr/bin/ncursesw5-config{,-64}
    65 ln -sv multiarch_wrapper /usr/bin/ncursesw5-config</userinput></screen>
     65ln -svf multiarch_wrapper /usr/bin/ncurses5-config</userinput></screen>
    6666
    6767    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8080ln -svf ../../lib64/libformw.so.5 /usr/lib64/libformw.so</userinput></screen>
    8181
    82     <para os="l">Now we will create a symlink for /usr/share/terminfo in
     82    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     83    href="ncurses.xml"
     84    xpointer="xpointer(//*[@os='l'])"/>
     85
     86<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
     87        echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so
     88        ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a
     89done
     90ln -sfv libcurses.so /usr/lib64/libcursesw.so
     91ln -sfv libncurses.so /usr/lib64/libcurses.so
     92ln -sfv libncursesw.a /usr/lib64/libcursesw.a
     93ln -sfv libncurses.a /usr/lib64/libcurses.a
     94ln -sfv libncurses++w.a /usr/lib64/libncurses++.a
     95ln -sfv ncurses5-config-64 /usr/bin/ncursesw5-config-64
     96ln -sfv ncurses5-config /usr/bin/ncursesw5-config</userinput></screen>
     97
     98    <para os="n">Now we will create a symlink for /usr/share/terminfo in
    8399    <filename class="directory">/usr/lib64</filename> for compatibility:</para>
    84100
    85 <screen os="m"><userinput>ln -sf ../../usr/share/terminfo /usr/lib64/terminfo</userinput></screen>
     101<screen os="o"><userinput>ln -sfv ../../usr/share/terminfo /usr/lib64/terminfo</userinput></screen>
    86102
    87103  </sect2>
  • BOOK/final-system/multilib/ncurses-n32.xml

    r209cc86 r50af1be  
    7979ln -svf ../../lib32/libformw.so.5 /usr/lib32/libformw.so</userinput></screen>
    8080
    81     <para os="l">Now we will create a symlink for /usr/share/terminfo in
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="ncurses.xml"
     83    xpointer="xpointer(//*[@os='l'])"/>
     84
     85<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
     86        echo "INPUT(-l${lib}w)" > /usr/lib32/lib${lib}.so
     87        ln -sfv lib${lib}w.a /usr/lib32/lib${lib}.a
     88done
     89ln -sfv libcurses.so /usr/lib32/libcursesw.so
     90ln -sfv libncurses.so /usr/lib32/libcurses.so
     91ln -sfv libncursesw.a /usr/lib32/libcursesw.a
     92ln -sfv libncurses.a /usr/lib32/libcurses.a
     93ln -sfv libncurses++w.a /usr/lib32/libncurses++.a
     94ln -sfv ncurses5-config-32 /usr/bin/ncursesw5-config-32</userinput></screen>
     95
     96    <para os="n">Now we will create a symlink for /usr/share/terminfo in
    8297    <filename class="directory">/usr/lib32</filename> for compatibility:</para>
    8398
    84 <screen os="m"><userinput>ln -sf ../../usr/share/terminfo /usr/lib32/terminfo</userinput></screen>
     99<screen os="o"><userinput>ln -sfv ../../usr/share/terminfo /usr/lib32/terminfo</userinput></screen>
    85100
    86101  </sect2>
  • BOOK/final-system/multilib/ncurses.xml

    r209cc86 r50af1be  
    8484    xpointer="xpointer(//*[@os='l'])"/>
    8585
     86<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
     87        echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
     88        ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
     89done
     90ln -sfv libcurses.so /usr/lib/libcursesw.so
     91ln -sfv libncurses.so /usr/lib/libcurses.so
     92ln -sfv libncursesw.a /usr/lib/libcursesw.a
     93ln -sfv libncurses.a /usr/lib/libcurses.a
     94ln -sfv libncurses++w.a /usr/lib/libncurses++.a
     95ln -sfv ncurses5-config-32 /usr/bin/ncursesw5-config-32</userinput></screen>
     96
    8697    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8798    href="../common/ncurses.xml"
    88     xpointer="xpointer(//*[@os='m'])"/>
     99    xpointer="xpointer(//*[@os='n'])"/>
     100
     101    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     102    href="../common/ncurses.xml"
     103    xpointer="xpointer(//*[@os='o'])"/>
    89104
    90105  </sect2>
Note: See TracChangeset for help on using the changeset viewer.