osx-mavericks

XCode 5.x + Maverick crashes on File operations

风格不统一 提交于 2019-12-05 06:32:59
after updating my OS to Maverick, Xcode 5.01 started to crash every time a "file operation" is attempted. With file operation I mean any operation that requires a file picker window to appear (e.g.: distribute an .ipa, add a file to the project, open a new project, etc) with a delay wich goes from seconds to split seconds. The error is always the same: Process: Xcode [2802] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 5.0.1 (3335.23) Build Info: IDEApplication-3335023000000000~2 App Item ID: 497799835 App External ID: 84192765 Code Type: X86-64

Psycopg2 install with pip works but cannot import module on OS X 10.9

不问归期 提交于 2019-12-05 06:32:23
I've installed psycopg2 with pip install psycopg2 and it worked just fine. The install output had a couple of warning along the lines of In file included from ./psycopg/psycopg.h:33: ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function] static void Dprintf(const char *fmt, ...) {} ^ 1 warning generated. but in the end it says Successfully installed psycopg2 and it also appears when I run pip list . Now when I try to import it in python I get an error: $ python Python 2.7.5 (default, Aug 25 2013, 00:04:04) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on

installing opencv for python on mavericks

若如初见. 提交于 2019-12-05 05:45:11
I am trying to install opencv on a Macbook Pro late 2013 with mavericks. I didn't find any binaries so I am trying to build it. I tried http://www.guidefreitas.com/installing-opencv-2-4-2-on-mac-osx-mountain-lion-with-python-support and http://forums.udacity.com/questions/100021223/installing-opencv-on-os-x-mountain-lion when calling make the error 2 is produced (CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:208) When searching on this website I found opencv for python on mavericks (I also tried homebrew which also produced error 2, but without any further information) I

How to compile PHP with OpenSSL on OS X 10.9?

与世无争的帅哥 提交于 2019-12-05 05:14:10
I'm trying to compile PHP 5.6.10 from the source, and I encountered the following problem: Undefined symbols for architecture x86_64: "_PKCS5_PBKDF2_HMAC", referenced from: _zif_openssl_pbkdf2 in openssl.o "_TLSv1_1_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_1_server_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_client_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o "_TLSv1_2_server_method", referenced from: _php_openssl_setup_crypto in xp_ssl.o ld: symbol(s) not found for architecture x86_64 clang: error: linker

package com.google.protobuf does not exist on OS X Maverick

浪尽此生 提交于 2019-12-05 02:51:27
I am on OS X Mavericks and starting learning about protobuf, i download the example from https://code.google.com/p/protobuf/downloads/list I am successfully able to create the .java file from the proto but while compiling the existing java code using make java, i am getting following error com/example/tutorial/AddressBookProtos.java:91: package com.google.protobuf does not exist com.google.protobuf.GeneratedMessage ^ com/example/tutorial/AddressBookProtos.java:12: package com.google.protobuf does not exist extends com.google.protobuf.MessageOrBuilder { ^ com/example/tutorial/AddressBookProtos

Running Eclipse on Mac - JVM Version 1.7 or greater is required

匆匆过客 提交于 2019-12-05 01:44:14
I downloaded Eclipse (specifically that for C/C++ Programming) for Mac, running OSX Mavericks. When I try to start Eclipse, it gives me this message: "Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required", and it doesn't open. I installed Java version 7, but nothing changed. I don't know how else to update the JVM (I don't know much about Java in general). I downloaded the 64-bit version for my MacBook Air, if that matters. Simply Install the JDK 7 or JDK 8, and not just the latest JRE. Run whereis java in a Terminal. It will normally display

Creating an OS X authentication plugin

雨燕双飞 提交于 2019-12-05 01:30:15
问题 I need to create a plugin for OS X login mechanism so that I can unlock the screen other way than by typing a password. I know things like this already exist - Knock to unlock or Rohos USB key logon are examples. I found the sample code on ADC called "NameAndPassword" (https://developer.apple.com/library/mac/samplecode/NameAndPassword/Introduction/Intro.html), and after some struggle (Custom login/lock screen in OS X Mavericks) I managed to build and install it on Mavericks. The problem is

sudo pecl install apc error on os x lion

一曲冷凌霜 提交于 2019-12-05 00:02:30
I tried installing APC with pecl on OS X Lion ( sudo pecl install apc ) and it complained about a missing pcre.h file: In file included from /private/tmp/pear/temp/APC/apc.c:44: /usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not found #include "pcre.h" So I used MacPorts to install the pcre package ( sudo port install pcre ) but it still complains. How can I fix this? I think this is because MacPorts installs the header files in a different location from where pecl expects them. To fix this error, I symlinked pcre.h to /usr/include : sudo ln -s /opt/local/include/pcre.h

Is it possible to create an app iOS 4 - iOS 7 compatible with Xcode 5.0.2 on Mavericks?

℡╲_俬逩灬. 提交于 2019-12-04 23:52:27
问题 I need to develop an app who support iOS 4 - iOS 7, is it possible to do it on XCode 5.0.2 on Mavericks? The lowest deployment target xcode provide me is iOS 6. 回答1: In Project > Target > Build Settings > Architectures: change the Architectures from Standard Architectures (including 64-bit) to Standard Architectures ,or if you want to support older devices, type armv6 armv7 armv7s in Others Then, you can change the deployment target to lower versions (just type 4.0 or 4.3 in the Deployment

Mamp 3 - apache won't start on port 8888

℡╲_俬逩灬. 提交于 2019-12-04 16:57:58
Running Mavericks and I just upgraded to Mamp 3. I can't get apache to start using the default port of 8888. Runs fine on port 80, and all ran smoothly using Mamp 2. Restarting Apache using SUDO doesn't work. I used "sudo apachectl stop" but this had no effect. Error logs show nothing. when I switch to port 80 and MySQL port 3306, it all starts, but I don't want it to use port 80. Thanks. i have found this solution it worked for me i hope it helps you : Just navigate to /Applications/MAMP/bin/apache2/bin using Finder, and rename envvars to _envvars (yes, just add the underscore). Boom! Done