Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install fastlane-plugin-souyuz #16

Closed
codebeaulieu opened this issue Jun 17, 2017 · 3 comments
Closed

unable to install fastlane-plugin-souyuz #16

codebeaulieu opened this issue Jun 17, 2017 · 3 comments

Comments

@codebeaulieu
Copy link

codebeaulieu commented Jun 17, 2017

I've been working on setting up fast lane tools for my Xamarin project. Everything was going pretty smoothly until I got to this plugin,... for some reason I'm unable to successfully install fastlane-plugin-souyuz. I've been stuck on this for hours and I'm hoping some kind soul could shed some insight into what might be going on here.

During my troubleshooting process I installed Ruby 2.4.0

Heres the error message:

Building native extensions.  This could take a while...
ERROR [2017-06-17 11:30:21.35]: Error loading plugin 'fastlane-plugin-souyuz': ERROR: Failed to build gem native extension.

    current directory: /Users/{user}/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/nokogiri-1.8.0/ext/nokogiri
/Users/{user}/.fastlane/bin/bundle/bin/ruby -r ./siteconf20170617-41107-1t6unw9.rb extconf.rb
checking if the C compiler accepts ... *** 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/{user}/.fastlane/bin/bundle/bin/$(RUBY_BASE_NAME)
	--help
	--clean
/Users/{user}/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /Users/{user}/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:571:in `block in try_compile'
	from /Users/{user}/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:522:in `with_werror'
	from /Users/{user}/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:571:in `try_compile'
	from extconf.rb:138:in `nokogiri_try_compile'
	from extconf.rb:162:in `block in add_cflags'
	from /Users/{user}/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:619:in `with_cflags'
	from extconf.rb:161:in `add_cflags'
	from extconf.rb:407:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Users/{user}/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/nokogiri-1.8.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Users/{user}/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/nokogiri-1.8.0 for inspection.
Results logged to /Users/{user}/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/nokogiri-1.8.0/gem_make.out

DEBUG [2017-06-17 11:30:21.36]: uninitialized constant Souyuz
ERROR [2017-06-17 11:30:21.36]: It seems like you wanted to load some plugins, however they couldn't be loaded
ERROR [2017-06-17 11:30:21.36]: Please follow the troubleshooting guide: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md
...
An error occurred while installing json (2.1.0), and Bundler cannot
continue.
Make sure that `gem install json -v '2.1.0'` succeeds before bundling.
@voydz
Copy link
Owner

voydz commented Jun 19, 2017

Hi @codebeaulieu ,

thank you for your feedback. However your issue seems like it is not related to souyuz itself. Rather there seems to be a problem with installing the nokogiridependency.

If you have any further question, don't hesitate to contact me.

@codebeaulieu
Copy link
Author

codebeaulieu commented Jun 22, 2017

Hey thank you so much, I really appreciate your time. This wasn't your problem and you offered helpful tips anyway. I simply followed your recommendation and got it installed properly.

@voydz
Copy link
Owner

voydz commented Jun 22, 2017

You're welcome. I am glad it's working for you now. 😀

I consider this ticket closed now. If you have any further issues, feel free to ask.

@voydz voydz closed this as completed Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants