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.

Location:
BOOK/final-system/multilib
Files:
3 deleted
3 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>
  • BOOK/final-system/multilib/ncurses-n32.xml

    rcd6642e r7cb0700  
    3737<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    3838   ./configure --prefix=/usr --libdir=/lib32 \
    39    --with-shared --without-debug \
    40    --includedir=/usr/include/ncurses</userinput></screen>
     39   --with-shared --without-debug --enable-widec</userinput></screen>
    4140
    4241    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6059    xpointer="xpointer(//*[@os='g'])"/>
    6160
    62     <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
    6362    the multiarch wrapper:</para>
    6463
    65 <screen os="m2"><userinput>mv -v /usr/bin/ncurses5-config{,-n32}</userinput></screen>
     64<screen os="m2"><userinput>mv -v /usr/bin/ncursesw5-config{,-n32}</userinput></screen>
    6665
    6766    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6968    xpointer="xpointer(//*[@os='h'])"/>
    7069
    71 <screen os="i"><userinput>mv -v /lib32/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib32</userinput></screen>
     70<screen os="i"><userinput>mv -v /lib32/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib32</userinput></screen>
    7271
    7372    <para os="j">Create symlinks in <filename class="directory">/usr/lib32:</filename></para>
    7473
    75 <screen os="k"><userinput>rm -v /lib32/lib{ncurses,menu,panel,form,curses}.so
    76 ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libncurses.so
    77 ln -svf ../../lib32/libncurses.so.5 /usr/lib32/libcurses.so
    78 ln -svf ../../lib32/libmenu.so.5 /usr/lib32/libmenu.so
    79 ln -svf ../../lib32/libpanel.so.5 /usr/lib32/libpanel.so
    80 ln -svf ../../lib32/libform.so.5 /usr/lib32/libform.so</userinput></screen>
     74<screen os="k"><userinput>rm -v /lib32/lib{ncursesw,menuw,panelw,formw,cursesw}.so
     75ln -svf ../../lib32/libncursesw.so.5 /usr/lib32/libcursesw.so
     76ln -svf ../../lib32/libncursesw.so.5 /usr/lib32/libncursesw.so
     77ln -svf ../../lib32/libmenuw.so.5 /usr/lib32/libmenuw.so
     78ln -svf ../../lib32/libpanelw.so.5 /usr/lib32/libpanelw.so
     79ln -svf ../../lib32/libformw.so.5 /usr/lib32/libformw.so</userinput></screen>
     80
     81    <para os="l">Now we will create a symlink for /usr/share/terminfo in
     82    <filename class="directory">/usr/lib32</filename> for compatibility:</para>
     83
     84<screen os="m"><userinput>ln -sf ../../usr/share/terminfo /usr/lib32/terminfo</userinput></screen>
    8185
    8286  </sect2>
  • BOOK/final-system/multilib/ncurses.xml

    rcd6642e r7cb0700  
    3737<screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    3838   ./configure --prefix=/usr --libdir=/lib \
    39    --with-shared --without-debug \
    40    --includedir=/usr/include/ncurses</userinput></screen>
     39   --with-shared --without-debug --enable-widec</userinput></screen>
    4140
    4241    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6059    xpointer="xpointer(//*[@os='g'])"/>
    6160
    62     <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
    6362    the multiarch wrapper:</para>
    6463
    65 <screen os="m2"><userinput>mv -v /usr/bin/ncurses5-config{,-32}</userinput></screen>
     64<screen os="m2"><userinput>mv -v /usr/bin/ncursesw5-config{,-32}</userinput></screen>
    6665
    6766    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8180    xpointer="xpointer(//*[@os='k'])"/>
    8281
     82    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     83    href="../common/ncurses.xml"
     84    xpointer="xpointer(//*[@os='l'])"/>
     85
     86    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     87    href="../common/ncurses.xml"
     88    xpointer="xpointer(//*[@os='m'])"/>
     89
    8390  </sect2>
    8491
Note: See TracChangeset for help on using the changeset viewer.