Subject:
Re: [ruby-ffi] Need help to understand FFI 1.4 installation failure
From:
postmodern
Date:
3/2/13 8:23 PM
To:
ruby-ffi@googlegroups.com

It appears you need to install the ruby-dev or ruby-devel package for
the ruby/config.h header?

On 03/02/2013 05:51 AM, codehacker@comcast.net wrote:
> I'm a bit out of my depth here. Any insight would be appreciated.
>
> Installing FFI 1.4 with bundler I see:
>
> ** [out :: pa491.railsplayground.net]
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.
>  ** [out :: pa491.railsplayground.net] 
>  ** [out :: pa491.railsplayground.net] /usr/local/bin/ruby extconf.rb
>  ** [out :: pa491.railsplayground.net] checking for ffi.h... no
>  ** [out :: pa491.railsplayground.net] checking for ffi.h in
> /usr/local/include,/usr/include/ffi... no
>  ** [out :: pa491.railsplayground.net] checking for
> rb_thread_blocking_region()... yes
>  ** [out :: pa491.railsplayground.net] checking for
> rb_thread_call_with_gvl()... yes
>  ** [out :: pa491.railsplayground.net] checking for
> rb_thread_call_without_gvl()... yes
>  ** [out :: pa491.railsplayground.net] checking for
> ffi_prep_cif_var()... no
>  ** [out :: pa491.railsplayground.net] creating extconf.h
>  ** [out :: pa491.railsplayground.net] creating Makefile
>  ** [out :: pa491.railsplayground.net] 
>  ** [out :: pa491.railsplayground.net] make
>  ** [out :: pa491.railsplayground.net] make: *** No rule to make
> target `/include/i686-linux/ruby/config.h', needed by
> `MemoryPointer.o'.  Stop.
>
> any suggestions for how to proceed would be greatly appreciated
> -- 
>  
> ---
> You received this message because you are subscribed to the Google
> Groups "ruby-ffi" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ruby-ffi+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


-- Blog: http://postmodern.github.com/ GitHub: https://github.com/postmodern Twitter: @postmodern_mod3 PGP: 0xB9515E77
-- --- You received this message because you are subscribed to the Google Groups "ruby-ffi" group. To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.