chef / dep-selector-libgecode

Bundled Gecode Libraries for dep-selector
Apache License 2.0
11 stars 26 forks source link

Can't install dep-selector-libgecode gem on a certain Windows 10 rig #58

Closed the-nose-knows closed 7 years ago

the-nose-knows commented 7 years ago

I've got a windows 10 Pro version 1703, x64 rig with Ruby 2.3.3 (Win32), and the Ruby Dev Kit, DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe that wasn't able to install the dep-selector-libgecode gem. After initially failing, I updated Gems to 2.6.13

I also made sure I could build some other gems, like json

This was weird, because I had just finished installing Ruby 2.3.3 and the dep-selector-libgecode gem with the same exact installers from a remote directory on a different Windows 10 x64 rig.

If that's the case, it makes me wonder if a registry entry query is messed up, or there is an unknown missing dependency. Either way, I captured the verbose output.

Is there something I can do to unblock myself? I checked around and found some similar issues, but nothing that unblocked me.

It exceeded the 65536 character limit that GH allows, so I put it in a gist: https://gist.github.com/the-nose-knows/74414ac1be7381c4a938d2c5f2f3b0fa#file-dep-selector-libgecode_errors-log

The command ran was just gem install dep-selector-libgecode --debug --backtrace --verbose

I also tried installing older versions, but they all started failing immediately with the same initial errors, so I didn't waste time letting the stuff build for 5+ minutes before failing at the end.

the-nose-knows commented 7 years ago

Fixed after one of two things I tried finally unblocked me. I didn't bother trying them in isolation.

  1. Ran gem install berkshelf successfully
  2. Ran this in CMD.exe before running gem install dep-selector-libgecode: Set "USE_SYSTEM_GECODE=1 gem install dep-selector-libgecode"

All the things tried in advance before one of the two things above unblocked me:

  1. Update Gems to 2.6.13 with gem update --system
  2. Manually patch registry.rb file at %Ruby23%\lib\ruby\2.3.0\win32 from latest 2.3 branch of Ruby; I wasn't actually using that %Ruby23% var, just using it to represent wherever it is you installed it.
  3. Installed the tar gem