user152468
user152468

Reputation: 3242

Install bosh_cli with gem on mac os 10.10

Im am trying to install cloud-foundry, and therefore bosh_lite on my OSX 10.10.

while doing gem install bosh_cli, I get: 
libxml2 is missing. Please locate mkmf.log to investigate how it is failing.

So I did brew install libxml2 and followed the instructions here:

Libxml2 missing mac os x 10.10

But I am getting the error "libxml2 version 2.6.21 or later is required!" although the libxml in /usr/local/Cellar/... is 2.9.2.

Any ideas what's wrong?

Upvotes: 0

Views: 186

Answers (1)

user152468
user152468

Reputation: 3242

I had overlooked an error at the beginning:

ERROR: Failed to build gem native extension.

The following post solved my issue: Ruby Gem install Json fails on Mavericks and Xcode 5.1 - unknown argument: '-multiply_definedsuppress'

I had to do:

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install bosh_cli

Upvotes: 2

Related Questions