Readline

From Genunix

readline - A set of functions for use by applications that allow users to edit command line

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build readline-5.2 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc readline-5.2.tar.gz | /usr/sfw/bin/gtar xf -

cd readline-5.2

export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr -I/usr/sfw/include -DANSICPP"
./configure --prefix=/usr			\
	    --libexecdir=/usr/lib         \
	    --mandir=/usr/share/man                 \
	    --datadir=/usr/share               \
            --infodir=/usr/share/info
	    		
make

Other configure options

output of ./configure --help

Directory paths that readline installs to

include/readline
lib
share/info
share/man/man3
share/man/man3gnu

Other 3rd party software readline requires

(none)