Tips for Installing Daemon Tools on Centos 5

If you run into this error:

cp: cannot stat `compile/svscan’: No such file or directory

Look in the src/ directory of the Daemontools folder. Open the file called error.h.

In that file, look for the line…

extern int errno;

Change it to say…

#include <errno.h>

Now go back to the Daemontools folder and run package/install to install.

If it’s successful you should see:

Creating /service…

Adding svscanboot to inittab…

init should start svscan now.