Ignore:
Timestamp:
Jan 11, 2009, 2:08:38 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:
04076fe
Parents:
cd6642e
Message:

Only build one version of Ncurses.

File:
1 edited

Legend:

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

    rcd6642e r7cb0700  
    3636<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    3737   ./configure --prefix=/usr --libdir=/lib64 \
    38    --with-shared --without-debug \
    39    --includedir=/usr/include/ncurses</userinput></screen>
     38   --with-shared --without-debug --enable-widec \
     39   --includedir=/usr/include/ncursesw</userinput></screen>
    4040
    4141    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61     <para os="m1">Prepare <filename>ncurses5-config</filename> to be wrapped by
     61    <para os="m1">Prepare <filename>ncursesw5-config</filename> to be wrapped by
    6262    the multiarch wrapper and then wrap it:</para>
    6363
    64 <screen os="m2"><userinput>mv -v /usr/bin/ncurses5-config{,-64}
    65 ln -sv multiarch_wrapper /usr/bin/ncurses5-config</userinput></screen>
     64<screen os="m2"><userinput>mv -v /usr/bin/ncursesw5-config{,-64}
     65ln -sv multiarch_wrapper /usr/bin/ncursesw5-config</userinput></screen>
    6666
    6767    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6969    xpointer="xpointer(//*[@os='h'])"/>
    7070
    71 <screen os="i"><userinput>mv -v /lib64/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib64</userinput></screen>
     71<screen os="i"><userinput>mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64</userinput></screen>
    7272
    7373    <para os="j">Create symlinks in <filename class="directory">/usr/lib64:</filename></para>
    7474
    75 <screen os="k"><userinput>rm -v /lib64/lib{ncurses,menu,panel,form,curses}.so
    76 ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libncurses.so
    77 ln -svf ../../lib64/libncurses.so.5 /usr/lib64/libcurses.so
    78 ln -svf ../../lib64/libmenu.so.5 /usr/lib64/libmenu.so
    79 ln -svf ../../lib64/libpanel.so.5 /usr/lib64/libpanel.so
    80 ln -svf ../../lib64/libform.so.5 /usr/lib64/libform.so</userinput></screen>
     75<screen os="k"><userinput>rm -v /lib64/lib{ncursesw,menuw,panelw,formw,cursesw}.so
     76ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libcursesw.so
     77ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libncursesw.so
     78ln -svf ../../lib64/libmenuw.so.5 /usr/lib64/libmenuw.so
     79ln -svf ../../lib64/libpanelw.so.5 /usr/lib64/libpanelw.so
     80ln -svf ../../lib64/libformw.so.5 /usr/lib64/libformw.so</userinput></screen>
     81
     82    <para os="l">Now we will create a symlink for /usr/share/terminfo in
     83    <filename class="directory">/usr/lib64</filename> for compatibility:</para>
     84
     85<screen os="m"><userinput>ln -sf ../../usr/share/terminfo /usr/lib64/terminfo</userinput></screen>
    8186
    8287  </sect2>
Note: See TracChangeset for help on using the changeset viewer.