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.
Thanks
Andy
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.
Regards, Henrik
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
Andy
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
"Xymon" <xymon-bounces at xymon.com> schrieb am 27.03.2014 09:05:16:
...
Re: [Xymon] xymongrep for windows
Gesendet von:
"Xymon" <xymon-bounces at xymon.com>
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.
May I suggest unxutils(.sourceforge.net) ? A combination of grep and awk does everything xymongrep does.
HTH Hermann-Josef Beckers
Den 2014-03-27 9:24, Hermann-Josef Beckers skrev:
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
etchosts.cfg to make them as much like native Unix extensions as I
can.
May I suggest unxutils(.sourceforge.net) ? A combination of grep and awk does everything xymongrep does.
Not quite. Standard grep / awk operates on local text files only, xymongrep retrieves the hosts.cfg configuration directly from the Xymon server without using any local files.
Regards, Henrik
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
participants (3)
-
abs@shadymint.com
-
henrik@hswn.dk
-
hj.beckers@kreis-steinfurt.de