Backport #5601
closed
Ruby 1.9.3 fails to compile in directories with accent in their names
Added by jaco (Eric Jacoboni) about 13 years ago.
Updated almost 13 years ago.
Description
Trying to compile ruby in a directory with a name containing accents fails :
To reproduce, use a directory named "Téléchargements" (as xdg-users-dir create it on some French Linux boxes).
Download the ruby tar archive, place it in this directory, untar it and then try the stanza "./configure && make" :
$ ./configure
(...)
$ make
(...)
linking miniruby
./tool/mkconfig.rb:11:in require': incompatible character encodings: ASCII-8BIT and US-ASCII (Encoding::CompatibilityError) from ./tool/mkconfig.rb:11:in
'
Eric Jacoboni wrote:
To reproduce, use a directory named "Téléchargements" (as xdg-users-dir create it on some French Linux boxes).
BTW, XDG's L10N strategy is completely wrong.
It was the way Microsoft had used last century, and has thrown away finally.
XDG is 10+ yrs behind.
Agree with that... For my own, i never use accents nor spaces in my filenames or directory names. But the point is that installation process fails and that Linux boxes allow now UTF-8 encoded filenames... If Ruby is not able to compile in such a situation it should be at least mentionned in the README, IMHO.
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport193
- Target version deleted (
1.9.3)
Seems to fix by backporting r33603.
- Status changed from Open to Closed
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0