-
Notifications
You must be signed in to change notification settings - Fork 124
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
i can't install gem fashion in windows. #56
Comments
@mlgiter can you retry with the new |
Here is my try on Ruby 2.2.5p319 (2016-04-26 revision 54774) [x64-mingw32], RubyGems 2.6.13
C:/Ruby/bin/ruby.exe -r ./siteconf20170911-11160-5qnyo5.rb extconf.rb Provided configuration options: tar xzf C:/Ruby/lib/ruby/gems/2.2.0/gems/phashion-1.2.0/ext/phashion_ext/pHash-0.9.6.tar.gz 2>&1 extconf failed, exit code 1 Gem files will remain installed in C:/Ruby/lib/ruby/gems/2.2.0/gems/phashion-1.2.0 for inspection. |
Changed extconf.rb in \ext\phashion_ext line 19 to
and got this (under admin privilege) C:\Ruby\lib\ruby\gems\2.2.0\gems\phashion-1.2.0\ext\phashion_ext>ruby extconf.rb Provided configuration options: from extconf.rb:14:in chdir' from extconf.rb:14:in '
|
After manually extracting the tarball and did the same... C:\Ruby\lib\ruby\gems\2.2.0\gems\phashion-1.2.0\ext\phashion_ext>ruby extconf.rb Provided configuration options: |
i tried gem install phashion -v '1.1.1' && bundle install
and get :
mypathto\Ruby2.2.3-x64\lib\ruby\gems\2.2.0\extensions\x64-mingw32\2.2.0\phashion-1.1.1>gem install phashion -v '1.1.1' && bundle install
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing phashion:
ERROR: Failed to build gem native extension.
tar (child): Cannot execute remote shell: No such file or directory
tar (child): mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz: Cannot open: I/O error
tar (child): Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
*** 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=mypathto/Ruby2.2.3-x64/bin/$(RUBY_BASE_NAME)
extconf.rb:20:in
block in <main>': 'tar xzf mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz 2>&1' failed (RuntimeError) from extconf.rb:14:in
chdir'from extconf.rb:14:in `
tar xzf mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz 2>&1
extconf failed, exit code 1
Gem files will remain installed in mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1 for inspection.
but in mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1
i have only gem_make.out with content:
mypathto/Ruby2.2.3-x64/bin/ruby.exe -r ./siteconf20150910-9036-14ombai.rb extconf.rb
tar (child): Cannot execute remote shell: No such file or directory
tar (child): mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz: Cannot open: I/O error
tar (child): Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
*** 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=mypathto/Ruby2.2.3-x64/bin/$(RUBY_BASE_NAME)
extconf.rb:20:in
block in <main>': 'tar xzf mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz 2>&1' failed (RuntimeError) from extconf.rb:14:in
chdir'from extconf.rb:14:in `
tar xzf mypathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz 2>&1
extconf failed, exit code 1
in expression mypathto drive letter sometimes looks like E, not like E,
specifically in
tar (child): E:/pathto/Ruby2.2.3-x64/lib/ruby/gems/2.2.0/gems/phashion-1.1.1/ext/phashion_ext/pHash-0.9.6.tar.gz: Cannot open: I/O error
and when i put it here, it again looks like E:, not like E: . i have to type \ twice here
The text was updated successfully, but these errors were encountered: