Changeset f7e4340


Ignore:
Timestamp:
Feb 19, 2016, 8:08:19 PM (9 years ago)
Author:
Chris Staub <chris@…>
Branches:
sysvinit
Children:
0b0775a
Parents:
24d655d
git-author:
Chris Staub <chris@…> (02/19/16 20:06:03)
git-committer:
Chris Staub <chris@…> (02/19/16 20:08:19)
Message:

Modified Ncurses instructions to move fewer libs to /lib

Location:
BOOK
Files:
5 edited

Legend:

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

    r24d655d rf7e4340  
    3737<screen os="b"><userinput>./configure \
    3838    --prefix=/usr \
    39     --libdir=/lib \
    4039    --with-shared \
    4140    --without-debug \
     
    7574<screen os="g"><userinput>make install</userinput></screen>
    7675
    77     <para os="h">Move the Ncurses static libraries to the proper location:</para>
    78 
    79 <screen os="i"><userinput>mv -v /lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib</userinput></screen>
    80 
    81     <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    82 
    83 <screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libncursesw.so) /usr/lib/libncursesw.so
    84 ln -svf ../../lib/$(readlink /lib/libmenuw.so) /usr/lib/libmenuw.so
    85 ln -svf ../../lib/$(readlink /lib/libpanelw.so) /usr/lib/libpanelw.so
    86 ln -svf ../../lib/$(readlink /lib/libformw.so) /usr/lib/libformw.so
    87 rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen>
     76    <para os="h">Move the <filename class="libraryfile">libncursesw</filename>
     77    shared library to <filename class="directory">/lib</filename>
     78    and create a new symlink in <filename class="directory">/usr/lib</filename>:</para>
     79
     80<screen os="i"><userinput>mv -v /usr/lib/libncursesw.so.* /lib
     81ln -svf ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so</userinput></screen>
    8882
    8983    <para os="l">Many packages that use Ncurses will compile just fine against
  • BOOK/final-system/multilib/ncurses-64bit.xml

    r24d655d rf7e4340  
    3939./configure \
    4040    --prefix=/usr \
    41     --libdir=/lib64 \
     41    --libdir=/usr/lib64 \
    4242    --with-shared \
    4343    --without-debug \
     
    7171ln -svf multiarch_wrapper /usr/bin/ncursesw6-config</userinput></screen>
    7272
    73     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    74     href="ncurses.xml"
    75     xpointer="xpointer(//*[@os='h'])"/>
     73    <para os="h">Move the <filename class="libraryfile">libncursesw</filename>
     74    shared library to <filename class="directory">/lib64</filename>
     75    and create a new symlink in <filename class="directory">/usr/lib64</filename>:</para>
    7676
    77 <screen os="i"><userinput>mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64</userinput></screen>
    78 
    79     <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para>
    80 
    81 <screen os="k"><userinput>ln -svf ../../lib64/$(readlink /lib64/libncursesw.so) /usr/lib64/libncursesw.so
    82 ln -svf ../../lib64/$(readlink /lib64/libmenuw.so) /usr/lib64/libmenuw.so
    83 ln -svf ../../lib64/$(readlink /lib64/libpanelw.so) /usr/lib64/libpanelw.so
    84 ln -svf ../../lib64/$(readlink /lib64/libformw.so) /usr/lib64/libformw.so
    85 rm -v /lib64/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen>
     77<screen os="i"><userinput>mv -v /usr/lib64/libncursesw.so.* /lib64
     78ln -svf ../../lib64/$(readlink /usr/lib/libncursesw.so) /usr/lib64/libncursesw.so</userinput></screen>
    8679
    8780    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/ncurses-n32.xml

    r24d655d rf7e4340  
    4040./configure \
    4141    --prefix=/usr \
    42     --libdir=/lib32 \
     42    --libdir=/usr/lib32 \
    4343    --with-shared \
    4444    --without-debug \
     
    7171<screen os="m2"><userinput>mv -v /usr/bin/ncursesw6-config{,-n32}</userinput></screen>
    7272
    73     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    74     href="ncurses.xml"
    75     xpointer="xpointer(//*[@os='h'])"/>
     73    <para os="h">Move the <filename class="libraryfile">libncursesw</filename>
     74    shared library to <filename class="directory">/lib32</filename>
     75    and create a new symlink in <filename class="directory">/usr/lib32</filename>:</para>
    7676
    77 <screen os="i"><userinput>mv -v /lib32/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib32</userinput></screen>
    78 
    79     <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para>
    80 
    81 <screen os="k"><userinput>ln -svf ../../lib32/$(readlink /lib32/libncursesw.so) /usr/lib32/libncursesw.so
    82 ln -svf ../../lib32/$(readlink /lib32/libmenuw.so) /usr/lib32/libmenuw.so
    83 ln -svf ../../lib32/$(readlink /lib32/libpanelw.so) /usr/lib32/libpanelw.so
    84 ln -svf ../../lib32/$(readlink /lib32/libformw.so) /usr/lib32/libformw.so
    85 rm -v /lib32/lib{ncursesw,menuw,panelw,formw}.so</userinput></screen>
     77<screen os="i"><userinput>mv -v /usr/lib32/libncursesw.so.* /lib32
     78ln -svf ../../lib32/$(readlink /usr/lib/libncursesw.so) /usr/lib32/libncursesw.so</userinput></screen>
    8679
    8780    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/ncurses.xml

    r24d655d rf7e4340  
    4040./configure \
    4141    --prefix=/usr \
    42     --libdir=/lib \
     42    --libdir=/usr/lib \
    4343    --with-shared \
    4444    --without-debug \
     
    8585    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8686    href="../common/ncurses.xml"
    87     xpointer="xpointer(//*[@os='j'])"/>
    88 
    89     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    90     href="../common/ncurses.xml"
    91     xpointer="xpointer(//*[@os='k'])"/>
    92 
    93     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    94     href="../common/ncurses.xml"
    9587    xpointer="xpointer(//*[@os='l'])"/>
    9688
  • BOOK/introduction/common/changelog.xml

    r24d655d rf7e4340  
    4646        <listitem>
    4747          <para>[Chris] - Removed commands to create libcurses* symlinks in
    48           Ncursese, as few packages now are likely to need them. Fixes ticket
     48          Ncurses, as few packages now are likely to need them. Fixes ticket
    4949          <ulink url="&clfs-ticket-root;1102">#1102.</ulink></para>
     50        </listitem>
     51        <listitem>
     52          <para>[Chris] - Modified Ncurses instructions to move fewer libs
     53          to /lib{,32,64} as only libncursesw itself is needed there.Fixes
     54          ticket
     55          <ulink url="&clfs-ticket-root;1104">#1104.</ulink></para>
    5056        </listitem>
    5157      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.