Re: [vagrant-up] vagrant-aws install errors on Mac

363 views
Skip to first unread message

Cassiano Leal

unread,
Apr 19, 2013, 12:48:24 PM4/19/13
to vagra...@googlegroups.com
I've just tried it now and it compiles without a problem here. Do you have the latest XCode installed?

- cassiano

On Friday, April 19, 2013 at 09:32, Michael Waldrop wrote:

I'm a bit new to vagrant and very thin on Ruby experience.  I've been trying to add the vagrant-aws plugin to vagrant on a mac and get the following error:

$ vagrant plugin install vagrant-aws
Installing the 'vagrant-aws' plugin. This can take a few minutes...
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
        /Applications/Vagrant/embedded/bin/ruby extconf.rb
checking for libxml/parser.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

It appears that this is an error related to a missing ruby development environment.  Do I have to get external resources outside of the vagrant project to enable this plugin ?

Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Michael Waldrop

unread,
Apr 19, 2013, 1:34:51 PM4/19/13
to vagra...@googlegroups.com
I do not, but that is easy enough to do.

Michael Waldrop

unread,
Apr 19, 2013, 3:25:05 PM4/19/13
to vagra...@googlegroups.com
Same error with Xcode installed.

Cassiano Leal

unread,
Apr 19, 2013, 3:28:57 PM4/19/13
to vagra...@googlegroups.com
Install XCode's command line tools:

Open XCode -> Preferences -> Downloads -> Components -> Command Line Tools -> press "Install"

If that doesn't work, try to find the mkmf.log file mentioned in the error. That might give you more clues.

- cassiano

--

Michael Waldrop

unread,
Apr 19, 2013, 3:37:54 PM4/19/13
to vagra...@googlegroups.com
Worked !  Thank you !

Cassiano Leal

unread,
Apr 19, 2013, 4:07:40 PM4/19/13
to vagra...@googlegroups.com
You're welcome. Always go this route before anything else when compiling things under OS X. :)

- cassiano

Reply all
Reply to author
Forward
0 new messages