{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4483","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4483/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4483/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4483/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4483","id":101051277,"number":4483,"title":"Haxe install does not work on OS X El Capitan","user":{"login":"jgranick","id":833997,"avatar_url":"https://avatars.githubusercontent.com/u/833997?v=3","gravatar_id":"","url":"https://api.github.com/users/jgranick","html_url":"https://github.com/jgranick","followers_url":"https://api.github.com/users/jgranick/followers","following_url":"https://api.github.com/users/jgranick/following{/other_user}","gists_url":"https://api.github.com/users/jgranick/gists{/gist_id}","starred_url":"https://api.github.com/users/jgranick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgranick/subscriptions","organizations_url":"https://api.github.com/users/jgranick/orgs","repos_url":"https://api.github.com/users/jgranick/repos","events_url":"https://api.github.com/users/jgranick/events{/privacy}","received_events_url":"https://api.github.com/users/jgranick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"waneck","id":178171,"avatar_url":"https://avatars.githubusercontent.com/u/178171?v=3","gravatar_id":"","url":"https://api.github.com/users/waneck","html_url":"https://github.com/waneck","followers_url":"https://api.github.com/users/waneck/followers","following_url":"https://api.github.com/users/waneck/following{/other_user}","gists_url":"https://api.github.com/users/waneck/gists{/gist_id}","starred_url":"https://api.github.com/users/waneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waneck/subscriptions","organizations_url":"https://api.github.com/users/waneck/orgs","repos_url":"https://api.github.com/users/waneck/repos","events_url":"https://api.github.com/users/waneck/events{/privacy}","received_events_url":"https://api.github.com/users/waneck/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-08-14T16:46:49Z","updated_at":"2015-08-28T16:51:36Z","closed_at":null,"body":"After upgrading from OS X 10.10 to 10.11, I found that `haxe` and `neko` no longer worked from the terminal.\r\n\r\nIt appears that \"/usr/lib\" and \"/usr/bin\" are no longer writeable, even with sudo permissions.\r\n\r\nWe need to install to \"/usr/local/lib\" and \"/usr/local/bin\" instead\r\n\r\nAfter manually installing there, things are working fine here :smile:"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/135830764","html_url":"https://github.com/HaxeFoundation/haxe/issues/4483#issuecomment-135830764","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4483","id":135830764,"user":{"login":"steverichey","id":3226635,"avatar_url":"https://avatars.githubusercontent.com/u/3226635?v=3","gravatar_id":"","url":"https://api.github.com/users/steverichey","html_url":"https://github.com/steverichey","followers_url":"https://api.github.com/users/steverichey/followers","following_url":"https://api.github.com/users/steverichey/following{/other_user}","gists_url":"https://api.github.com/users/steverichey/gists{/gist_id}","starred_url":"https://api.github.com/users/steverichey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverichey/subscriptions","organizations_url":"https://api.github.com/users/steverichey/orgs","repos_url":"https://api.github.com/users/steverichey/repos","events_url":"https://api.github.com/users/steverichey/events{/privacy}","received_events_url":"https://api.github.com/users/steverichey/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T16:51:36Z","updated_at":"2015-08-28T16:51:36Z","body":"I made some changes to @jgranick's script:\r\n\r\n````\r\n#!/bin/sh\r\n\r\nset -e\r\n\r\necho “Downloading Neko”\r\n\r\ncurl -O http://nekovm.org/media/neko-2.0.0-osx64.tar.gz\r\n\r\necho “Installing Neko”\r\n\r\nmkdir -p /usr/local/lib/neko\r\ntar xvzf neko-2.0.0-osx64.tar.gz -C /usr/local/lib/neko --strip-components=1\r\n\r\nln -s /usr/local/lib/neko/libneko.dylib /usr/local/lib/libneko.dylib\r\nln -s /usr/local/lib/neko/neko /usr/local/bin/neko\r\nln -s /usr/local/lib/neko/nekoc /usr/local/bin/nekoc\r\nln -s /usr/local/lib/neko/nekotools /usr/local/bin/nekotools\r\n\r\necho “Downloading Haxe”\r\n\r\ncurl -O http://haxe.org/website-content/downloads/3.2.0/downloads/haxe-3.2.0-osx.tar.gz\r\n\r\necho “Installing Haxe”\r\n\r\nmkdir -p /usr/local/lib/haxe\r\ntar xvzf haxe-3.2.0-osx.tar.gz -C /usr/local/lib/haxe --strip-components=1\r\n\r\nln -s /usr/local/lib/haxe/haxe /usr/local/bin/haxe\r\nln -s /usr/local/lib/haxe/haxelib /usr/local/bin/haxelib\r\n\r\nmkdir -p /usr/local/lib/haxe/lib\r\nchmod -R 777 /usr/local/lib/haxe/lib\r\nhaxelib setup /usr/local/haxe/lib\r\n````"}}