Project

General

Profile

Actions

Bug #12401

closed

compile fails --with-static-linked-ext

Added by goldenautumnday (Paul Martinolich) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:75618]

Description

../ruby/configure --with-static-linked-ext; make

from git repository:

remotes/origin/ruby_2_1 commit 6d728bdae9de565ad9d0b2fee2d4c2a33c6f4eac SUCCEEDS

remotes/origin/ruby_2_2 commit d16ff5c412b90b2766be97a5d3d689c5a18528d3 FAILS
compiling enc/encinit.c
make[2]: *** No rule to make target enc/libenc.a', needed by ruby'. Stop.

remotes/origin/ruby_2_3 commit 97888037f11ad81ae8c45fbc64449cb460bad026 FAILS
compiling enc/encinit.c
make[2]: *** No rule to make target enc/libenc.a', needed by ruby'. Stop.

remotes/origin/trunk commit c8fd8d3b426a85a49f099e3eca90210b1a06a7ea FAILS
compiling enc/encinit.c
make[2]: *** No rule to make target enc/libenc.a', needed by ruby'. Stop.

Same issues with ruby-2.2.5.tar.gz, ruby-2.3.1.tar.gz. ruby-2.1.9 succeeds.

$ more /etc/redhat-release
Scientific Linux release 7.2 (Nitrogen)

Updated by Anonymous almost 8 years ago

  • ruby -v set to 2.3.1

I have the same problem while building Ruby 2.3.1 configured with --with-static-linked-ext and --prefix /my/custom/prefix

No problem with Ruby 2.1.9

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago

  • Status changed from Open to Closed

Applied in changeset r55434.


Fix static-linked-ext encodings

  • common.mk (build-ext), ext/extmk.rb: use variable EXTENCS
    different than ENCOBJS, to get rid of circular dependency.
    build libencs when linking encodings statically.
    [ruby-core:75618] [Bug #12401]

Updated by usa (Usaku NAKAMURA) over 7 years ago

  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: REQUIRED, 2.3: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: REQUIRED, 2.3: DONE

ruby_2_3 r55871 merged revision(s) 55434.

Updated by usa (Usaku NAKAMURA) over 7 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: REQUIRED, 2.3: DONE to 2.1: DONTNEED, 2.2: DONE, 2.3: DONE

ruby_2_2 r55931 merged revision(s) 55434.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0