{"action":"closed","issue":{"url":"https://api.github.com/repos/ruby-opencv/ruby-opencv/issues/79","repository_url":"https://api.github.com/repos/ruby-opencv/ruby-opencv","labels_url":"https://api.github.com/repos/ruby-opencv/ruby-opencv/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/ruby-opencv/ruby-opencv/issues/79/comments","events_url":"https://api.github.com/repos/ruby-opencv/ruby-opencv/issues/79/events","html_url":"https://github.com/ruby-opencv/ruby-opencv/issues/79","id":159532818,"number":79,"title":"gem install failure in mac 10.11","user":{"login":"totothink","id":114038,"avatar_url":"https://avatars.githubusercontent.com/u/114038?v=3","gravatar_id":"","url":"https://api.github.com/users/totothink","html_url":"https://github.com/totothink","followers_url":"https://api.github.com/users/totothink/followers","following_url":"https://api.github.com/users/totothink/following{/other_user}","gists_url":"https://api.github.com/users/totothink/gists{/gist_id}","starred_url":"https://api.github.com/users/totothink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totothink/subscriptions","organizations_url":"https://api.github.com/users/totothink/orgs","repos_url":"https://api.github.com/users/totothink/repos","events_url":"https://api.github.com/users/totothink/events{/privacy}","received_events_url":"https://api.github.com/users/totothink/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-09T23:46:13Z","updated_at":"2016-07-17T00:50:28Z","closed_at":"2016-07-17T00:50:28Z","body":"i run below command:\r\n```shell\r\n$ brew install opencv3 --with-contrib --with-cuda --with-ffmpeg --with-tbb --with-qt5\r\n```\r\n\r\nopencv3 be installed in /usr/local/opt/opencv3.\r\n\r\ni run below command:\r\n```shell\r\n$ gem install ruby-opencv -- --with-opencv-dir=/usr/local/opt/opencv3\r\n```\r\n\r\nerror:\r\n```shell\r\nThis could take a while...\r\nERROR:  Error installing ruby-opencv:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    current directory: /Users/aaron/.rvm/gems/ruby-2.3.0/gems/ruby-opencv-0.0.16/ext/opencv\r\n/Users/aaron/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160610-24783-4c3lqb.rb extconf.rb --with-opencv-dir=/usr/local/opt/opencv3/\r\n>> Check the required libraries...\r\nchecking for main() in -lstdc++... yes\r\nchecking for main() in -lopencv_calib3d... yes\r\nchecking for main() in -lopencv_contrib... no\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n\t--with-opt-dir\r\n\t--with-opt-include\r\n\t--without-opt-include=${opt-dir}/include\r\n\t--with-opt-lib\r\n\t--without-opt-lib=${opt-dir}/lib\r\n\t--with-make-prog\r\n\t--without-make-prog\r\n\t--srcdir=.\r\n\t--curdir\r\n\t--ruby=/Users/aaron/.rvm/rubies/ruby-2.3.0/bin/$(RUBY_BASE_NAME)\r\n\t--with-opencv-dir\r\n\t--with-opencv-include\r\n\t--without-opencv-include=${opencv-dir}/include\r\n\t--with-opencv-lib\r\n\t--without-opencv-lib=${opencv-dir}/lib\r\n\t--with-libxml2-dir\r\n\t--without-libxml2-dir\r\n\t--with-libxml2-include\r\n\t--without-libxml2-include=${libxml2-dir}/include\r\n\t--with-libxml2-lib\r\n\t--without-libxml2-lib=${libxml2-dir}/lib\r\n\t--with-stdc++lib\r\n\t--without-stdc++lib\r\n\t--with-opencv_calib3dlib\r\n\t--without-opencv_calib3dlib\r\n\t--with-opencv_contriblib\r\n\t--without-opencv_contriblib\r\nextconf.rb:58:in `block in <main>': opencv_contrib not found. (RuntimeError)\r\n\tfrom extconf.rb:58:in `each'\r\n\tfrom extconf.rb:58:in `<main>'\r\n\r\nTo see why this extension failed to compile, please check the mkmf.log which can be found here:\r\n\r\n  /Users/aaron/.rvm/gems/ruby-2.3.0/extensions/x86_64-darwin-15/2.3.0/ruby-opencv-0.0.16/mkmf.log\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /Users/aaron/.rvm/gems/ruby-2.3.0/gems/ruby-opencv-0.0.16 for inspection.\r\nResults logged to /Users/aaron/.rvm/gems/ruby-2.3.0/extensions/x86_64-darwin-15/2.3.0/ruby-opencv-0.0.16/gem_make.out\r\n```\r\n\r\nenvironment:\r\nos: mac 10.11\r\nruby: 2.3.0\r\n\r\n\r\n"}}
{"actor":{"display_login":"ser1zw"}}