Changeset 88bbf22
- Timestamp:
- 12/04/2021 08:53:16 AM (3 years ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 1ca2287, 5d6e557
- Parents:
- 0fc98a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/ncurses.xml
r0fc98a0 r88bbf22 98 98 </para> 99 99 100 <para>Install the package:</para> 101 102 <screen><userinput remap="install">make install</userinput></screen> 100 <!-- To editors: crash of shell process was very rare but really 101 observed. We can't simply remove /usr/lib/libncursesw.so.6.x like 102 how we handle libmozjs-xx.so in BLFS because bash needs it, and 103 make will spawn new shell processes during "make install". --> 104 105 <para>The installation of this package will overwrite 106 <filename class="libraryfile">libncursesw.so.&ncurses-version;</filename> 107 in-place. It may crash the shell process which is using code and data 108 from the library file. Install the package with 109 <literal>DESTDIR</literal>, and replace the library file correctly using 110 <command>install</command> command. A useless static archive which is 111 not handled by <command>configure</command> is also removed:</para> 112 113 <screen><userinput remap="install">make DESTDIR=$PWD/dest install 114 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib 115 rm -v dest/usr/lib/{libncursesw.so.&ncurses-version;,libncurses++w.a} 116 cp -av dest/* /</userinput></screen> 103 117 104 118 <para>Many applications still expect the linker to be able to find … … 119 133 echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 120 134 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 121 122 <para>Remove a static library that is not handled by configure:</para>123 124 <screen><userinput remap="install">rm -fv /usr/lib/libncurses++w.a</userinput></screen>125 135 126 136 <para>If desired, install the Ncurses documentation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.