Do you have a ws2tcpip.h file in your mingw/include directory ? What is exaclty the error reported ? Do you see other warnings before this error ? Can you send your config.log file (zipped) please.
Fred -- Eaton Opensource Team - http://opensource.eaton.com ----------------------------- ----------------------------- ________________________________________ From: Lee Thompson [[email protected]] Sent: Tuesday, August 28, 2012 1:55 AM To: Bohe, Frederic Cc: [email protected] Subject: Re: [Nut-upsuser] Perhaps a Complicated Question That's great but I haven't really built anything in unix environments so I'm going to need a lot of hand-holding or a really good wiki. I did install MinGW/MSYS but I don't get very far. It can't find socklen_t. Looking at the configure file, it's because it's not looking in ws2tcpip.h but I have no idea how to change this. On 8/26/2012 11:55 PM, [email protected] wrote: > Hello, > > Indeed I have not compiled CGI for Windows as it was considered a bit > outdated. But your request may change our mind, I will have to discuss this > with Arnaud (NUT project leader), but he is on holiday currently. > > Anyway, there is not specific instructions for building NUT on Windows. You > just need a working MingGW/MSYS environnement, then execute "./autogen.sh", > "./configure", "make" and maybe "make install" just like for other Unix. > The hard part for Windows build is getting the dependencies you need which > sometimes requires to build them which might requires to get other > dependencies and so on. > > Regards, > Fred > > -- > Eaton Opensource Team - http://opensource.eaton.com > > > > ----------------------------- > > ----------------------------- > > ________________________________________ > From: nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org > [nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org] on > behalf of Lee Thompson [[email protected]] > Sent: Friday, August 24, 2012 9:41 PM > To: [email protected] > Subject: [Nut-upsuser] Perhaps a Complicated Question > > My network at home/home office is primarily a Windows environment. > However, I have 3 ReadyNAS Ultra machines which use NUT for UPS > monitoring. > > The ReadyNAS devices are running a slightly modified Debian > (2.6.37.6.RNx86_64.2.4) with NUT 2.0.5. > > What I would like to do is add some sort of web-based UPS monitoring on > my intranet web server (IIS 7.5 on 2008 R2), however nut-cgi appears to > be missing from the Windows distribution. > > It appears that I need to compile my own copy of NUT on windows with > nut-cgi enabled but I am unsure how to do this as there don't appear to > be any Windows build instructions. > > > > -- > Lee Thompson > [email protected] > -- Lee Thompson [email protected] _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

