osx-yosemite

PHP warning on Mac mini running Yosemite 10.10.5

∥☆過路亽.° 提交于 2019-12-02 04:26:10
When I type php -v in the terminal on my mac mini I get the following error message: "PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pdo_pgsql.so' - dlopen(/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pdo_pgsql.so, 9): image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/Server.app/Contents/ServerRoot/usr/lib/php/extensions/no-debug-non-zts-20100525/pgsql.so' - dlopen(/Applications

Text input fields in Swing stop working on OS X when holding keys down

本小妞迷上赌 提交于 2019-12-02 04:16:49
I discovered a strange problem with Swing text input fields on OS X Yosemite (using Oracle JDK 8). When I hold down any letter or number key while a text input field has the focus, I can afterwards no longer enter anything in any field of the current JFrame. I then have to close the frame and reopen it to be able again to enter text. The default behaviour in OS X is to bring up a small menu to choose special letters from when holding down a key for a longer time. I guess that the Swing inputs do have a problem with that. Did anyone else also notice this, and is there a solution to this problem

gem install therubyracer -v 0.11.4 fails on OS X 10.10

不问归期 提交于 2019-12-01 17:18:13
问题 Following the steps here "gem install therubyracer -v '0.10.2'" on osx mavericks not installing, I was able to get therubyracer -v 0.10.2 and 0.12.0 to install fine, but not 0.11.4. gem install therubyracer -v 0.11.4 Returns: Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/thooper/.rbenv/versions/2.1.2/bin/ruby -r ./siteconf20150102-7132-9ct9a4.rb extconf.rb creating Makefile Compiling v8 for x64

OSX Safari Frame Load Interrupted

淺唱寂寞╮ 提交于 2019-12-01 13:42:30
问题 I have a basic HTML website (with some javascript) using a simple anchor tag to download a file like so: <a href="../resources/mexml/MexmlSamples-1.0.zip">Mexml Samples 1.0</a> In order to track the number of downloads, I have an onclick handler that passes an event to Google Analytics like so: $('#mybutton').click(function(e){ga('send','event','Download','MexmlSample','MexmlSample-1.0');}); This works as expected when downloading the file using Chrome on OS X, and IE on Windows 7. The file

Install JDK 1.5 in OSX 10.10 Yosemite

旧城冷巷雨未停 提交于 2019-12-01 11:03:39
I use OS X Yosemite (10.10.2) and I have to use JDK 1.5 for legacy application development. I found this post which refers to this script to install JDK 4,5,6 in Lion and Mavericks. In comments I found this two lines /usr/libexec/PlistBuddy -c "Set :JavaVM:JVMMaximumFrameworkVersion 14.*.*" ./Resources/Info.plist /usr/libexec/PlistBuddy -c "Set :JavaVM:JVMMaximumSystemVersion "$osx_version".*" ./Resources/Info.plist have to be changed by /usr/libexec/PlistBuddy -c "Delete :JavaVM:JVMMaximumFrameworkVersion" ./Resources/Info.plist /usr/libexec/PlistBuddy -c "Delete :JavaVM

Dnsmasq stopped working for no reason

坚强是说给别人听的谎言 提交于 2019-12-01 09:56:32
I started using Dnsmasq on OSX Yosemite to resolve all *.dev domains to 192.168.10.10 IP address, which is Laravel Homestead's default. It worked for me, but after sleeping and waking my Macbook, it stopped working. I have followed steps of this tutorial , at first and it worked. It seems like all needed files are still there, but now when I go to anything.dev , it loads forever and then timeouts. I do have a dev file at /etc/resolver with following content: nameserver 192.168.10.10 Please help. 来源: https://stackoverflow.com/questions/32091959/dnsmasq-stopped-working-for-no-reason

Dnsmasq stopped working for no reason

天涯浪子 提交于 2019-12-01 09:54:44
问题 I started using Dnsmasq on OSX Yosemite to resolve all *.dev domains to 192.168.10.10 IP address, which is Laravel Homestead's default. It worked for me, but after sleeping and waking my Macbook, it stopped working. I have followed steps of this tutorial, at first and it worked. It seems like all needed files are still there, but now when I go to anything.dev , it loads forever and then timeouts. I do have a dev file at /etc/resolver with following content: nameserver 192.168.10.10 Please

Unable to install Cocoapods on Yosemite DP 7

醉酒当歌 提交于 2019-12-01 07:34:17
I am having trouble installing Cocoapods on Yosemite DP 7 installed on a separate partition. I already attempted following the instructions found on Cocoapods with Xcode 6 and 10.10 Yosemite and in the issue( https://github.com/CocoaPods/CocoaPods/issues/2219 ) closed due to the same solution proposed on the Stack Overflow link. I continue to get the following error: Rasmuss-MacBook-Pro:~ rasmusth$ sudo gem install cocoapods Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. "/System/Library/Frameworks/Ruby

Unable to sign app bundle using Qt frameworks on OS X 10.10

試著忘記壹切 提交于 2019-12-01 06:41:57
I am having trouble signing Qt Based application un OS X. I am using Qt 5.3.2. I have read various information source that contain contradictory information. Here is the content of my application bundle after I run the bin/macdeployqt Qt utility SimpleHello.app/ Contents/ Info.plist PkgInfo Frameworks/ QtCore.framework/ Resources/ Versions/ 5/ QtCore QtGui.framework/ ... same as Qt core QtPrintSupport.framework/ ... same as Qt core QtWidgets.framework/ ... same as Qt core MacOS/ SimpleHello PlugIns/ ... some plugins Resources/ empty.lproj qt.conf First: I tried: http://successfulsoftware.net

Setting environment variables in Yosemite

若如初见. 提交于 2019-12-01 05:54:49
What is the proper way to modify environment variables like PATH in Yosemite? This is this question Setting environment variables in OS X? but specifically for yosemite since it doesn't work anymore. Have you tried editing ~/.bash_profile ? Adding a line like this to bash_profile ought to do it: export PATH=/usr/local/bin:$PATH What shell are you using? I'm assuming you're using the default Bash shell. There's also Csh, Ksh, and Zsh. The Terminal.app on Mac OS X by default starts a new login shell each time a window is open. This means that $HOME/.bash_profile or $HOME/profile is always