Using Mac OS X Mountain Lion 10.8.5, dependencies installed with Homebrew, and ruby-1.9.3-p374 via RVM.
I'm getting errors I'm not sure how to interpret:
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
and
/Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:239:in `parse_pc': .pc for libxml-2.0 doesn't exist. (RuntimeError)
Full output:
~/l/o/soundCLI ❯❯❯ gem install ./soundcli-0.0.5.gem
Fetching: pkg-config-1.1.4.gem (100%)
Successfully installed pkg-config-1.1.4
Fetching: glib2-2.0.2.gem (100%)
Building native extensions. This could take a while...
Successfully installed glib2-2.0.2
Fetching: gstreamer-1.0.3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing ./soundcli-0.0.5.gem:
ERROR: Failed to build gem native extension.
/Users/leoj/.rvm/rubies/ruby-1.9.3-p374/bin/ruby extconf.rb
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Win32 OS... no
checking for gstreamer-0.10... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/leoj/.rvm/rubies/ruby-1.9.3-p374/bin/ruby
--with-pkg-config
--without-pkg-config
--with-override-variables
--without-override-variables
/Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:239:in `parse_pc': .pc for libxml-2.0 doesn't exist. (RuntimeError)
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:181:in `declaration'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:126:in `requires'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:305:in `required_packages'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect_libs'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:143:in `libs'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:214:in `block in collect_libs'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect_libs'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:148:in `libs_only_l'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:356:in `libs_only_l'
from /Users/leoj/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/gems/1.9.1/gems/pkg-config-1.1.4/lib/pkg-config.rb:404:in `have_package'
from extconf.rb:35:in `<main>'
Using Mac OS X Mountain Lion 10.8.5, dependencies installed with Homebrew, and ruby-1.9.3-p374 via RVM.
I'm getting errors I'm not sure how to interpret:
and
Full output:
Thanks for any assistance. :smiling_imp: