Project

General

Profile

Actions

Bug #12303

closed

No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43

Added by t-nissie (Takeshi Nishimatsu) about 8 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.3.0 and trunk (2.4.0dev)
[ruby-core:75046]

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.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできないClosednobu (Nobuyoshi Nakada)06/13/2013Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 8 years ago

  • Related to Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない added
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 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) about 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) about 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) about 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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0