
Base Reference GNU/Linux Build Sequence
Source code is available here.
To compile and install, run these commands:
cd /sources/ &&
rm -rf readline-6.0 &&
tar -xzf readline-6.0.tar.gz &&
cd readline-6.0 &&
./configure --prefix=/usr --libdir=/lib &&
make SHLIB_LIBS=-lncurses &&
make install &&
mv -v /lib/lib{readline,history}.a /usr/lib &&
rm -v /lib/lib{readline,history}.so &&
ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so &&
ln -sfv ../../lib/libhistory.so.5 /usr/lib/libhistory.so &&
cd /sources/ &&
rm -rf readline-6.0 |
The output should look something like this:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
Beginning configuration for readline-6.0 for i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
.
.
.
/bin/install -c -m 644 libhistory.a /lib/libhistory.a
test -n "ranlib" && ranlib /lib/libhistory.a
( cd shlib ; make DESTDIR= install )
make[1]: Entering directory `/sources/readline-6.0/shlib'
/bin/sh ../support/mkdirs /lib
/bin/sh ../support/shlib-install -O linux-gnu -d /lib -b /usr/bin -i
"/bin/install -c -m 644" libhistory.so.6.0
/bin/sh ../support/shlib-install -O linux-gnu -d /lib -b /usr/bin -i
"/bin/install -c -m 644" libreadline.so.6.0
install: you may need to run ldconfig
make[1]: Leaving directory `/sources/readline-6.0/shlib'
`/lib/libreadline.a' -> `/usr/lib/libreadline.a'
`/lib/libhistory.a' -> `/usr/lib/libhistory.a'
removed `/lib/libreadline.so'
removed `/lib/libhistory.so'
`/usr/lib/libreadline.so' -> `../../lib/libreadline.so.5'
`/usr/lib/libhistory.so' -> `../../lib/libhistory.so.5'
|
| People: | |
| Places: | |
| Things: | |
| readline |
| Times: | |
|