[Xymon] xymongrep for windows

Andy Smith abs at shadymint.com
Sat Mar 29 13:32:21 CET 2014



Henrik Størner wrote:
> Den 2014-03-27 9:01, Andy Smith skrev:
>> Henrik Størner wrote:
>>> Den 2014-03-27 8:39, Andy Smith skrev:
>>>> Hi,
>>>>
>>>> Has anyone already attempted to compile xymongrep as a standalone
>>>> windows program under MinGW or some such?  I am looking to add
>>>> externals under BBWin and have these externals configured from
>>>> etc\hosts.cfg to make them as much like native Unix extensions as I
>>>> can.
>>> I'd guess that you could easily compile it with Cygwin. I have built 
>>> the "xymon" tool in such an environment.
>>>
>>
>> That is good to know as my longstop, but I was after something less
>> intrusive, I presume a Cygwin installation will require a bunch of
>> libraries to be installed and all i need is a standalone xymongrep.exe
> 
> It requires 2 DLL's. I don't know if MinGW supports the Unix socket API, 
> but if it does then compiling it with MinGW should work fine.
> 
> 
> Regards,
> Henrik
> 

Looks like MinGW is not the way to go....

http://mingw-users.1079350.n2.nabble.com/sys-socket-h-td3255232.html

 >> Other packages I'll be compiling need sys/socket.h, ...
 >>
 >>Then you will not be compiling them with MinGW, unless you put in the
 >>effort, and *port* them to use the WinSock API instead.  There is no
 >>sys/socket.h among MinGW deliverables, nor will there be.

Does anyone have a Howto of any sort for building xymon under Cygwin then?

Thanks
-- 
Andy



More information about the Xymon mailing list