{"action":"created","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/108","labels_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/108/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/108/events","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/108","id":49251700,"number":108,"title":"Building on Cygwin","user":{"login":"GVdP-Travix","id":4688519,"avatar_url":"https://avatars.githubusercontent.com/u/4688519?v=3","gravatar_id":"","url":"https://api.github.com/users/GVdP-Travix","html_url":"https://github.com/GVdP-Travix","followers_url":"https://api.github.com/users/GVdP-Travix/followers","following_url":"https://api.github.com/users/GVdP-Travix/following{/other_user}","gists_url":"https://api.github.com/users/GVdP-Travix/gists{/gist_id}","starred_url":"https://api.github.com/users/GVdP-Travix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GVdP-Travix/subscriptions","organizations_url":"https://api.github.com/users/GVdP-Travix/orgs","repos_url":"https://api.github.com/users/GVdP-Travix/repos","events_url":"https://api.github.com/users/GVdP-Travix/events{/privacy}","received_events_url":"https://api.github.com/users/GVdP-Travix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-18T16:11:12Z","updated_at":"2015-12-24T05:49:50Z","closed_at":null,"body":"Hello,\r\nNewb here, but I wanted to say I had all kind of issues building nghttp2 on Cygwin, but was able to solve them and wanted to leave a message for posterity.\r\n\r\n1. Clang won't work. It stops with lots of errors like the following:\r\n ```\r\n.libs/nghttp2_pq.o:fake:(.debug_info+0xce): relocation truncated to fit: R_X86_64_32 against `.debug_ranges'\r\n\r\n.libs/nghttp2_map.o:fake:(.debug_info+0xea): relocation truncated to fit: R_X86_64_32 against `.debug_ranges'\r\n\r\n.libs/nghttp2_map.o:fake:(.debug_info+0x2b5): relocation truncated to fit: R_X86_64_32 against `.debug_ranges'\r\n\r\n.libs/nghttp2_map.o:fake:(.debug_info+0x2db): relocation truncated to fit: R_X86_64_32 against `.debug_ranges'\r\n\r\n.libs/nghttp2_frame.o:fake:(.debug_info+0xcd5): relocation truncated to fit: R_X86_64_32 against `.debug_ranges'\r\n\r\n ```\r\n2. It needed libspdylay (which I built from scratch), even if configure didn't find it\r\n3. It needed libjansson (which I built from scratch), even if configure didn't find it\r\n4. Use of strptime needs the flag ```__STRICT_ANSI__``` undeclared.\r\n\r\nI was finally able to build it after building libspdylay, libjansson, with\r\n```./configure --prefix=/usr/local CXXFLAGS=-U__STRICT_ANSI__```\r\n\r\nWhy would configure say it wasn't building with jansson and spylay, but the compiler complain if they weren't present?\r\n\r\nThx\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/comments/167046474","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/108#issuecomment-167046474","issue_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/108","id":167046474,"user":{"login":"ayanamist","id":406779,"avatar_url":"https://avatars.githubusercontent.com/u/406779?v=3","gravatar_id":"","url":"https://api.github.com/users/ayanamist","html_url":"https://github.com/ayanamist","followers_url":"https://api.github.com/users/ayanamist/followers","following_url":"https://api.github.com/users/ayanamist/following{/other_user}","gists_url":"https://api.github.com/users/ayanamist/gists{/gist_id}","starred_url":"https://api.github.com/users/ayanamist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayanamist/subscriptions","organizations_url":"https://api.github.com/users/ayanamist/orgs","repos_url":"https://api.github.com/users/ayanamist/repos","events_url":"https://api.github.com/users/ayanamist/events{/privacy}","received_events_url":"https://api.github.com/users/ayanamist/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T05:49:50Z","updated_at":"2015-12-24T05:49:50Z","body":"@tatsuhiro-t sorry to bother, but i test 1.6 release today, found strange thing, from my config.log and config.status i see` #define HAVE_INITGROUPS 1` so it still try to compile `initgroups` related code and fails.\r\n\r\nThe whole config.log is here: http://pastebin.com/NutP3kdj"}}