osx-yosemite

Can't load X11 in R after OS X Yosemite upgrade

南楼画角 提交于 2019-12-17 15:34:29
问题 Running into the following error when I try to use ggplot2 and plot within the console after upgrading to Yosemite: Error in (function (display = "", width, height, pointsize, gamma, bg, : X11 module cannot be loaded In addition: Warning message: In (function (display = "", width, height, pointsize, gamma, bg, : unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so': dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded:

MySQL does not start when upgrading OSX to Yosemite or El Capitan

余生颓废 提交于 2019-12-17 15:21:41
问题 I know similar questions exist, such as MySQL with MAMP does not work with OSX Yosemite 10.10. However, I do have MAMP, nor XAMPP installed on my computer. When I try to start mySQL from the PrefPane, nothing happens. When I try to start mqSQL from the command line via sudo /usr/local/mysql/support-files/mysql.server start I get: Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/mysql/data/adamg.local.pid). Any and all help would be appreciated. I can supply any

Autostart MySQL Server on Mac OS X Yosemite/El Capitan

南笙酒味 提交于 2019-12-17 10:07:56
问题 I would like to auto start the MySQL server on startup. This was possible in Mavericks but seems to be not working on Yosemite. edit : seems this works with El Capitan as well 回答1: @dcc was very close. This is how MySQL autostarts again on Yosemite: The com.mysql.mysql.plist in /Library/LaunchDaemons : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KeepAlive</key>

Swift Xcode Index Freezing or Slow

懵懂的女人 提交于 2019-12-17 08:18:30
问题 Maybe this is just me experiencing such an annoying "feature": After upgrading from Xcode 6.0.1 to Xcode 6.1, things changed. Xcode 6.1 is forever indexing the project or compiling source files. The project is not a huge one. It just contains a bunch of Swift files and AWS SDK 2.0 Cocoapods in the workspace. I don't think it should prevent the whole to index and compile smoothly. I tried with some aws-sdk-ios-samples, just to see how Xcode 6.1 works on them, and it ended up in the same

Swift Xcode Index Freezing or Slow

大城市里の小女人 提交于 2019-12-17 08:18:11
问题 Maybe this is just me experiencing such an annoying "feature": After upgrading from Xcode 6.0.1 to Xcode 6.1, things changed. Xcode 6.1 is forever indexing the project or compiling source files. The project is not a huge one. It just contains a bunch of Swift files and AWS SDK 2.0 Cocoapods in the workspace. I don't think it should prevent the whole to index and compile smoothly. I tried with some aws-sdk-ios-samples, just to see how Xcode 6.1 works on them, and it ended up in the same

How to get Ruby / Homebrew / RVM to work on Yosemite?

二次信任 提交于 2019-12-17 08:05:21
问题 After installing Yosemite, I was unable to run brew or ruby. I was getting this error on brew update: /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0 getting this error on irb: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in mkdir': Permission denied - /Library

pip install: Please check the permissions and owner of that directory

有些话、适合烂在心里 提交于 2019-12-17 05:22:55
问题 While installing pip and python I have ran into a that says: The directory '/Users/Parthenon/Library/Logs/pi' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag. because I now have to install using sudo . I had python and a handful of libraries already installed on my Mac, I'm running Yosemite. I recently had to do a clean wipe and then

pip install: Please check the permissions and owner of that directory

扶醉桌前 提交于 2019-12-17 05:22:06
问题 While installing pip and python I have ran into a that says: The directory '/Users/Parthenon/Library/Logs/pi' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag. because I now have to install using sudo . I had python and a handful of libraries already installed on my Mac, I'm running Yosemite. I recently had to do a clean wipe and then

Yosemite / El Capitan php-gd + mcrypt installation

£可爱£侵袭症+ 提交于 2019-12-17 03:53:19
问题 How to install/enable php-gd and mcrypt in Yosemite 10.10 - PHP 5.5.14 build? note that following steps install newest PHP 5.5.x To check if you have gd and mcrypt installed use $ php -m to display compiled in modules, continue if you are missing desired modules and please see accepted answer . GD So, Apple installed GD (and you're using their build of PHP, which is fine), but did not include support for PNG. You are definitely missing "full" gd (with png support) module if:

osx 10.10 Curl POST to HTTPS url gives SSLRead() error

三世轮回 提交于 2019-12-17 02:30:59
问题 I just recently upgraded to OSX 10.10 Yosemite and I since the upgrade I can't do Curl POST to a SSL url anymore. I first used wordpress's wp_remote_request call and also tried to use curl in php. Both (as expected) give the same error message: Error Number:56 Error String:SSLRead() return error -9806 Note: when I curl POST to HTTP it works fine. I reckon it is a setting in PHP.ini or in my apache (I lost my original HTTPD.conf file after upgrade...). Can anyone help me out? 回答1: I've seen