Difference between revisions of "S-Lang"
From CBLFS
Jump to navigationJump to searchLine 19: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu && | + | LDFLAGS=-lncurses ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu && |
make && | make && | ||
make elf | make elf | ||
Line 34: | Line 34: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | LDFLAGS=-lncurses CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \ |
--with-readline=gnu && | --with-readline=gnu && | ||
make && | make && | ||
Line 48: | Line 48: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | LDFLAGS=-lncurses CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ |
--libdir=/usr/lib32 --with-readline=gnu && | --libdir=/usr/lib32 --with-readline=gnu && | ||
make && | make && | ||
Line 62: | Line 62: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ | + | LDFLAGS=-lncurses CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ |
--libdir=/usr/lib64 --with-readline=gnu && | --libdir=/usr/lib64 --with-readline=gnu && | ||
make && | make && |
Revision as of 15:39, 30 September 2007
Download Source: | ftp://space.mit.edu/pub/davis/slang/v2.2.1/slang-2.2.tar.bz2 |
---|
Contents
Introduction to S-Lang
S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software. It provides facilities required by interactive applications such as display/screen management, keyboard input, keymaps, and so on. The most exciting feature of the library is the slang interpreter that may be easily embedded into a program to make it extensible.
Project Homepage: http://www.s-lang.org
Dependencies
Optional
Non-Multilib
Compile the package:
LDFLAGS=-lncurses ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu && make && make elf
Install the package
make install-elf && chmod -v 755 /usr/lib/libslang.so.2.2
Multilib
32Bit
Compile the package:
LDFLAGS=-lncurses CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \ --with-readline=gnu && make && make elf
Install the package
make install-elf && chmod -v 755 /usr/lib/libslang.so.2.2
N32
Compile the package:
LDFLAGS=-lncurses CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib32 --with-readline=gnu && make && make elf
Install the package
make install-elf && chmod -v 755 /usr/lib32/libslang.so.2.2
64Bit
Compile the package:
LDFLAGS=-lncurses CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib64 --with-readline=gnu && make && make elf
Install the package
make install-elf && chmod -v 755 /usr/lib64/libslang.so.2.2
Contents
Installed Programs: | slsh |
---|---|
Installed Libraries: | libslang.{so,a} and numerous support modules |
Installed Directories: | /usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh |
Short Descriptions
slsh | is a simple program for interpreting S-Lang scripts. It supports dynamic loading of S-Lang modules and includes a Readline interface for interactive use. |
---|