【问题标题】:Installing Puma on windows VirtualAlloc pointer is null在 windows VirtualAlloc 指针上安装 Puma 为空
【发布时间】:2017-07-29 10:41:15
【问题描述】:

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

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

Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
C:\DevKit\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:\DevKit\bin\make.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:\DevKit\bin\make.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:\DevKit\bin\make.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

【问题讨论】:

    标签: ruby rubygems cygwin puma virtualalloc


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2015-07-24
      • 2015-11-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-22
      • 2015-03-24
      • 2013-11-26
      • 2014-10-05
      • 2020-08-19
      相关资源
      最近更新 更多