Bug #3366
closedcompile errors ruby192p2 (rubyspec-matzruby-827b92f)
Description
=begin
...
make[1]: Leaving directory /home/roberto/Código/rubyspec-matzruby-827b92f/ext/coverage' compiling curses /home/roberto/Código/rubyspec-matzruby-827b92f/lib/mkmf.rb:685:in
[]': invalid byte sequence in US-ASCII (ArgumentError)
from /home/roberto/Código/rubyspec-matzruby-827b92f/lib/mkmf.rb:685:in checking_for' from /home/roberto/Código/rubyspec-matzruby-827b92f/lib/mkmf.rb:740:in
have_library'
from /home/roberto/Código/rubyspec-matzruby-827b92f/ext/curses/extconf.rb:11:in <top (required)>' from ./ext/extmk.rb:154:in
load'
from ./ext/extmk.rb:154:in extmake' from ./ext/extmk.rb:445:in
block in '
from ./ext/extmk.rb:441:in each' from ./ext/extmk.rb:441:in
'
make: *** [mkmain.sh] Error 1
$
I'm thinking one of the US-ASCII strings must have a hyphen instead of a minus somewhere in the code.
=end
Files
Updated by naruse (Yui NARUSE) over 14 years ago
=begin
What is ruby192p2 (rubyspec-matzruby-827b92f)?
Please show the revision in Ruby's subversion.
=end
Updated by blue_anna (Roberto Tomás Collins McCarthy) over 14 years ago
=begin
sorry I'm using git .. so far as I know it's the current ruby 1.9.2.preview2. here's the github link: http://github.com/rubyspec/matzruby/tarball/v1_9_2_preview2
I did a
make distclean && find . -type f -exec ~/bin/gres.rb US[^-\_\ ]ASCII US-ASCII {} ; -print
to rewrite all the lines that looked like US-ASCII so the minuses would be actual minuses for sure, but that did not fix it
=end
Updated by naruse (Yui NARUSE) over 14 years ago
=begin
It is RubySpec's fork, and its commit id is different Ruby's official one.
Please try http://github.com/ruby/ruby/tree/ruby_1_9_2
=end
Updated by nobu (Nobuyoshi Nakada) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r28102.
Roberto Tomás, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end