Building from source on Mac OS X 10.10 (Yosemite) fails
MacGPG2
Git commit: c0a6177ab6fa54b69daf905f70328b72321c189c
I originally reported this on Lighthouse but Steve asked me to post it here instead.
I'm not able to build MacGPG2 under Mac OS X Yosemite (10.10) and Xcode 6.1 with Command Line tools installed. I'm running make on that directory and I have the 'dev' branch checked out from the GitHub repo.
After running make I get:
==> Building MacGPG2 ./bin/brew:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby:
bad interpreter: No such file or directory ./bin/brew: line 21:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
Undefined error: 0 ./bin/brew:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby:
bad interpreter: No such file or directory ./bin/brew: line 21:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
Undefined error: 0 ./bin/brew:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby:
bad interpreter: No such file or directory ./bin/brew: line 21:
/Users/user/dev/projects/MacGPG2/build/homebrew/Library/brew.rb:
Undefined error: 0 Error: Build failed!
make: *** [MacGPG2] Error 1
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ike on 28 Oct, 2014 09:42 PM
Is nobody compiling their own binaries for GPGTools on Yosemite?
2 Posted by quwax on 04 Nov, 2014 02:07 PM
I have the same problem here with MacGPG2 :(
3 Posted by N on 17 Dec, 2014 02:22 AM
Same error here. I changed the script to rely on the system ruby (which is 2.0), and got this error:
Support Staff 4 Posted by Luke Le on 09 Jan, 2015 01:36 PM
Hi,
we've not yet started building MacGPG2 on Yosemite, but will try and see what this issue is about.
It should be possible to install version 1.8 of ruby from homebrew and create the necessary symlinks as a workaround.
Steve closed this discussion on 09 Jul, 2015 10:12 AM.
Steve closed this discussion on 30 Nov, 2017 03:21 PM.