From: SourceForge.net <no...@so...> - 2012-12-07 23:01:47
|
Bugs item #3593791, was opened at 2012-12-07 15:01 Message generated for change (Settings changed) made by vitoravelino You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3593791&group_id=53614 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vítor Avelino (vitoravelino) Assigned to: Nobody/Anonymous (nobody) >Summary: Failing to install gstreamer gem in OSX Initial Comment: Hi guys! I know that this might seem to be obvious because it does not find the libxml2, but mountain lion does already have libxml2 installed and I also tried installing it via homebrew. It didn't work out. I also tried passing argumentos like --with-xml2-include=/usr/local/opt/libxml2/include --with-xml2-lib=/usr/local/opt/libxml2/lib or --without-opt-include --without-opt-lib. Another thing I saw in extconf.rb was that it needs gst-plugins-base too. I installed it and still without success. The stracktrace is pasted below. I hope anyone can help me with this. » gem install gstreamer Building native extensions. This could take a while... Fetching: gstreamer-1.1.6.gem (100%) Building native extensions. This could take a while... ERROR: Error installing gstreamer: ERROR: Failed to build gem native extension. /Users/vitoravelino/.rvm/rubies/ruby-1.9.2-p320/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 --without-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/vitoravelino/.rvm/rubies/ruby-1.9.2-p320/bin/ruby --with-pkg-config --without-pkg-config --with-override-variables --without-override-variables /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/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/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:181:in `declaration' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:126:in `requires' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:305:in `required_packages' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect_libs' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:143:in `libs' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:214:in `block in collect_libs' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:213:in `collect_libs' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:148:in `libs_only_l' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:356:in `libs_only_l' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/pkg-config-1.1.4/lib/pkg-config.rb:404:in `have_package' from /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/glib2-1.1.6/lib/mkmf-gnome2.rb:540:in `required_pkg_config_package' from extconf.rb:44:in `<main>' Gem files will remain installed in /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/gstreamer-1.1.6 for inspection. Results logged to /Users/vitoravelino/.rvm/gems/ruby-1.9.2-p320/gems/gstreamer-1.1.6/ext/gstreamer/gem_make.out ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=470969&aid=3593791&group_id=53614 |