I had the same problems some days ago and here are my notes to install it:

yum install -y gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel 
make

When using fog 0.7.2 I got a lot of warnings while using puppet node_aws.. 
so I updated to latest fog and everything is working correctly now.

Felipe


On Wednesday, January 30, 2013 12:11:17 PM UTC-8, PuppetUser wrote:
>
> Hi,
>
> I am trying to install fog which is required for cloud provisioner. 
> > gem install fog -v 0.7.2
> I am getting the following error
>
> Building native extensions.  This could take a while...
>
> ................
> ERROR:  Error installing fog:
>         ERROR: Failed to build gem native extension.
>
>         /usr/bin/ruby extconf.rb
> creating Makefile
>
> make
> /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:31:in `exec': No such 
> file or directory - make (Errno::ENOENT)
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:31:in 
> `get_status_of_forked_command'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:23:in 
> `fork'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:23:in 
> `get_status_of_forked_command'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:84:in 
> `make'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:82:in 
> `each'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb:82:in 
> `make'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/ext/ext_conf_builder.rb:18:in `build'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:532:in 
> `build_extensions'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:531:in 
> `chdir'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:531:in 
> `build_extensions'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:505:in 
> `each'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:505:in 
> `build_extensions'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/installer.rb:180:in 
> `install'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:297:in 
> `install'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
> `each_with_index'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `each'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:270:in 
> `each_with_index'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:270:in 
> `install'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:121:in 
> `execute'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in 
> `each'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in 
> `execute'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in 
> `invoke'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:147:in 
> `process_args'
>         from 
> /usr/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:117:in `run'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:65:in `run'
>         from /usr/bin/gem:21
>
>
> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/json-1.7.6 
> for inspection.
> Results logged to 
> /usr/lib/ruby/gems/1.8/gems/json-1.7.6/ext/json/ext/generator/gem_make.out
>
> Help me out in fixing the problem
>
> Regards
>
> Puppet User
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to