site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss
site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss

<<   <   >   >>

GNU/Linux® Reference OS | readline

SourceMD5
readline-8.0.tar.gz 7e6c1f16aee3244a69aba6e438295ca3

Run these commands to compile and install:

cd /sources/
rm -rf readline-8.0
tar -xzf readline-8.0.tar.gz
cd readline-8.0
./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/readline-8.0
make SHLIB_LIBS="-L/tools/lib -lncursesw"
make SHLIB_LIBS="-L/tools/lib -lncursesw" install
mv -v /usr/lib/lib{readline,history}.so.* /lib
chmod -v u+w /lib/lib{readline,history}.so.*
ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so
ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so
install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-8.0

You should see something like this as output:

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu

Beginning configuration for readline-8.0 for x86_64-pc-linux-gnu

checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
.
.
.
install: you may need to run ldconfig
make[1]: Leaving directory '/sources/readline-8.0/shlib'
renamed '/usr/lib/libreadline.so.8' -> '/lib/libreadline.so.8'
renamed '/usr/lib/libreadline.so.8.0' -> '/lib/libreadline.so.8.0'
renamed '/usr/lib/libhistory.so.8' -> '/lib/libhistory.so.8'
renamed '/usr/lib/libhistory.so.8.0' -> '/lib/libhistory.so.8.0'
mode of '/lib/libreadline.so.8' retained as 0755 (rwxr-xr-x)
mode of '/lib/libreadline.so.8.0' retained as 0755 (rwxr-xr-x)
mode of '/lib/libhistory.so.8' retained as 0755 (rwxr-xr-x)
mode of '/lib/libhistory.so.8.0' retained as 0755 (rwxr-xr-x)
'/usr/lib/libreadline.so' -> '../../lib/libreadline.so.8'
'/usr/lib/libhistory.so' -> '../../lib/libhistory.so.8'
removed '/usr/share/doc/readline-8.0/history.ps'
'doc/history.ps' -> '/usr/share/doc/readline-8.0/history.ps'
removed '/usr/share/doc/readline-8.0/history_3.ps'
'doc/history_3.ps' -> '/usr/share/doc/readline-8.0/history_3.ps'
removed '/usr/share/doc/readline-8.0/readline.ps'
'doc/readline.ps' -> '/usr/share/doc/readline-8.0/readline.ps'
removed '/usr/share/doc/readline-8.0/readline_3.ps'
'doc/readline_3.ps' -> '/usr/share/doc/readline-8.0/readline_3.ps'
removed '/usr/share/doc/readline-8.0/rluserman.ps'
'doc/rluserman.ps' -> '/usr/share/doc/readline-8.0/rluserman.ps'
removed '/usr/share/doc/readline-8.0/history.pdf'
'doc/history.pdf' -> '/usr/share/doc/readline-8.0/history.pdf'
removed '/usr/share/doc/readline-8.0/readline.pdf'
'doc/readline.pdf' -> '/usr/share/doc/readline-8.0/readline.pdf'
removed '/usr/share/doc/readline-8.0/rluserman.pdf'
'doc/rluserman.pdf' -> '/usr/share/doc/readline-8.0/rluserman.pdf'
removed '/usr/share/doc/readline-8.0/history.html'
'doc/history.html' -> '/usr/share/doc/readline-8.0/history.html'
removed '/usr/share/doc/readline-8.0/readline.html'
'doc/readline.html' -> '/usr/share/doc/readline-8.0/readline.html'
removed '/usr/share/doc/readline-8.0/rluserman.html'
'doc/rluserman.html' -> '/usr/share/doc/readline-8.0/rluserman.html'
removed '/usr/share/doc/readline-8.0/history.dvi'
'doc/history.dvi' -> '/usr/share/doc/readline-8.0/history.dvi'
removed '/usr/share/doc/readline-8.0/readline.dvi'
'doc/readline.dvi' -> '/usr/share/doc/readline-8.0/readline.dvi'
removed '/usr/share/doc/readline-8.0/rluserman.dvi'
'doc/rluserman.dvi' -> '/usr/share/doc/readline-8.0/rluserman.dvi'

full raw output

readline
Much of the knowledge of this site came from the Linux From Scratch project and the contributors. I salute you. You rock. Linux is an operating system kernel that is a registered trademark of Linus Torvalds. GNU is an operating system started by Richard Stallman with a goal of freedom for computer users. Jean-Michel Jarre and Moby have accompanied me on my head phones through much of L1G3R. I've been listening to Jarre since Equinoxe. Jarre's goal is to create "anti-pattern electronic music", music that, even when repetitive, "is still in constant evolution". Moby has also had quite a bit of play on my headphones during L1G3R. His goal is "simply trying to make music that I love". I agree with Moby. I've loved everything there was here. Thank you, mountain, for the click of life. My goal is to fix chinks in the web, but I'll never know if I do; it is simply an honor to be able to climb.