Changeset 0445a3d for chapter06/readline.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/readline.xml
ra7a0238 r0445a3d 47 47 avoided by issuing the following two seds:</para> 48 48 49 <screen><userinput >sed -i '/MV.*old/d' Makefile.in49 <screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in 50 50 sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> 51 51 … … 55 55 </para> 56 56 57 <screen><userinput >patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>57 <screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen> 58 58 59 59 <para>Prepare Readline for compilation:</para> 60 60 61 <screen><userinput >./configure --prefix=/usr --libdir=/lib</userinput></screen>61 <screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen> 62 62 63 63 <para>Compile the package:</para> 64 64 65 <screen><userinput >make SHLIB_LIBS=-lncurses</userinput></screen>65 <screen><userinput remap="make">make SHLIB_LIBS=-lncurses</userinput></screen> 66 66 67 67 <variablelist> … … 83 83 <para>Install the package:</para> 84 84 85 <screen><userinput >make install</userinput></screen>85 <screen><userinput remap="install">make install</userinput></screen> 86 86 87 87 <para>Now move the static libraries to a more appropriate location:</para> 88 88 89 <screen><userinput >mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>89 <screen><userinput remap="install">mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen> 90 90 91 91 <para>Next, remove the <filename class="extension">.so</filename> files in … … 93 93 class="directory">/usr/lib</filename>:</para> 94 94 95 <screen><userinput >rm -v /lib/lib{readline,history}.so95 <screen><userinput remap="install">rm -v /lib/lib{readline,history}.so 96 96 ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so 97 97 ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.