From: "fcheung (Frederick Cheung) via ruby-core" Date: 2023-11-13T19:46:35+00:00 Subject: [ruby-core:115372] [Ruby master Bug#9010] ./configure --prefix= cannot handle directories with spaces Issue #9010 has been updated by fcheung (Frederick Cheung). Still happening on master as b1f345b1 when building on macos: ``` ../configure --prefix="${HOME}/dir with space/.rubies/ruby-master" make install ``` produces ``` ... linking shared-library libruby.3.3.dylib clang: error: no such file or directory: 'with' clang: error: no such file or directory: 'space/.rubies/ruby-master/lib/libruby.3.3.dylib' make: *** [libruby.3.3.dylib] Error 1 ``` ---------------------------------------- Bug #9010: ./configure --prefix= cannot handle directories with spaces https://bugs.ruby-lang.org/issues/9010#change-105303 * Author: postmodern (Hal Brodigan) * Status: Assigned * Priority: Normal * Assignee: nobu (Nobuyoshi Nakada) * ruby -v: trunk ---------------------------------------- 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/