{"action":"opened","issue":{"url":"https://api.github.com/repos/nghttp2/nghttp2/issues/674","repository_url":"https://api.github.com/repos/nghttp2/nghttp2","labels_url":"https://api.github.com/repos/nghttp2/nghttp2/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/nghttp2/nghttp2/issues/674/comments","events_url":"https://api.github.com/repos/nghttp2/nghttp2/issues/674/events","html_url":"https://github.com/nghttp2/nghttp2/issues/674","id":173914310,"number":674,"title":"Installation issues on Solaris 11","user":{"login":"kazuho","id":41567,"avatar_url":"https://avatars.githubusercontent.com/u/41567?v=3","gravatar_id":"","url":"https://api.github.com/users/kazuho","html_url":"https://github.com/kazuho","followers_url":"https://api.github.com/users/kazuho/followers","following_url":"https://api.github.com/users/kazuho/following{/other_user}","gists_url":"https://api.github.com/users/kazuho/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuho/subscriptions","organizations_url":"https://api.github.com/users/kazuho/orgs","repos_url":"https://api.github.com/users/kazuho/repos","events_url":"https://api.github.com/users/kazuho/events{/privacy}","received_events_url":"https://api.github.com/users/kazuho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T02:12:15Z","updated_at":"2016-08-30T02:12:15Z","closed_at":null,"body":"When trying to install nghttp2 on Solaris 11.3 (x86-64) I found several issues:\r\n\r\n* lack of `-lsocket -lnsl` lead to link errors\r\n* compile errors due to the result of `c_str()` implicitly converted to `char *` (without `const`)\r\n* use of `std::isfinite` causing an error in h2load.cc\r\n\r\nFinally, I succeeded in installing the program using following options: `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr/local --enable-app LDFLAGS='-L/usr/local/lib -lsocket -lnsl' CFLAGS='-m64 -I/usr/local/include -O2 -Wall' CXXFLAGS='-m64 -I/usr/local/include -O2 -Wall -fpermissive'`, with invocations of `std::isfinite` in h2load.cc changed to `__builtin_isfinite`.\r\n\r\nNote: I used gcc 4.8.2 which was installed by `pkg install gcc`. I did not use any software provided by opencsw.\r\n\r\nI do not believe that cause of the all issues are within nghttp2 nor that they should be fixed on nghttp2's side. But anyways I'm leaving this issue in hope that at least it would help others trying to install the software on Solaris."}}
{"actor":{"display_login":"kazuho"}}