Find file
Fetching contributors…
Cannot retrieve contributors at this time
116 lines (70 sloc) 3.09 KB
0. To compile and install is the usual:
./configure && make && sudo make install
If configure fails, it probably means that you are missing
prerequisite packages. If the compile fails, file a bug report.
To see if it looks like it's going to work, you can do a trial run
from the build directory.
a) Create a configuration for the echo service:
echo 'exec /usr/local/pluton/libexec/echo_service' >/tmp/system.echo.0.raw
b) Start the manager:
cd /tmp
c) From another shell, try and ping the "echo" service:
/usr/local/pluton/bin/plPing -L /tmp/ -c5
The output should be something like this:
0 bytes: seq=1/0 time=0.004629
0 bytes: seq=2/0 time=0.000105
0 bytes: seq=3/0 time=0.000070
0 bytes: seq=4/0 time=0.000073
0 bytes: seq=5/0 time=0.000111
plPings: 5 Read=0 Write=0 Min: 0.000070 Max: 0.004629 Avg: 0.000997 Elapse: 0.4988
1. Prerequisite Packages
a) Pluton needs the state threads library (libst).
b) To use the "curl" service you'll also need to install the
curl library (libcurl). (currently the build insists on this
package as "curl" is the archetypal service).
c) If you want to run the manager under daemontools, then you need
to install that package too.
2. From sources:
Depending on whether and where you install st.h and libst.* you
make have to tell ./configure where to find it by setting the
something like:
STATETHREADS_CFLAGS="-I/usr/local/include" \
STATETHREADS_LIBS="-L/usr/local/lib -lst" \
Depending on whether and where you install curl you
make have to tell ./configure where to find it by setting the
shell variables LIBCURL_CFLAGS and LIBCURL_LIBS to
something like:
LIBCURL_CFLAGS="-I/usr/local/include" \
LIBCURL_LIBS="-L/usr/local/lib -lcurl" \
3. FreeBSD (7, 8)
As root:
a) cd /usr/ports/devel/st && make install
Note. At the time of writing the ports version of st has a bug -
buthopefully that is fixed by the time you read this. If not,
use the "From sources" approach.
b) cd /usr/ports/ftp/curl && make install
c) cd /usr/ports/sysutils/daemontools && make install
4. OS/X (10.6, 10.7)
a) The state threads library has to be installed from sources.
b) The libcurl library is installed as part of the base package.
c) If you use the "port" command (see,
then the install command is:
sudo port install daemontools
otherwise install from sources.
5. Debian (6.0.2/squeeze)
a) sudo apt-get install libst-dev
b) sudo apt-get install libcurl3-dev
c) apt-get install daemontools daemontools-run
6. Solaris/Express (11)
You may need to install the C++ compiler, as root:
pkg install gcc-dev
a) Install from sources
b) pkg install curl-dev
c) Install from sources