|
@@ -53,8 +53,11 @@
|
|
|
|
|
|
<para>Prepare Ncurses for compilation:</para>
|
|
<para>Prepare Ncurses for compilation:</para>
|
|
|
|
|
|
-<screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --with-shared \
|
|
|
|
- --without-debug --enable-widec</userinput></screen>
|
|
|
|
|
|
+<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
|
|
+ --mandir=/usr/share/man \
|
|
|
|
+ --with-shared \
|
|
|
|
+ --without-debug \
|
|
|
|
+ --enable-widec</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
<title>The meaning of the configure option:</title>
|
|
<title>The meaning of the configure option:</title>
|
|
@@ -115,22 +118,23 @@
|
|
non-wide-character Ncurses libraries. Trick such applications into linking with
|
|
non-wide-character Ncurses libraries. Trick such applications into linking with
|
|
wide-character libraries by means of symlinks and linker scripts:</para>
|
|
wide-character libraries by means of symlinks and linker scripts:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">for lib in ncurses form panel menu ; do \
|
|
|
|
- rm -vf /usr/lib/lib${lib}.so ; \
|
|
|
|
- echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \
|
|
|
|
- ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \
|
|
|
|
|
|
+<screen><userinput remap="install">for lib in ncurses form panel menu ; do
|
|
|
|
+ rm -vf /usr/lib/lib${lib}.so
|
|
|
|
+ echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so
|
|
|
|
+ ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
|
|
done
|
|
done
|
|
|
|
+
|
|
ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
|
|
ln -sfv libncurses++w.a /usr/lib/libncurses++.a</userinput></screen>
|
|
|
|
|
|
<para>Finally, make sure that old applications that look for
|
|
<para>Finally, make sure that old applications that look for
|
|
<filename class="libraryfile">-lcurses</filename> at build time are still
|
|
<filename class="libraryfile">-lcurses</filename> at build time are still
|
|
buildable:</para>
|
|
buildable:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so
|
|
|
|
-echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so
|
|
|
|
-ln -sfv libncurses.so /usr/lib/libcurses.so
|
|
|
|
-ln -sfv libncursesw.a /usr/lib/libcursesw.a
|
|
|
|
-ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>
|
|
|
|
|
|
+<screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so
|
|
|
|
+echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so
|
|
|
|
+ln -sfv libncurses.so /usr/lib/libcurses.so
|
|
|
|
+ln -sfv libncursesw.a /usr/lib/libcursesw.a
|
|
|
|
+ln -sfv libncurses.a /usr/lib/libcurses.a</userinput></screen>
|
|
|
|
|
|
<para>If desired, install the Ncurses documentation:</para>
|
|
<para>If desired, install the Ncurses documentation:</para>
|
|
|
|
|