Has anyone got the toaster to run on the latest Solaris 10 release?

I'm slowly making progress, and will send a list of all I had to do to
make it work once I get done.  One key change I've found, the line added
to inittab on Solaris to start daemontools must be:

SV:23:respawn:/command/svscanboot < /dev/null > dev.msglog 2>&1


Most of the rest has been making sure I have all the prerequisites loaded,
and in the search path.  I am currently stuck on surbl's use of flock. 
(This happens while re-compiling qmail after installing vpopmail.)  The
constants LOCK_EX, LOCK_SH, LOCK_NB and LOCK_UN are not defined.  Solaris
documentation recommends that we avoid flock entirely.

Compiler results:

./compile surbl.c
surbl.c: In function `file_lock':
surbl.c:867: error: `LOCK_EX' undeclared (first use in this function)
surbl.c:867: error: (Each undeclared identifier is reported only once
surbl.c:867: error: for each function it appears in.)
surbl.c:869: error: `LOCK_SH' undeclared (first use in this function)
surbl.c:872: error: `LOCK_NB' undeclared (first use in this function)
surbl.c: In function `file_unlock':
surbl.c:905: error: `LOCK_UN' undeclared (first use in this function)
make: *** [surbl.o] Error 1

I'm new to Solaris, but not the toaster or vpopmail.  Any help is welcome!!

Thanks,
Rick

Reply via email to