{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/256","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/256/comments","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/256/events","html_url":"https://github.com/Homebrew/linuxbrew/issues/256","id":55316460,"number":256,"title":"google-perftools  2.4: Checking if nanosleep requires any libraries... configure: error: cannot find the nanosleep function","user":{"login":"LeeBergstrand","id":5819462,"avatar_url":"https://avatars.githubusercontent.com/u/5819462?v=3","gravatar_id":"","url":"https://api.github.com/users/LeeBergstrand","html_url":"https://github.com/LeeBergstrand","followers_url":"https://api.github.com/users/LeeBergstrand/followers","following_url":"https://api.github.com/users/LeeBergstrand/following{/other_user}","gists_url":"https://api.github.com/users/LeeBergstrand/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeBergstrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeBergstrand/subscriptions","organizations_url":"https://api.github.com/users/LeeBergstrand/orgs","repos_url":"https://api.github.com/users/LeeBergstrand/repos","events_url":"https://api.github.com/users/LeeBergstrand/events{/privacy}","received_events_url":"https://api.github.com/users/LeeBergstrand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-01-23T18:41:32Z","updated_at":"2015-05-26T12:21:01Z","closed_at":null,"body":"Linux Configuration\r\n\r\n------------------------------------------------------------------------------------------------------------------------------\r\n\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 14.04.1 LTS\r\nRelease:\t14.04\r\nCodename:\ttrusty\r\n\r\n--------------------------------------------------------------------------------------------------------------------------------\r\n\r\n```\r\nsyntax@JVHLabVM:~$ brew install google-perftools\r\n==> Downloading https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.4.tar.gz\r\nAlready downloaded: /home/syntax/.cache/Homebrew/google-perftools-2.4.tar.gz\r\n==> Patching\r\n==> ./configure --prefix=/home/syntax/.linuxbrew/Cellar/google-perftools/2.4\r\nchecking for __builtin_expect()... yes\r\nchecking for __environ... yes\r\nchecking for __thread... yes\r\nchecking if __malloc_hook is declared volatile... yes\r\nchecking if nanosleep requires any libraries... configure: error: cannot find the nanosleep function\r\n\r\nREAD THIS: https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/comments/105504578","html_url":"https://github.com/Homebrew/linuxbrew/issues/256#issuecomment-105504578","issue_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/256","id":105504578,"user":{"login":"gawbul","id":321291,"avatar_url":"https://avatars.githubusercontent.com/u/321291?v=3","gravatar_id":"","url":"https://api.github.com/users/gawbul","html_url":"https://github.com/gawbul","followers_url":"https://api.github.com/users/gawbul/followers","following_url":"https://api.github.com/users/gawbul/following{/other_user}","gists_url":"https://api.github.com/users/gawbul/gists{/gist_id}","starred_url":"https://api.github.com/users/gawbul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawbul/subscriptions","organizations_url":"https://api.github.com/users/gawbul/orgs","repos_url":"https://api.github.com/users/gawbul/repos","events_url":"https://api.github.com/users/gawbul/events{/privacy}","received_events_url":"https://api.github.com/users/gawbul/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T12:21:01Z","updated_at":"2015-05-26T12:21:01Z","body":"I did the following `brew install -i google-perftools` and then included the c++ directory in the `CPPFLAGS ` as follows:\r\n\r\n```CPPFLAGS=\"-I/tf/people/sm1818/.linuxbrew/include -I/tf/people/sm1818/.linuxbrew/include/c++/4.9.2\" ./configure --prefix=/tf/people/sm1818/.linuxbrew/Cellar/google-perftools/2.4\r\n```"}}