ucspilogd
Software
www.skarnet.org
How to install ucspilogd
Like any other piece of software (and information generally),
ucspilogd comes with NO WARRANTY.
Requirements
System
Build-time
- A standard C development environment
- The skalibs package, version 0.47 or higher
Run-time
- (recommended) The daemontools package,
version 0.76 or later; or the runit
package, version 0.12.1 or later.
- (recommended) The ucspi-ipc
package, version 0.63 or later.
Installation
ucspilogd follows the
slashpackage convention.
- Create a /package directory:
mkdir -p /package
chmod 1755 /package
cd /package
- Download the latest version of ucspilogd,
ucspilogd-0.36.tar.gz,
into /package.
- Unpack the ucspilogd package:
tar -zxpvf ucspilogd-0.36.tar.gz
# if you do not have GNU tar, check with your gunzip and tar manual pages.
rm ucspilogd-0.36.tar.gz
cd admin/ucspilogd-0.36
- If you want to use another compiler and linker than the default,
edit conf-compile/conf-cc and conf-compile/conf-ld as needed.
- If for some reason your
slashpackage
installation is in $prefix/package, for instance if you're
not root, then unpack the ucspilogd package into $prefix/package
and tell it about your prefix:
echo $prefix > conf-compile/conf-sp_root
The build system will then 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 ucspilogd:
package/install
or perform package/compile to compile it, then
look into the command subdirectory and copy the binaries where
you need them.
- To report success :
cat package/name package/version compile/export/sysdeps | mail ska-sysdeps@skarnet.org
- You can then delete the compile subdirectory to save disk space.