Ticket #50868: ffi-build.log

File ffi-build.log, 1.7 KB (added by davidfavor (David Favor), 9 years ago)
Line 
1imac# gem2.3 install ffi -v '1.9.10'
2Building native extensions.  This could take a while...
3ERROR:  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 ***
9Could not create Makefile due to some reason, probably lack of necessary
10libraries and/or headers.  Check the mkmf.log file for more details.  You may
11need configuration options.
12
13Provided 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
38To 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
42extconf failed, exit code 1
43
44Gem files will remain installed in /opt/local/lib/ruby2.3/gems/2.3.0/gems/ffi-1.9.10 for inspection.
45Results 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