Go to Post ...why do programmers have a nesting habit? - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-09-2015, 22:37
vigneshv vigneshv is offline
Registered User
FRC #2489
 
Join Date: Jan 2014
Location: United States
Posts: 53
vigneshv is on a distinguished road
FRC Toolchain in OS X El Capitan

I have the developer beta of OS X El Capitan installed, and found that the FRC Toolchain does not work. I think this is primarily due to system integrity protection/rootless, but I am not 100% sure. Has anybody gotten the toolchain working on El Capitan yet? I'd prefer not to disable system integrity protection.
  #2   Spotlight this post!  
Unread 03-09-2015, 11:22
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: FRC Toolchain in OS X El Capitan

Which FRC toolchain are you referring to? I'll assume you're talking about C++ as that's probably the one causing issues with a rootless environment.

First, I don't know why you'd want to keep System Integrity Protection unless you don't trust yourself. To me, it seems to be more of a "users are dumb and need to be protected from themselves" feature.

As far as workarounds, you could try putting the toolchain somewhere in your home directory. I'm not sure how the FRC official one works, but you can take a look at the debian packages here or my homebrew packages to get an idea of how to build it from source yourself if need be.

Lastly, homebrew by default will chown /usr/local to your user so that it need not be run with sudo every time. This means that, once installed, it might work with System Integrity Protection enabled. That said, installing it would probably require it to be disabled.

Personally, I would just disable it, so long as you trust yourself to be an administrator on your own computer.

Best of luck, let us know how it goes.

EDIT: You can also change the default install path for homebrew to be within your home directory, so if it doesn't work out of the box, that would be my go-to option; change homebrew's install path to somewhere in your home directory and use my homebrew ports to install the toolchain.
__________________
Team 662 - Student/Programming VP/Driver - (2011-2013) - 43-31-2
Team 662 - Mentor - (2015-present) - 0-0-0

Last edited by CodeYeti : 03-09-2015 at 11:24.
  #3   Spotlight this post!  
Unread 24-10-2015, 13:57
DiverJim DiverJim is offline
Lead Mentor Team 442
FRC #0442 (Redstone Robotics)
Team Role: Mentor
 
Join Date: Aug 2015
Rookie Year: 2008
Location: Huntsville Al
Posts: 1
DiverJim is an unknown quantity at this point
Re: FRC Toolchain in OS X El Capitan

If your not on the Beta Test teams, is there a way to install the tool chain? I'm trying to teach a few teams C++ in my area and stupidly updated last night and now I'm hosed...

Thanks
Jim
  #4   Spotlight this post!  
Unread 27-10-2015, 12:57
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: FRC Toolchain in OS X El Capitan

Unless you want to disable system integrity mode, no.

If you don't mind disabling system integrity mode, then that should work: http://www.macworld.com/article/2986...l-capitan.html
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi