execline
Software
www.skarnet.org
How to install execline
Like any other piece of software (and information generally),
execline comes with NO WARRANTY.
Requirements
System
Build-time
- A standard C development environment
- The skalibs package, version 0.47 or higher
Run-time
No dependencies.
Installation
execline follows the
slashpackage convention.
- Create a /package directory:
mkdir -p /package
chmod 1755 /package
cd /package
- Download the latest version of execline,
execline-1.08.tar.gz,
into /package.
- Unpack the execline package:
tar -zxpvf execline-1.08.tar.gz
# if you do not have GNU tar, check with your gunzip and tar manual pages.
rm execline-1.08.tar.gz
cd admin/execline-1.08
- If you want to use another compiler and linker than the default,
edit conf-compile/conf-cc and conf-compile/conf-ld as needed.
For instance, if your libc makes it easy, you could modify those files
to make static binaries, which perform better.
Don't try this with the GNU libc, though - on Linux, use
the diet libc.
- If you want to change the default stripping behaviour of
executables and libraries,
edit conf-compile/conf-stripbins and
conf-compile/conf-striplibs as needed.
- If for some reason your
slashpackage
installation is in $prefix/package, for instance if you're
not root, then unpack the execline package into $prefix/package
and tell it about your prefix:
echo $prefix > conf-compile/conf-sp_root
The build system will then look for all its dependencies from,
and install the software into, a slashpackage tree residing in
$prefix.
Note that this is not recommended, because it
makes you lose the ability to hardcode paths into your scripts,
which is the main benefit of a slashpackage installation.
- Compile and set up execline:
package/install
or perform package/compile to compile it, then
look into the command subdirectory and copy the binaries where
you need them.
- If you want links from /usr/local/bin to /command,
perform package/compat (as root, most likely). The execline binaries
will then be reachable under /usr/local/bin.
- You can then delete the compile subdirectory to save disk space.
- Look into the etc subdirectory: edit the files there
to suit your needs, then copy them to /etc.