osx-mavericks

Installing Elasticsearch on OSX Mavericks

試著忘記壹切 提交于 2019-11-27 09:08:00
问题 I'm trying to install Elasticsearch 1.1.0 on OSX Mavericks but i got the following errors when i'm trying to start: :> ./elasticsearch Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.Version at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252) at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) Also when i'm executing the same

Glut deprecation in Mac OSX 10.9, IDE: QT Creator

爷,独闯天下 提交于 2019-11-27 08:58:15
I was trying to build an opengl program on qt creator, installed on my mac, with osx 10.9. I got several warnings on glut functions about its deprecation in osx10.9, a sample error message is like: 'glutInit' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] glutInit(&argc, &argv); ^ I wonder if GLUT.h is not usable anymore in osx10.9? According to some other posts, it is said that as long as we change "OS X Deployment Target" back to OSX10.8, then it works. How to do so in qtcreator? Thank you! You can still use it in 10.9. They're sending you a pretty strong signal

Xcode is not currently available from the Software Update server

筅森魡賤 提交于 2019-11-27 06:30:58
I have problems with my macport after update to OS X 10.9. I try to follow this manual https://trac.macports.org/wiki/Migration to fix them. But when I install Command Line Tools: xcode-select --install I get message Can't install the software because it is not currently available from the Software Update server. Meanwhile I successfully updated my other machine to OS X 10.9. and installed command-line tools with no problems, so they must be available. What is the problem here? Nikos M. You can download the command line tools for os x mavericks manually from here . If you are trying this on a

Objective-C in Qt with Mavericks

和自甴很熟 提交于 2019-11-27 06:17:32
问题 I've been using Objective-C mixed with C++ in Qt without any issues; using .mm files where required. After upgrading my build machine to Mavericks, I initially noticed that the framework headers were missing, so installed the XCode command line tools, which fixed the issue. Now, I'm getting a problem compiling Objective-C files with errors complaining about code in the frameworks. For example: - System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSUserNotification.h:16:44:

Push Notifications in Mavericks iOS Simulator

ぃ、小莉子 提交于 2019-11-27 03:50:43
I can't find anything about this, and I have never done anything with push notifications (but I know vaguely how they work). In Mavericks, now that OS X can receive push notifications from various things like websites, can iPhone Simulator receive push notifications? I've found plenty of answers from mid-2013 and earlier saying "no", but all of them are outdated because Mavericks was just recently released with its new push features. I'm about to start working on an app for a school project that should use push notifications unless I want to be cheap and just poll the server. I understand that

“'cc' failed with exit status 1” error when install python library

强颜欢笑 提交于 2019-11-27 03:21:05
Like many others, I'm having issues installing a python library (downloaded as a tar, then extracted). rodolphe-mbp:python-Levenshtein-0.11.2 Rodolphe$ sudo python setup.py install running install running bdist_egg running egg_info writing requirements to python_Levenshtein.egg-info/requires.txt writing python_Levenshtein.egg-info/PKG-INFO writing namespace_packages to python_Levenshtein.egg-info/namespace_packages.txt writing top-level names to python_Levenshtein.egg-info/top_level.txt writing dependency_links to python_Levenshtein.egg-info/dependency_links.txt writing entry points to python

pip installation /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory

为君一笑 提交于 2019-11-27 02:45:39
I don't know what's the deal but I am stuck following some stackoverflow solutions which gets nowhere. Can you please help me on this? Monas-MacBook-Pro:CS764 mona$ sudo python get-pip.py The directory '/Users/mona/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/mona/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check

Error executing command 'ant' on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova

你离开我真会死。 提交于 2019-11-27 02:41:06
Today I tried PhoneGap/Cordova with Mac OS X Mavericks . Building for iOS went just fine, but building for Android wasn't without some guesswork. I installed Android 4.2.2 via the Android SDK Manager (I had to use the older API v17 since it wasn't compatible with a newer one), added the PATH environment variables for the SDK's platform-tools and tools and thought I was ready to take off by running the command: phonegap run android Nevertheless, I got the following error: [phonegap] detecting Android SDK environment... [phonegap] using the local environment [phonegap] adding the Android

Installing Rails on Mavericks

ぃ、小莉子 提交于 2019-11-27 02:34:03
问题 Not sure what happened but when I upgraded to Mavericks it says that Rails it not install. I executed the following command: rails --version And it said "Rails is not currently installed and run sudo gem install rails". I run sudo gem install rails and get the following: ERROR: Error installing rails: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks

Multiple Java installations in Mac OS X Mavericks

淺唱寂寞╮ 提交于 2019-11-27 01:59:28
问题 I downloaded JDK for Mac OS X 10.9.1 from Oracle, but I had to install another Java from Apple site once more, as I couldn't launch eclipse with it. These are two pages that I referred. Installing Java on OS X 10.9 (Mavericks) http://support.apple.com/kb/DL1572?viewlocale=en_US Now I have three java binaries installed in my computer. Installation A /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51