0

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?

Community
  • 1
  • 1
user152468
  • 3,202
  • 6
  • 27
  • 57

1 Answers1

2

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
Community
  • 1
  • 1
user152468
  • 3,202
  • 6
  • 27
  • 57