The S-Lang package contains the S-Lang library, which provides facilities such as display/screen management, keyboard input, and keymaps.
Download (HTTP): http://gd.tuwien.ac.at/editors/davis/slang/v2.1/slang-2.1.3.tar.bz2
Download (FTP): ftp://space.mit.edu/pub/davis/slang/v2.1/slang-2.1.3.tar.bz2
Download MD5 sum: 0e4ae3aac75441eaa230bceb7811f088
Download size: 1.1 MB
Estimated disk space required: 26 MB
Estimated build time: 0.5 SBU
libpng-1.2.29, PCRE-7.6, and Oniguruma
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/slang
Install S-Lang by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc && make
To test the results, issue: make check. Note that this will also create a static version of the library which will then be installed in the next step.
Now, as the root
user:
make \ install_doc_dir=/usr/share/doc/slang-2.1.3 \ SLSH_DOC_DIR=/usr/share/doc/slang-2.1.3/slsh \ install-all && chmod -v 755 /usr/lib/libslang.so.2.1.3 \ /usr/lib/slang/v2/modules/*.so
make install_doc_dir=/usr/share/doc/slang-2.1.3 SLSH_DOC_DIR=/usr/share/doc/slang-2.1.3/slsh install-all: This command installs the static library as well as the dynamic shared version and related modules. It also changes the documentation installation directories to a versioned directory.
--with-readline=gnu
: Use this parameter
to use the Gnu Readline parser
instead of the S-Lang internal
version.
As with most libraries, there is no configuration to do, save
that the library directory, i.e., /opt/lib
or /usr/local/lib
should appear in /etc/ld.so.conf
so that ldd can find the shared
libraries. After checking that this is the case, /sbin/ldconfig should be run
while logged in as root
.
Last updated on 2008-03-12 11:43:44 -0500