monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: darwin works with small tweak


From: Rick Robino
Subject: Re: darwin works with small tweak
Date: Thu, 18 Sep 2003 01:40:19 -0700
User-agent: Mutt/1.4i

> On Thu, Sep 18, 2003 at 08:59:11AM +0200, Martin Pala wrote:
> >
> Oops - it seems that Darwin (unlike Linux, Solaris, *BSD) doesn't have 
> poll(). We will probably move to select() because of it (i will look on it).

Yeah, I see openbsd has it.  In any case, I wish I hadn't mentioned
this problem.  Seems wrong to drop poll because of one minority
platform.  Darwin is already problematic... maybe this is a sign
that it should be avoided in 4.0.

The libpool wrapper works so I don't see why any mac folks that
really needed monit couldn't just read a note in PLATFORMS telling
them where to get libpoll.  The software itself has installation
instructions in the makefile.  They will then have to add -lpoll
to LIBS in the monit makefile, and maybe even symlink the libpoll
stuff under /usr instead of /usr/local but that is not a big pain.

Alternatively, this particular platform would be ok to make available
as a prebuilt package if there is real concern that folks couldn't
handle the compilation.  The poll items could be installed as part
of the package.  This would work for all macs, not necessarly all
darwin.  You could also pull the libpoll files into monit so you
could handle any platform without a real poll...

-- 
Rick Robino                                          




reply via email to

[Prev in Thread] Current Thread [Next in Thread]