jolie / release_tools

Release Tools
4 stars 3 forks source link

OS X 10.11, El Capitan installation not possible with SIP enabled. #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

It is not possible to install Jolie as described on the webpage in OS X 10.11, El Capitan. This is due to Apple having made 'usr/lib/' protected with System Integrity Protection (SIP) and users are not able to write to it even using sudo. Jolie can be installed as before if SIP is disabled.

Disableing SIP:

Start Mac in recovery mode - when starting up hold: cmd + r

In recovery mode open terminal (under utilities)

In terminal run command: csrutil disable

Then restart computer

Then Jolie can be installed as before

fmontesi commented 8 years ago

@thesave Argh.. :-(

@IlCakeBomber @thesave What's the correct way of installing system-level stuff on OS X now? I guess the brew people had to address this problem? (and all others trying to install stuff)

thesave commented 8 years ago

Thanks for reporting the issue @IlCakeBomber. A few days ago I committed an update for the download page of the Jolie website [1] with a FAQ on OS X 10.11. The gist of it is to use the "local" version of /usr/bin and /usr/lib. I tested that solution and it seems to work properly. I did not try the solution proposed by @IlCakeBomber. Maybe we can add it as an alternative in the related FAQ?

[1] https://github.com/jolie/website/commit/a98775bba5b6c4699935702109b6d1161454ce47

fmontesi commented 8 years ago

Is that how it's supposed to be done? If so, when we detect mac os x we should use that as default.

On Tue, Feb 16, 2016 at 8:39 AM, thesave notifications@github.com wrote:

Thanks for reporting the issue @IlCakeBomber https://github.com/IlCakeBomber. A few days ago I committed an update for the download page of the Jolie website [1] with a FAQ on OS X 10.11. The gist of it is to use the "local" version of /usr/bin and /usr/lib. I tested that solution and it seems to work properly. I did not try the solution proposed by @IlCakeBomber https://github.com/IlCakeBomber. Maybe we can add it as an alternative in the related FAQ?

[1] jolie/website@a98775b https://github.com/jolie/website/commit/a98775bba5b6c4699935702109b6d1161454ce47

— Reply to this email directly or view it on GitHub https://github.com/jolie/release_tools/issues/2#issuecomment-184561207.

thesave commented 8 years ago

AFAIK yes [1]. We can switch the defaults for OS X to /usr/local. I will check in the next days if that path is valid (existing and sourced) also in previous releases.

[1] https://support.apple.com/en-us/HT204899