Just made it, to compile this under cygwin yay
But to do so, I had to adjust the make file slightly.
I've added a comment to the commit how / why: das-peter@4e88987#commitcomment-954054
Thank you very much for this handy tool & best regards
Fixed make issue with cygwin. Similar to this: http://lists.opensuse.…
If you try to compile this using cygwin you might get an error like this:
cc -Wall -Wno-unused -pedantic -lGeoIP -o geoip geoip.c
/tmp/ccmbUZq8.o:geoip.c:(.text+0x1f): undefined reference to `_GeoIP_open_type'
/tmp/ccmbUZq8.o:geoip.c:(.text+0x8e): undefined reference to `_GeoIP_record_by_addr'
/tmp/ccmbUZq8.o:geoip.c:(.text+0x179): undefined reference to `_GeoIP_record_by_addr'
collect2: ld returned 1 exit status
Makefile:8: recipe for target `geoip' failed
make: *** [geoip] Error 1
With the above change the error was gone.
Frankly speaking I've no clue why, mainly because I've no clue about compiling at all =)
The following article encouraged me to give the change above a shot: http://lists.opensuse.org/opensuse-buildservice/2009-12/msg00173.html
Are you able to run varnish on cygwin? That's interesting.
Wow, nice reaction time :)
There are some special steps documented about how to use varnish with cygwin (and even compile it): https://www.varnish-cache.org/trac/wiki/VarnishOnCygwinWindows
So far it looks like everything works.