Actions
Bug #12303
closedNo rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
Description
I could not find any document describing
how to use TEST_COLORS environment variable in Ruby.
I could change the color of messages with ./configure TEST_COLORS=skip=43
and it finished successfully. However, after that, make
results in an error.
$ ./configure TEST_COLORS=skip=43
:
$ make
:
gcc version 4.9.3 (GCC)
make: *** No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o'. Stop.
$
I found this problem on Cygwin with gcc, Mac OS X with gcc,
Mac OS X with clang, and Linux with gcc (Ubuntu 14.04).
I found this problem both in ruby-2.3.0 and trunk (2.4.0dev).
I am sorry if I set TEST_COLORS incorrectly.
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Related to Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない added
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Closed
Applied in changeset r54657.
ifchange: ignore unmatch TEST_COLORS
- configure.in: check if succeeded in creating config.h.
- tool/ifchange: ignore failures when TEST_COLORS unmatched. just
use the default value if expected name is not contained in it.
[ruby-core:75046] [Bug #12303]
Updated by t-nissie (Takeshi Nishimatsu) over 8 years ago
Thank you for the fix, Nakada-san.
Workaround for ruby-2.3.0 may be ./configure TEST_COLORS=pass=32:fail=31:skip=43
.
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
- Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE
ruby_2_3 r54710 merged revision(s) 54657,54660.
Actions
Like0
Like0Like0Like0Like0Like0