在 Windows VirtualAlloc 上安装 Puma 指针为空



我确实检查了其他问题,大多数人都遇到了OpenSSL问题。我确实尝试了安装OpenSSL时提到的其他解决方案,但没有帮助。

尝试通过gem install puma安装Puma时收到以下错误消息:

Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
C:DevKitbinmake.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:DevKitbinmake.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
ERROR:  Error installing puma:
ERROR: Failed to build gem native extension.
current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
C:/Bitnami/rubystack-2.2.6-0/ruby/bin/ruby.exe -r ./siteconf20170308-12444-1rq3kcf.rb extconf.rb
checking for BIO_read() in -lcrypto... no
checking for BIO_read() in -llibeay32... no
creating Makefile
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/puma-3.7.1/mkmf.log
current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
make "DESTDIR=" clean
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x3E0000, State 0x10000
C:DevKitbinmake.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
current directory: C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1/ext/puma_http11
make "DESTDIR="
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x3E0000, State 0x10000
C:DevKitbinmake.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make failed, exit code 1
Gem files will remain installed in C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/gems/puma-3.7.1 for inspection.
Results logged to C:/Bitnami/rubystack-2.2.6-0/ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/puma-3.7.1/gem_make.out

系统规格:

  • OpenSSL版本:OpenSSL 1.0.2j 26 Sep 2016
  • 红宝石版本:ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32]
  • 操作系统:Windows 10
  • 开发套件:installed

如本答案所述,https://stackoverflow.com/a/18503369/2355163,PC的reboot解决了这个问题。

相关内容

  • 没有找到相关文章

最新更新