Details on this package are located in Section 10.48.2, “Contents of File.”
The Readline package is a set of libraries that offers command-line editing and history capabilities.
The following patch contains updates from the maintainer. The maintainer of Readline only releases these patches to fix serious issues.
patch -Np1 -i ../readline-5.1-fixes-3.patch
Prepare Readline for compilation:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/lib32
Compile the package:
The meaning of the make option:
This option forces Readline to link against the libncurses library.
This package does not come with a test suite.
Install the package:
make install
Give Readline's dynamic libraries more appropriate permissions:
chmod -v 755 /lib32/lib{readline,history}.so*
Now move the static libraries to a more appropriate location:
mv -v /lib32/lib{readline,history}.a /usr/lib32
Next, remove the .so files in /lib32 and relink them into /usr/lib32.
rm -v /lib32/lib{readline,history}.so ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so
Details on this package are located in Section 10.48.2, “Contents of File.”