%general-entities; ]> Readline-&readline-version; Readline <para>The Readline package is a set of libraries that offers command-line editing and history capabilities.</para> </sect2> &env-target; <sect2 role="installation"> <title>Installation of Readline The following patch contains updates from the maintainer. The maintainer of Readline only releases these patches to fix serious issues: patch -Np1 -i ../&readline-branch_update-patch; This option forces Readline to link against the libncursesw library: sed -i 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncursesw:' support/shobj-conf Prepare Readline for compilation: ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/usr --libdir=/lib Compile the package: make Install the package: make DESTDIR=${CLFS} install Install the documentation: make DESTDIR=${CLFS} install-doc Now move the static libraries to a more appropriate location: mv -v ${CLFS}/lib/lib{readline,history}.a ${CLFS}/usr/lib Next, remove the .so files in /lib and relink them into /usr/lib. rm -v ${CLFS}/lib/lib{readline,history}.so ln -sfv ../../lib/libreadline.so.&readline-version2; ${CLFS}/usr/lib/libreadline.so ln -sfv ../../lib/libhistory.so.&readline-version2; ${CLFS}/usr/lib/libhistory.so Contents of Readline Installed libraries libhistory.[a,so], and libreadline.[a,so] Short Descriptions libhistory Provides a consistent user interface for recalling lines of history libhistory libreadline Aids in the consistency of user interface across discrete programs that need to provide a command line interface libreadline