Project

General

Profile

Bug #9010

./configure --prefix= cannot handle directories with spaces

Added by postmodern (Hal Brodigan) about 7 years ago. Updated 11 months ago.

Status:
Assigned
Priority:
Normal
Target version:
-
ruby -v:
trunk
Backport:
[ruby-core:57793]
Tags:

Description

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

Also available in: Atom PDF