Hi,I tried installing FFI from the GIT repository - https://github.com/ffi/ffi.gitBut 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 thebelow error :[warn] YARD unavailablerake 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 sayingffi.h is missing. Here is the error that was thrown on the console -~]# gem install ffiBuilding native extensions. This could take a while......ERROR: Error installing ffi:ERROR: Failed to build gem native extension./usr/bin/ruby extconf.rbchecking for ffi.h... nochecking for ffi.h in /usr/local/include,/usr/include/ffi... nochecking for rb_thread_blocking_region()... nochecking for rb_thread_call_with_gvl()... nochecking for rb_thread_call_without_gvl()... nochecking for ffi_prep_cif_var()... nocreating extconf.hcreating MakefilemakeConfiguring libffi/usr/lib/ruby/gems/1.8/gems/ffi-1.8.1/ext/ffi_c/libffi/configure: line 550: 0: Bad file descriptormake: *** ["/usr/lib/ruby/gems/1.8/gems/ffi-1.8.1/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 1Gem 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.outHow can I resolve this ?Thank you,--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
Archive powered by MHonArc 2.6.16.