{"action":"created","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/174","labels_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/174/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/174/events","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/174","id":59923039,"number":174,"title":"Build on ubuntu 12.04","user":{"login":"weldpua2008","id":5720601,"avatar_url":"https://avatars.githubusercontent.com/u/5720601?v=3","gravatar_id":"","url":"https://api.github.com/users/weldpua2008","html_url":"https://github.com/weldpua2008","followers_url":"https://api.github.com/users/weldpua2008/followers","following_url":"https://api.github.com/users/weldpua2008/following{/other_user}","gists_url":"https://api.github.com/users/weldpua2008/gists{/gist_id}","starred_url":"https://api.github.com/users/weldpua2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weldpua2008/subscriptions","organizations_url":"https://api.github.com/users/weldpua2008/orgs","repos_url":"https://api.github.com/users/weldpua2008/repos","events_url":"https://api.github.com/users/weldpua2008/events{/privacy}","received_events_url":"https://api.github.com/users/weldpua2008/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-05T09:01:45Z","updated_at":"2016-01-30T02:13:58Z","closed_at":"2015-11-22T13:25:08Z","body":"Hello,\r\nI builded spdylay:  is not packaged in Ubuntu, so you need to build it yourself: http://tatsuhiro-t.github.io/spdylay/\r\n\r\nI installed gcc 4.9/4.8 on Ubuntu 12.04 with http://askubuntu.com/questions/271388/how-to-install-gcc-4-8/271561#271561\r\n(There are: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test gcc 4.8.1/4.9.2)\r\n\r\nBut when I build nghttp2 there is error:\r\n```\r\nmake[3]: Entering directory `/root/nghttp2/src'\r\n  CXX    util.o\r\nIn file included from util.cc:47:0:\r\ntemplate.h:70:9: error: expected nested-name-specifier before ‘ResultType’\r\ntemplate.h:70:9: error: using-declaration for non-member at class scope\r\ntemplate.h:70:20: error: expected ‘;’ before ‘=’ token\r\ntemplate.h:70:20: error: expected unqualified-id before ‘=’ token\r\ntemplate.h:72:28: error: there are no arguments to ‘ResultType’ that depend on a template parameter, so a declaration of ‘ResultType’ must be available [-fpermissive]\r\ntemplate.h:72:28: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\ntemplate.h:72:29: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Signature> struct std::function’\r\ntemplate.h:72:29: error:   expected a type, got ‘ResultType()’\r\nmake[3]: *** [util.o] Error 1\r\nmake[3]: Leaving directory `/root/nghttp2/src'\r\nmake[2]: *** [all-recursive] Error 1\r\nmake[2]: Leaving directory `/root/nghttp2/src'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/root/nghttp2'\r\nmake: *** [all] Error 2\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/comments/177047014","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/174#issuecomment-177047014","issue_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/174","id":177047014,"user":{"login":"p","id":125612,"avatar_url":"https://avatars.githubusercontent.com/u/125612?v=3","gravatar_id":"","url":"https://api.github.com/users/p","html_url":"https://github.com/p","followers_url":"https://api.github.com/users/p/followers","following_url":"https://api.github.com/users/p/following{/other_user}","gists_url":"https://api.github.com/users/p/gists{/gist_id}","starred_url":"https://api.github.com/users/p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p/subscriptions","organizations_url":"https://api.github.com/users/p/orgs","repos_url":"https://api.github.com/users/p/repos","events_url":"https://api.github.com/users/p/events{/privacy}","received_events_url":"https://api.github.com/users/p/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T02:13:58Z","updated_at":"2016-01-30T02:13:58Z","body":"OK!"}}