{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/981","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/981/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/981/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/981/events","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/981","id":143269692,"number":981,"title":"multiple errors when installing erlang","user":{"login":"aidylewis","id":6703997,"avatar_url":"https://avatars.githubusercontent.com/u/6703997?v=3","gravatar_id":"","url":"https://api.github.com/users/aidylewis","html_url":"https://github.com/aidylewis","followers_url":"https://api.github.com/users/aidylewis/followers","following_url":"https://api.github.com/users/aidylewis/following{/other_user}","gists_url":"https://api.github.com/users/aidylewis/gists{/gist_id}","starred_url":"https://api.github.com/users/aidylewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidylewis/subscriptions","organizations_url":"https://api.github.com/users/aidylewis/orgs","repos_url":"https://api.github.com/users/aidylewis/repos","events_url":"https://api.github.com/users/aidylewis/events{/privacy}","received_events_url":"https://api.github.com/users/aidylewis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T15:00:26Z","updated_at":"2016-03-24T20:45:37Z","closed_at":null,"body":"I am on Ubuntu 14.04 (EC2 fresh instance) and I've installed Linuxbrew.\r\n\r\n```\r\n$ brew install erlang\r\n....\r\nchecking whether cairo's Xlib surface backend feature could be enabled... no (requires X development libraries)\r\nconfigure: error:  Xlib surface backend feature could not be enabled\r\n```\r\nSo, \r\n```\r\n$ brew install cairo\r\n....\r\n/home/ubuntu/.linuxbrew/Cellar/cairo/1.14.6_1: 107 files, 6.2M, built in 1 minute 53 seconds\r\n```\r\n\r\nAnd then again\r\n```\r\n$ brew install erlang\r\n...\r\n==> Installing erlang dependency: sqlite\r\n==> Downloading https://sqlite.org/2016/sqlite-autoconf-3110000.tar.\r\ncurl: (60) SSL certificate problem: unable to get local issuer certificate\r\nMore details here: http://curl.haxx.se/docs/sslcerts.html\r\n...\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/comments/201013129","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/981#issuecomment-201013129","issue_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/981","id":201013129,"user":{"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},"created_at":"2016-03-24T20:45:37Z","updated_at":"2016-03-24T20:45:37Z","body":"> configure: error:  Xlib surface backend feature could not be enabled\r\n\r\nTry\r\n```sh\r\nbrew install linuxbrew/xorg/xorg\r\nbrew install cairo --with-x11\r\nbrew install erlang\r\n```\r\n\r\n> `curl: (60) SSL certificate problem: unable to get local issuer certificate`\r\n\r\n```sh\r\nbrew install curl\r\n```\r\n\r\nIf that doesn't work, report\r\n\r\n```sh\r\nbrew gist-logs erlang\r\n```\r\n"}}