Folks,
I am attempting to compile ganglia on a windows box using cygwin. I
wonder if anyone else has succeeded in this arena. I first got an error
that gcc could not find 'Packet32.h'. After searching the web, I
downloaded wpdpack.zip from the winpcap website assuming that this was
the correct package to get the files from. This did not seem to be
successful:
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I./dnet -g -O2 -Wall -c
`test -f ' eth-win32.c' || echo './'`eth-win32.c
In file included from /usr/include/Packet32.h:36,
from eth-win32.c:16:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and
associated macros have been defined in sys/types. This may cause
runtime problems with W32 sockets"
In file included from /usr/include/Packet32.h:36,
from eth-win32.c:16:
...
More importantly though, when I run ./configure I get 2 errors:
...
configure: WARNING: Iphlpapi.h: present but cannot be compiled
configure: WARNING: Iphlpapi.h: check for missing prerequisite headers?
configure: WARNING: Iphlpapi.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for Iphlpapi.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... yes
configure: WARNING: winsock2.h: present but cannot be compiled
configure: WARNING: winsock2.h: check for missing prerequisite headers?
configure: WARNING: winsock2.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
checking for winsock2.h... yes
...
Have I taken all the proper steps? Has anyone else had success with
ganglia on cygwin?
Thanks,
Ian
PS. I am looking forward to the patch for solaris.c that allows running
gmond an non-root users