Issue #998 has been updated by Luis Lavena.


Thank you Mr. Nakada, but seems the problem has moved forward:

<pre><code>
compiling socket
make[1]: Entering directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-trunk/ext/socket'
generating constants.h
(ERB):4:in `gen_int_to_name_hash': undefined method `bytesize' for "AF_LOCAL":String (NoMethodError)
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:165:in `reverse_each_name_with_prefix_optional'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:97:in `reverse_each_name'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:95:in `reverse_each'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:95:in `reverse_each_name'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:164:in `reverse_each_name_with_prefix_optional'
        from (ERB):2:in `gen_int_to_name_hash'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:208:in `def_intern'
        from /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/mkconstants.rb:213
make[1]: *** [constants.h] Error 1
make[1]: Leaving directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-trunk/ext/socket'
make: *** [exts] Error 1
</code></pre>

I'm using latest trunk r21438.



----------------------------------------
http://redmine.ruby-lang.org/issues/show/998

----------------------------------------
http://redmine.ruby-lang.org