[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>

Hi ruby-core,

10 messages 2015/03/10

[ruby-core:68557] [Ruby trunk - Bug #9010] ./configure --prefix= cannot handle directories with spaces

From: postmodern.mod3@...
Date: 2015-03-18 22:26:00 UTC
List: ruby-core #68557
Issue #9010 has been updated by Hal Brodigan.


Still hitting this with ruby 2.2.1.

## Steps To Reproduce

    mkdir "$PWD/fake home"
    export HOME="$PWD/fake home"
    cd "$HOME"
    wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.bz2
    tar -xjvf ruby-2.2.1.tar.bz2
    cd ruby-2.2.1
    ./configure --prefix="$HOME/.rubies/ruby-2.2.1"
    make


----------------------------------------
Bug #9010: ./configure --prefix= cannot handle directories with spaces
https://bugs.ruby-lang.org/issues/9010#change-51874

* Author: Hal Brodigan
* Status: Assigned
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: trunk
* Backport: 
----------------------------------------
It appears that the linking task fails when the --prefix value contains spaces.

Steps to Reproduce:

1. ./configure --prefix="$HOME/foo bar"
2. make

Expected Result: success
Actual Result:

make[2]: Entering directory `/home/hal/src/ruby-2.0.0-p247'
linking ruby
gcc: error: bar/lib: No such file or directory
gcc: error: bar/lib: No such file or directory
make[2]: *** [ruby] Error 1
make[2]: Leaving directory `/home/hal/src/ruby-2.0.0-p247'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hal/src/ruby-2.0.0-p247'
make: *** [build-ext] Error 2




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next