osx-yosemite

Install Nokogiri on Yosemite 10.10.3

左心房为你撑大大i 提交于 2019-12-23 13:02:33
问题 I have: Mac OS X Yosemite 10.10.3 MacPorts (not Brew) Ruby 2 in system (not RVM) I want to install Nokogiri and tried: port install nokogiri and got: Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20150323-30174-1mqhl4i.rb extconf.rb checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused

Clang error while installing QuickCheck for GHC 7.8.3 on OS X Yosemite 10.10 (14A389)

岁酱吖の 提交于 2019-12-23 11:59:40
问题 While installing the QuickCheck for Haskell GHC 7.8.3 on a OS X Yosemite 10.10 (14A389) system running on a Mac Pro 2013 with Xcode 6.1 (6A1052d), I'm running into the following clang error: $ cabal install QuickCheck Resolving dependencies... Configuring primitive-0.5.4.0... Building primitive-0.5.4.0... Preprocessing library primitive-0.5.4.0... [ 1 of 10] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o ) [ 2 of 10]

Clang error while installing QuickCheck for GHC 7.8.3 on OS X Yosemite 10.10 (14A389)

烈酒焚心 提交于 2019-12-23 11:59:03
问题 While installing the QuickCheck for Haskell GHC 7.8.3 on a OS X Yosemite 10.10 (14A389) system running on a Mac Pro 2013 with Xcode 6.1 (6A1052d), I'm running into the following clang error: $ cabal install QuickCheck Resolving dependencies... Configuring primitive-0.5.4.0... Building primitive-0.5.4.0... Preprocessing library primitive-0.5.4.0... [ 1 of 10] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o ) [ 2 of 10]

OS X Yosemite (10.10) API for continuous speech recognition

*爱你&永不变心* 提交于 2019-12-23 10:04:05
问题 OSX has now had continuous speech recognition built in for several versions. It is remarkably good now. Does OSX 10.10 have an API for this continuous speech recognition engine? Googling tells me that circa 2009 there was only NSSpeechRecogniser (MS SAPI sdk equivalent on OSX) Can anyone confirm whether this is still the case? I'm asking because I am looking at building my own integrated UI, which would be a mix of Leap controller and speech input. If only I could use OSX's engine, this would

Can't open sublime text in tmux after upgrading to Yosemite

妖精的绣舞 提交于 2019-12-23 09:09:47
问题 On my Mac OS Yosemite, I can open a terminal and run subl and it opens Sublime Text. But, if I start a tmux session and run subl , I get the error: Unable to launch Sublime Text If I try: open -a "Sublime Text" I get the error: LSOpenURLsWithRole() failed for the application /Applications/Sublime Text.app with error -10810. 回答1: I found an answer for the same problem over in superuser. Unfortunately, there doesn't seem to be a solution to the problem at the moment. The link to the answer is

Error installing Ruby 1.9.2 on Yosemite

大兔子大兔子 提交于 2019-12-23 08:47:31
问题 I'm getting an error when installing ruby 1.9.2 with rvm on Yosemite. Could someone help me? I updated homebrew and rvm. I'm working with someone else on this project so I can't upgrade ruby. I put a link to my output below. Thanks ahead of time! Kanyons-MacBook-Pro:~ USERNAME$ rvm install 1.9.2-head ruby-1.9.2-head - #removing src/ruby-1.9.2-head.. Checking requirements for osx. Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date. Requirements installation successful.

opencv (emgucv) not working in unity in osx?

痴心易碎 提交于 2019-12-23 06:00:43
问题 i am at the point, where i just would want to know if anybody out there has emguCV.unity running inside unity in osx? there are many tips concerning DllNotFoundExceptions and unity. all of them do not work in my case. i spent allmost four days searching and trying out everything. the exact error is: System.TypeInitializationException: An exception was thrown by the type initializer for Emgu.CV.OCR.OcrInvoke ---> System.TypeInitializationException: An exception was thrown by the type

GIT SSL error persist despite recommended fix for Mac OS X Yosemite

﹥>﹥吖頭↗ 提交于 2019-12-23 05:17:05
问题 I continue to get the error: SSL: certificate verification failed (result: 5) (128) on Yosemite despite following all directions found online to fix it. My current setup (HomeBrew) is: $ php --version PHP 5.5.20 (cli) (built: Jan 11 2015 20:00:36) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies $ curl --version curl 7.37.0 (x86_64-apple-darwin14.0.0) libcurl/7.37.0 OpenSSL/1.0.1k zlib/1.2.5 Protocols: dict file ftp ftps gopher http https

Activate different Python version in Terminal

风流意气都作罢 提交于 2019-12-23 01:28:28
问题 Just reformatted my Mac to Yosemite and installed Python 2 & 3 using Homebrew. I've also setup some aliases in my bash_profile file which allows me to activate which version of Python I want to use. So if I type p3, it'll launch the python3 shell. I'm wondering if it's possible to activate a specific version of Python without it starting the Python shell? So if I bring any files into the Terminal for instance, it'll use the version which I've activated? Cheers! Apologies if this has been

OS X Applescript to Check if Drive Mounted and Mount It If Not

我的梦境 提交于 2019-12-22 11:13:41
问题 I am trying to write an AppleScript that will check if a network drive (in this case, my Time Capsule) is mounted and, if not, mount it. I've figured out how to mount the Time Capsule, but I am at a loss over how to have the script check whether it is mounted first and just exit if it is, or mount it if not. tell application "Finder" mount volume "afp://AirPort%20Time%20Capsule._afpovertcp._tcp.local" end tell 回答1: Does that the job? set mountedDiskName to "AirPort Time Capsule" set