osx-mavericks

Having issues with Android Studio project after OS X 10.9 upgrade, error with cacerts

╄→尐↘猪︶ㄣ 提交于 2019-12-10 17:29:07
问题 I'm having problems loading up an Android Studio project I started in Mountain Lion (10.8) and am now trying to run in Mavericks (10.9) but when I open a project Gradle fails with the following error: Gradle 'SimpleTimeProject' project refresh failed: /Library/Java/JavaVirtualMachines/1.6.0_43-b01-447.jdk/Contents/Home/lib/security/cacerts (No such file or directory) I've checked the path listed there, everything exists like it should - but maybe specific certs are missing from the "cacerts"

Applescript application hangs on 10.9 when executing a shell command with administrator privileges

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 17:18:11
问题 I'm executing the following line in an Applescript application. set POSIX_path to "/Applications/iPhoto.app" do shell script "sudo rm -rfv " & quoted form of POSIX_path with administrator privileges The authentification screen pops up as it should but after authenticating the application just freezes upon executing this command. This problems only occurs in 10.9. When I set the permissions of the folder to be delete to "everyone can read & write" it works. Does anyone have a clue what has

Trying to Compile a C mex file in MatLab

末鹿安然 提交于 2019-12-10 16:18:54
问题 Hey trying to compile one C-file in MatLab, but I got this error and I'm trying to make sense of it. Any and all guidance is greatly appreciated. >> mex BDS_unpack_mex5.c xcrun: error: SDK "macosx10.7" cannot be located clang: warning: no such sysroot directory: '-mmacosx-version-min=10.7' BDS_unpack_mex5.c:17:10: fatal error: 'math.h' file not found #include <math.h> ^ 1 error generated. mex: compile of ' "BDS_unpack_mex5.c"' failed. Error using mex (line 206) Unable to complete successfully

python3 segmentation fault on osx mavericks

蓝咒 提交于 2019-12-10 15:17:01
问题 I have been experience segmentation faults when using Python3 on OS X Mavericks. Any suggestions on how to resolve this? I have tried to reinstall the package from the Python site, but this is ineffective. How would one recompile Python3 on the system? 回答1: http://www.python.org/download/releases/3.3.3/ you can follow the instructions on the main python page for a quick and permanent fix. cheers, 回答2: This problem exists because of this bug: http://bugs.python.org/issue18458. Basically,

Installing command line tools Xcode 5

无人久伴 提交于 2019-12-10 13:32:31
问题 I have tried and tried (looked at many headings for this) and I still don't have an answer to my problem. I am trying to install the Pebble SDK 1.12 and install command line tools of Xcode 5. Everytime I try xcode-select --install in terminal I get "Can't install software because it is not currently available in the Software Update server" I have tried to reinstall Xcode and that didn't work. When I got to Xcode-preferences-downloads there isn't a section for the command line tools. I have

Matlab on macbook pro, retina

≡放荡痞女 提交于 2019-12-10 11:02:42
问题 Hi I recently bought a macbook pro and just installed matlab 2013b. I have a retina display, but the resolution of matlab itself when I run it, it does not look very nice, it's almost blurry and pixelated. Does anyone else have a similar issue and is there a way to fix this? 回答1: Matlab 2013b uses it's own version of Java, rather than the OS X version (which is not installed by default). If you install the latest version of Java for the OS, and then replace Matlab's version, it should fix

Runtime error for CLang compiled program (Mac) reading double type with std::cin

空扰寡人 提交于 2019-12-10 10:17:25
问题 I'm pretty new to C++ and working through some examples of the book "Programming Principles and Practices Using C++" (2nd Edition). I wrote the following simple Program (in file Main.cpp): #include <iostream> #include <string> int main () { double d = 0; std::string s = ""; while (std::cin >> d >> s) { std::cout << "--" << d << " " << s << "\n"; } std::cout << "FATAL? "<< d << " " << u << "\n"; } Compiling the program (on the command line) with CLang ( Apple LLVM version 5.1 (clang-503.0.40)

How install ruby 2.1.0 on OS_X 10.9 using rvm? ( No binary rubies available for: osx/10.9/x86_64/ruby )

怎甘沉沦 提交于 2019-12-10 10:13:26
问题 I'm trying to install ruby 1.9.3-p545 or ruby-2.1.0 or ruby-2.1.1, but it fails... My environment: OS_X 10.9 x86_64 rvm 1.25.20 Error from terminal: bmalets$ rvm install 1.9.3-p545 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p545. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx_port. Installing macports........................................

gfortran is not working on Mac OS X 10.9 (Mavericks)

旧街凉风 提交于 2019-12-10 06:06:23
问题 Recently, I updated my OS X to 10.9 (Mavericks); unfortunately, gfortran stops working although I updated Xcode command line to 5.1.1 for OS X Mavericks. Similar question has been asked sometime ago, here, but I don't think so the issue is sorted out. here is what I did: first I removed the existing gfortran bash-3.2$ sudo rm -r /usr/local/gfortran /usr/local/bin/gfortran Then I downloaded gfortran-4.9-bin.tar, and unzip it and installed successfully bash-3.2$ gunzip gfortran-4.9-bin.tar bash

How to compile PHP with OpenSSL on OS X 10.9?

自作多情 提交于 2019-12-10 04:10:02
问题 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