Difference between revisions of "S-Lang"
From CBLFS
Jump to navigationJump to searchm |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | ftp://space.mit.edu/pub/davis/slang/v{{S-Lang- | + | | ftp://space.mit.edu/pub/davis/slang/v{{S-Lang-Version2}}/slang-{{S-Lang-Version}}.tar.bz2 |
|} | |} | ||
Line 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 26: | Line 26: | ||
make install-elf && | make install-elf && | ||
− | chmod -v 755 /usr/lib/libslang.so.{{S-Lang- | + | chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}} |
== Multilib == | == Multilib == | ||
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 42: | Line 42: | ||
make install-elf && | make install-elf && | ||
− | chmod -v 755 /usr/lib/libslang.so.{{S-Lang- | + | chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}} |
=== N32 === | === N32 === | ||
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 56: | Line 56: | ||
make install-elf && | make install-elf && | ||
− | chmod -v 755 /usr/lib32/libslang.so.{{S-Lang- | + | chmod -v 755 /usr/lib32/libslang.so.{{S-Lang-Version}} |
=== 64Bit === | === 64Bit === | ||
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 && | ||
Line 70: | Line 70: | ||
make install-elf && | make install-elf && | ||
− | chmod -v 755 /usr/lib64/libslang.so.{{S-Lang- | + | chmod -v 755 /usr/lib64/libslang.so.{{S-Lang-Version}} |
= Contents = | = Contents = | ||
Line 94: | Line 94: | ||
|-valign="top" | |-valign="top" | ||
|} | |} | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 22:25, 10 March 2009
Download Source: | ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.1.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.1
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.1
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.1
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.1
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. |
---|