[chef] Re: gem install knife-azure errors


Chronological Thread 
  • From: Ashutosh Narayan < >
  • To:
  • Subject: [chef] Re: gem install knife-azure errors
  • Date: Fri, 24 May 2013 18:57:07 +0530

I was able to fix it.
Instead of running "rake gem:install" , I ran "rake install"
It installed FFI gem

On Fri, May 24, 2013 at 6:25 PM, Ashutosh Narayan < " target="_blank"> > wrote:
Hi, 

I tried installing FFI from the GIT repository - https://github.com/ffi/ffi.git
But when I execute rake gem:install it says [warn] YARD unavailable.
So I install YARD gem and again run rake gem:install, i still get the
below error :

[warn] YARD unavailable
rake aborted!
Don't know how to build task 'gem:install'

(See full trace by running task with --trace)

Any pointers ?

On Fri, May 24, 2013 at 2:59 PM, Ashutosh Narayan < " target="_blank"> > wrote:
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/




--
Ashutosh Narayan

http://ashutoshn.wordpress.com/




--
Ashutosh Narayan

http://ashutoshn.wordpress.com/




Archive powered by MHonArc 2.6.16.

§