ffi/ffi — Issue #190: Unable to install ffi-1.0.11 on OpenSolaris
Author: ellmo
Created: 2012-02-04 21:45:11+00:00
State: open

```
mkdir -p pkg
cd pkg/ffi-1.0.11
Successfully built RubyGem
Name: ffi
Version: 1.0.11
File: ffi-1.0.11.gem
mv ffi-1.0.11.gem ../ffi-1.0.11.gem
cd -
gem install --local pkg/ffi-1.0.11
Building native extensions. This could take a while...
ERROR: Error installing pkg/ffi-1.0.11:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.9.2-p290-patched/bin/ruby extconf.rb
checking for rb_thread_blocking_region()... yes
checking for ruby_thread_has_gvl_p()... yes
checking for ruby_native_thread_p()... yes
checking for rb_thread_call_with_gvl()... yes
creating extconf.h
creating Makefile

make
Configuring libffi
/bin/sh: line 1: ..//usr/local/rvm/gems/ruby-1.9.2-p290-patched/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: not found
make: *** ["/usr/local/rvm/gems/ruby-1.9.2-p290-patched/gems/ffi-1.0.11/ext/ffi_c/libffi"/.libs/libffi_convenience.a] Error 127

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-p290-patched/gems/ffi-1.0.11 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.2-p290-patched/gems/ffi-1.0.11/ext/ffi_c/gem_make.out
rake aborted!
Command failed with status (1): [ gem install --local pkg/ffi-1.0.11...]

Tasks: TOP => gem:install
(See full trace by running task with --trace)
```

especially the line

```
/bin/sh: line 1: ..//usr/local/rvm/gems/ruby-1.9.2-p290-patched/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: not found
```

looks strange, what kind of path `..//usr/local` is?
Where is it set? Where can I change it?