Project

General

Profile

Actions

Bug #17931

open

Compile fails setup option nodynamic

Added by Terabin (Allyson Souza Bacon) over 3 years ago. Updated over 3 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:104110]

Description

I can compile the ruby ​​normally without deselecting the #option nodinamyc and some other extension, but when deselecting I get the following error

rbconfig.rb updated
generating enc.mk
making srcs under enc
generating transdb.h
transdb.h updated
compiling C:/ruby-3.0.1/dln.c
dln.c
compiling C:/ruby-3.0.1/localeinit.c
localeinit.c
creating verconf.h
verconf.h updated
compiling C:/ruby-3.0.1/loadpath.c
loadpath.c
builtin_binary.inc updated
compiling C:/ruby-3.0.1/builtin.c
builtin.c
linking static-library x64-vcruntime140-ruby300-static.lib
generating x64-vcruntime140-ruby300.def
linking import-library x64-vcruntime140-ruby300.lib
   Criando biblioteca x64-vcruntime140-ruby300.lib e objeto x64-vcruntime140-ruby300.exp
generating makefiles ext/configure-ext.mk
ext/configure-ext.mk updated
configuring fiddle
libffi_version: 3.2.1
generating makefile exts.mk
exts.mk updated
The system cannot find the path specified.
NMAKE : fatal error U1077: 'cd' : código de retorno '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.EXE"' : código de retorno '0x2'
Stop.

C:\rbuild2>

I tested at visual studio 2017 and 2019.

How to reproduce

set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\Hostx64\x64;%PATH%
cd C:\rbuild_x64
cd C:\rbuild2
C:\ruby-3.0.1\win32\configure.bat --disable-dln --with-static-link-ext --enable-shared=no

Updated by Terabin (Allyson Souza Bacon) over 3 years ago

my setup file

option nodynamic

#bigdecimal
#cgi/escape
#continuation
#coverage
#date
#dbm
#digest/bubblebabble
#digest
#digest/md5
#digest/rmd160
#digest/sha1
#digest/sha2
#etc
#fcntl
#ffi_c
#fiber
fiddle
#gdbm
#io/console
#io/nonblock
#io/wait
#json
#json/generator
#json/parser
#nkf
#objspace
#openssl
#pathname
#psych
#pty
#racc/cparse
#rbconfig/sizeof
#readline
#ripper
#socket
#stringio
#strscan
#syslog
#win32
#win32ole
#zlib
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Subject changed from Compile fails on windows setup option nodynamic to Compile fails setup option nodynamic
Actions

Also available in: Atom PDF

Like0
Like0Like0