- From: Ashutosh Narayan <
>
- To:
- Subject: [chef] gem install knife-azure errors
- Date: Fri, 24 May 2013 14:59:22 +0530
Hi Folks,
I am installing a knife-azure plugin using gem to make API calls to Azure for listing,
creating and deleting instances. But I get too many dependencies error.
One of them was rspec so I installed it, i now get another error message saying
ffi.h is missing. Here is the error that was thrown on the console -
~]# gem install ffi
Building native extensions. This could take a while...
..
.
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... no
checking for rb_thread_call_without_gvl()... no
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make
Configuring libffi
/usr/lib/ruby/gems/1.8/gems/ffi-1.8.1/ext/ffi_c/libffi/configure: line 550: 0: Bad file descriptor
make: *** ["/usr/lib/ruby/gems/1.8/gems/ffi-1.8.1/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 1
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ffi-1.8.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/ffi-1.8.1/ext/ffi_c/gem_make.out
How can I resolve this ?
Thank you,
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
- [chef] gem install knife-azure errors, Ashutosh Narayan, 05/24/2013
Archive powered by MHonArc 2.6.16.