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

Windows install issue #158

Open
adrian-riveresolutions opened this issue Aug 22, 2016 · 2 comments
Open

Windows install issue #158

adrian-riveresolutions opened this issue Aug 22, 2016 · 2 comments

Comments

@adrian-riveresolutions
Copy link

Hoping that someone can help with a Windows install problem for dandelion. This what I'm getting so far:

C:\Users\adrian>gem install dandelion
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing dandelion:
ERROR: Failed to build gem native extension.

current directory: E:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rugged-0.23.3/ext/

rugged
E:/Ruby23-x64/bin/ruby.exe -r ./siteconf20160822-30412-1h062it.rb extconf.rb
checking for gmake... no
checking for make... yes
checking for cmake... no
ERROR: CMake is required to build Rugged.
*** 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=E:/Ruby23-x64/bin/$(RUBY_BASE_NAME)
--use-system-libraries

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

E:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/rugged-0.23.3/m
kmf.log

extconf failed, exit code 1

Gem files will remain installed in E:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rugged
-0.23.3 for inspection.
Results logged to E:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0
/rugged-0.23.3/gem_make.out

I have installed CMake 3.6.1 from https://cmake.org/download/ but I'm still getting the same result. Despite having chosen during the CMake install to add the environmental variable path it hadn't. I tried manually adding the path to the CMake.exe folder and separately tried adding the full path the CMake,exe but this didn't make any difference.

Any advice would be very much appreciated. Thanks.

@scttnlsn
Copy link
Owner

This looks similar to #115. I'm not sure of the solution at this point. Perhaps @leandroruel or @ultraloveninja could help here?

@ghost
Copy link

ghost commented Aug 29, 2016

Hmmm, yeah. I'm not sure either. Most of the issues that I had stemmed from Cmake on a Mac and having an outdated Ruby lib. Once I had all of those aligned, it seemed to work just fine.

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