From: "nobu (Nobuyoshi Nakada)" Date: 2013-02-24T08:06:21+09:00 Subject: [ruby-core:52753] [ruby-trunk - Bug #7913] `./configure --enable-multiarch` fails Issue #7913 has been updated by nobu (Nobuyoshi Nakada). Priority changed from Urgent to Normal r39427 should fix this. ---------------------------------------- Bug #7913: `./configure --enable-multiarch` fails https://bugs.ruby-lang.org/issues/7913#change-36845 Author: terceiro (Antonio Terceiro) Status: Closed Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: ruby -v: ruby 2.0.0dev (2013-02-22 trunk 39384) Hi, since the changes in bug #7874 `./configure --enable-multiarch` does not work in trunk anymore: $ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch [...] configure: creating ./config.status config.status: creating Makefile config.status: creating ruby-2.0.pc Variable 'archlibdir' not defined in './ruby.tmp.pc' ... and ./configure exits with a failure status (1). The attached patch fixes this by moving the archlibdir variable up in template, pkg-config template so that it is defined at the point of substitution in the LDFLAGS part below. -- http://bugs.ruby-lang.org/