Changeset 0445a3d for chapter06/ncurses.xml
- Timestamp:
- 09/18/2007 09:11:00 PM (17 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 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, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, 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:
- e1ad8a8
- Parents:
- a7a0238
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
ra7a0238 r0445a3d 55 55 static code analysis tool, Coverity:</para> 56 56 57 <screen><userinput >patch -Np1 -i ../&ncurses-coverity-patch;</userinput></screen>57 <screen><userinput remap="pre">patch -Np1 -i ../&ncurses-coverity-patch;</userinput></screen> 58 58 59 59 <para>Prepare Ncurses for compilation:</para> 60 60 61 <screen><userinput >./configure --prefix=/usr --with-shared --without-debug --enable-widec</userinput></screen>61 <screen><userinput remap="configure">./configure --prefix=/usr --with-shared --without-debug --enable-widec</userinput></screen> 62 62 63 63 <variablelist> … … 93 93 <para>Compile the package:</para> 94 94 95 <screen><userinput >make</userinput></screen>95 <screen><userinput remap="make">make</userinput></screen> 96 96 97 97 <para>This package has a test suite, but it can only be run after the … … 103 103 <para>Install the package:</para> 104 104 105 <screen><userinput >make install</userinput></screen>105 <screen><userinput remap="install">make install</userinput></screen> 106 106 107 107 <para>Correct the permissions of a library that should not be executable: 108 108 </para> 109 109 110 <screen><userinput >chmod -v 644 /usr/lib/libncurses++w.a</userinput></screen>110 <screen><userinput remap="install">chmod -v 644 /usr/lib/libncurses++w.a</userinput></screen> 111 111 112 112 <para>Move the libraries to the <filename class="directory">/lib</filename> directory, 113 113 where they are expected to reside:</para> 114 114 115 <screen><userinput >mv -v /usr/lib/libncursesw.so.5* /lib</userinput></screen>115 <screen><userinput remap="install">mv -v /usr/lib/libncursesw.so.5* /lib</userinput></screen> 116 116 117 117 <para>Because the libraries have been moved, one symlink points to 118 118 a non-existent file. Recreate it:</para> 119 119 120 <screen><userinput >ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so</userinput></screen>120 <screen><userinput remap="install">ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so</userinput></screen> 121 121 122 122 <para>Many applications still expect the linker to be able to find … … 124 124 wide-character libraries by means of symlinks and linker scripts:</para> 125 125 126 <screen><userinput >for lib in curses ncurses form panel menu ; do \126 <screen><userinput remap="install">for lib in curses ncurses form panel menu ; do \ 127 127 rm -vf /usr/lib/lib${lib}.so ; \ 128 128 echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \ … … 135 135 buildable:</para> 136 136 137 <screen><userinput >rm -vf /usr/lib/libcursesw.so137 <screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so 138 138 echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so 139 139 ln -sfv libncurses.so /usr/lib/libcurses.so
Note:
See TracChangeset
for help on using the changeset viewer.