Installing libv8 gem on OS X 10.9+

I’m trying to install libv8 3.16.14.3 but getting an error on OSX Mavericks using latest stable rvm and ruby-1.9.3-p125. This is the output of running the command ‘gem install libv8’: ~/src(branch:master) » gem install libv8 Fetching: libv8-3.16.14.3.gem (100%) Building native extensions. This could take a while… ERROR: Error installing therubyracer: ERROR: Failed to build gem … Read more

ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension

I am trying to install cocoapods to my MacBook Pro running with OSX 10.9.1 (new Mavericks) and after type gem install cocoapods I get the following error: Building native extensions. This could take a while… ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. “/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby” -rubygems /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.1/bin/rake RUBYARCHDIR=/Users/rangreenberg/gems/gems/xcodeproj-0.14.1/ext RUBYLIBDIR=/Users/rangreenberg/gems/gems/xcodeproj-0.14.1/ext /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for … Read more

clang error: unknown argument: ‘-mno-fused-madd’ (python package installation failure)

I get the following error when attempting to install psycopg2 via pip on Mavericks 10.9: clang: error: unknown argument: ‘-mno-fused-madd’ [-Wunused-command-line-argument-hard-error-in-future] Not sure how to proceed and have searched here and elsewhere for this particular error. Any help is much appreciated! Here is the complete output from pip: $ pip install psycopg2 Downloading/unpacking psycopg2 Downloading … Read more

Xcode is not currently available from the Software Update server

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 … Read more

How to set JAVA_HOME environment variable on Mac OS X 10.9?

If you’re using bash, all you have to do is: echo export “JAVA_HOME=\$(/usr/libexec/java_home)” >> ~/.bash_profile If you’re using zsh (which probably means you’re running macOS Catalina or newer), then it should instead be: echo export “JAVA_HOME=\$(/usr/libexec/java_home)” >> ~/.zshrc In either case, restart your shell. If you have multiple JDK versions installed and you want it … Read more