• Not able to build ruby 2.4.1 on windows

    From Hellio6@21:1/5 to All on Mon Apr 10 03:52:45 2017
    I try to buid ruby on Windows. Now I have done

    configure

    nmake -> success

    nmake test -> success

    Finnally I try 'nmake install' but it fails. Some extension can not be built include: dbm, gdbm, zlib.

    Please look and advise


    D:\ruby\ruby-2.4.1\ruby-2.4.1>nmake install

    Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    CC = cl -nologo
    LD = cl -nologo
    LDSHARED = cl -nologo -LD
    CFLAGS = -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574 -wd4668 -wd4710 -wd4711 -wd4820 -wd4996 -we4028 -we4142 -O2sy- -Zm600
    XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/x64-mswin64_140 -I./include -I. -I./enc/unicode/9.0.0
    CPPFLAGS = -D_WIN32_WINNT=0x0600
    DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll
    SOLIBS =
    generating enc.mk
    making srcs under enc
    generating transdb.h
    transdb.h unchanged
    generating makefile exts.mk
    *** Following extensions failed to configure:
    ../.././ext/dbm/extconf.rb:0: Failed to configure dbm. It will not be installed.
    ../.././ext/gdbm/extconf.rb:0: Failed to configure gdbm. It will not be installed.
    ../.././ext/openssl/extconf.rb:0: Failed to configure openssl. It will not be installed.
    ../.././ext/readline/extconf.rb:0: Failed to configure readline. It will not be installed.
    ../.././ext/zlib/extconf.rb:0: Failed to configure zlib. It will not be installed.
    *** Fix the problems, then remove these directories and try again if you want. 'ruby.exe' is up-to-date
    'rubyw.exe' is up-to-date
    making enc

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)