S-Lang is an interpreted language that may be embedded into an application to make the application extensible. It provides facilities required by interactive applications such as display/screen management, keyboard input and keymaps.
This package is known to build and work properly using an LFS-7.4 platform.
Download (FTP): ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.4.tar.bz2
Download MD5 sum: 7fcfd447e378f07dd0c0bae671fe6487
Download size: 1.4 MB
Estimated disk space required: 9.4 MB
Estimated build time: 0.4 SBU
libpng-1.6.4, PCRE-8.33, 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.2.4 \ SLSH_DOC_DIR=/usr/share/doc/slang-2.2.4/slsh \ install-all && chmod -v 755 /usr/lib/libslang.so.2.2.4 \ /usr/lib/slang/v2/modules/*.so
make install_doc_dir=/usr/share/doc/slang-2.2.4 SLSH_DOC_DIR=/usr/share/doc/slang-2.2.4/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.
Last updated on 2013-08-20 18:40:33 -0700