osx-mavericks

Thrift Ruby gem

青春壹個敷衍的年華 提交于 2019-11-30 02:48:29
问题 I cannot, for the life of me, successfully run "gem install thrift", the thing fails when building the gem's native extensions; this is the output: (acib708) ~ -> gem install thrift Building native extensions. This could take a while... ERROR: Error installing thrift: ERROR: Failed to build gem native extension. /Users/acib708/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb extconf.rb:25:in `<main>': Use RbConfig instead of obsolete and deprecated Config. extconf.rb:25:in `<main>': Use

localhost doesn't execute php files after update to Maverick/Yosemite OS

南笙酒味 提交于 2019-11-30 01:41:45
So I've upgraded to Mavericks (or maybe Yosemite) yesterday but now I only get a view of my directory when I visit localhost but the included index.php isn't executed anymore. I have to uncommented the virtualhosts line in /etc/apache2/httpd.conf # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf so my virtual hosts work but php doesn't get executed. Found the solution: Have to uncomment this line in /etc/apache2/httpd.conf as well: LoadModule php5_module libexec/apache2/libphp5.so Don't forget to restart Apache after changes: sudo apachectl restart This did the trick for me:

EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

断了今生、忘了曾经 提交于 2019-11-29 23:51:37
My application crashes each and every time I try to step over a call. Without debugger it works fine. Also, when I run the app in simulator it woks fine with or without debugger. Recently I upgraded my Mac OS X 10.8 to 10.9 (Mavericks). There were no issues before the upgrade. What causes the issue and how could I fix it? Below is the back trace. My app uses ARC. I have enabled zombies and added exception breakpoint but no zombies where detected and exception breakpoint is never triggered. * thread #1: tid = 0x2503, 0x00000000, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code

How can I make an “appearance file” for NSAppearance?

三世轮回 提交于 2019-11-29 23:07:49
I was reading the Cocoa documentation and stumbled across some new features in the 10.9 API. From the docs I gather that the NSAppearance class and a related protocol NSAppearanceCustomization Appear to be a means of customizing the appearance of NSView and its descendants. An NSAppearance object represents a file that specifies a standard or custom appearance that applies to a subset of UI elements in an app. An app can contain multiple appearance files and—because NSAppearance conforms to NSCoding—you can use Interface Builder to assign UI elements to an appearance. Typically, you customize

nginx startup fail on mac osx 10.9 mavericks

▼魔方 西西 提交于 2019-11-29 23:00:23
I've been using nginx for a few months without issue, but after upgrading to Mac OS X 10.9 Mavericks, when trying to start nginx I get this: nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use) nginx: [emerg] still could not bind() I tried to follow these directions , but I'm not having much

Can't phpize or configure an extension in OS X 10.9 Mavericks

孤人 提交于 2019-11-29 20:48:18
I am trying to build the memcached extension on OS X 10.9 Mavericks for use with the built in PHP 5.4, initially I tried pecl install memcached but that threw the following. checking for zlib location... configure: error: memcached support requires ZLIB. Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are located ERROR: `/private/tmp/pear/install/memcached/configure' failed So I created a tmp directory and executed pecl download memcached , unzipped the code and cd'd to the appropriate directory. Trying to phpize it returned the following: grep: /usr/include/php

PHP Xdebug on OS X 10.9 Mavericks

痞子三分冷 提交于 2019-11-29 19:12:02
I'm having issues setting up my PHP development environment on OS X after installing OS X 10.9 Mavericks. Here is the command I am using to install. sudo pecl install xdebug downloading xdebug-2.2.3.tgz ... Starting to download xdebug-2.2.3.tgz (250,543 bytes) .....................................................done: 250,543 bytes 66 source files, building running: phpize grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP

Can't update Macports (with Mac OS X Mavericks)

你说的曾经没有我的故事 提交于 2019-11-29 18:45:27
After upgrading Mac OS X to newest version Mavericks, I attempted to selfupdate my Macports, but it failed: $ sudo port -v selfupdate ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 4925440 speedup is 46908.95 receiving file list ... done sent 36 bytes received 76 bytes 74.67 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.2.0 installed, MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs

MySQL Connector/C++ OS X 10.9 Mavericks and XCODE 5.0.2

天大地大妈咪最大 提交于 2019-11-29 18:05:18
I've upgraded to XCode 5.0.2 along with OS X 10.9 Mavericks and MYSQL 5.6.16 recently. Has anyone had any luck getting the MySQL Connector/C++ to compile and work properly with this setup? I've been linking with the distributed MySQL Connector/C++ library under Snow Leopard with no problem for a few years now, but when I shifted to the above mentioned setup, I have no luck. When I use the sql::Driver->connect I get EXC_BAD_ACCESS (code=EXC_I386_GPFLT) USING: XCode 5.0.2 Mavericks 10.9.2 MYSQL server 5.6.16 Mac OS X 10.7 (x86, 64-bit), DMG Archive MYSQL Connector/C++ Mac OS X 10.7 (x86, 64-bit)

PyQt4 on Mavericks with python 3

拈花ヽ惹草 提交于 2019-11-29 16:11:56
问题 I have made a python application in Xubuntu that I am currently trying to run on Mavericks. The project uses PyQt4 for it's GUI portion. I am currently trying to install PyQt4 on Mavericks and get the following error when I run brew install pyqt : Error: Qt currently requires --HEAD on Mavericks I have looked around for a solution to this or what this evens means. I have never seen this error before. So my next option was to try and install manually instead. I downloaded the project, went to