1 | imac# gem2.3 install ffi -v '1.9.10' |
---|
2 | Building native extensions. This could take a while... |
---|
3 | ERROR: Error installing ffi: |
---|
4 | ERROR: Failed to build gem native extension. |
---|
5 | |
---|
6 | current directory: /opt/local/lib/ruby2.3/gems/2.3.0/gems/ffi-1.9.10/ext/ffi_c |
---|
7 | /opt/local/bin/ruby2.3 -r ./siteconf20160311-57670-1ucgcz1.rb extconf.rb |
---|
8 | *** extconf.rb failed *** |
---|
9 | Could not create Makefile due to some reason, probably lack of necessary |
---|
10 | libraries and/or headers. Check the mkmf.log file for more details. You may |
---|
11 | need configuration options. |
---|
12 | |
---|
13 | Provided configuration options: |
---|
14 | --with-opt-dir |
---|
15 | --with-opt-include |
---|
16 | --without-opt-include=${opt-dir}/include |
---|
17 | --with-opt-lib |
---|
18 | --without-opt-lib=${opt-dir}/lib |
---|
19 | --with-make-prog |
---|
20 | --without-make-prog |
---|
21 | --srcdir=. |
---|
22 | --curdir |
---|
23 | --ruby=/opt/local/bin/$(RUBY_BASE_NAME)2.3 |
---|
24 | --with-ffi_c-dir |
---|
25 | --without-ffi_c-dir |
---|
26 | --with-ffi_c-include |
---|
27 | --without-ffi_c-include=${ffi_c-dir}/include |
---|
28 | --with-ffi_c-lib |
---|
29 | --without-ffi_c-lib=${ffi_c-dir}/lib |
---|
30 | --with-libffi-config |
---|
31 | --without-libffi-config |
---|
32 | --with-pkg-config |
---|
33 | --without-pkg-config |
---|
34 | /opt/local/lib/ruby2.3/2.3.0/shellwords.rb:81:in `shellsplit': undefined method `scan' for nil:NilClass (NoMethodError) |
---|
35 | from /opt/local/lib/ruby2.3/2.3.0/mkmf.rb:1828:in `pkg_config' |
---|
36 | from extconf.rb:15:in `<main>' |
---|
37 | |
---|
38 | To see why this extension failed to compile, please check the mkmf.log which can be found here: |
---|
39 | |
---|
40 | /opt/local/lib/ruby2.3/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0/ffi-1.9.10/mkmf.log |
---|
41 | |
---|
42 | extconf failed, exit code 1 |
---|
43 | |
---|
44 | Gem files will remain installed in /opt/local/lib/ruby2.3/gems/2.3.0/gems/ffi-1.9.10 for inspection. |
---|
45 | Results logged to /opt/local/lib/ruby2.3/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0/ffi-1.9.10/gem_make.out |
---|