From: Nolan Darilek Date: 2000-12-22T03:45:16+09:00 Subject: [ruby-talk:7901] rb2c: packaging solution? I've continued to investigate ways for packaging ruby executables. I first looked into python's freeze to see what it did; it appears to create an executable containing the Python code converted to C. So I decided to investigate rb2c. I downloaded 0.6.1, but I can't get it to work. Here's what I do: ethereal:~/src/rb2c-0.6.1> ruby config.rb ethereal:~/src/rb2c-0.6.1> make all (cd ext; /usr/bin/ruby extconf.rb; make) creating Makefile /usr/lib/ruby/1.6/mkmf.rb:120:in `|': failed to convert String into Array (TypeError) from /usr/lib/ruby/1.6/mkmf.rb:120:in `install_rb' from /usr/lib/ruby/1.6/mkmf.rb:116:in `find' from /usr/lib/ruby/1.6/find.rb:13:in `catch' from /usr/lib/ruby/1.6/find.rb:13:in `find' from /usr/lib/ruby/1.6/mkmf.rb:116:in `install_rb' from /usr/lib/ruby/1.6/mkmf.rb:394:in `create_makefile' from extconf.rb:4 make[1]: Entering directory `/home/nolan/src/rb2c-0.6.1/ext' make[1]: *** No rule to make target `rb2cparse.so', needed by `all'. Stop. make[1]: Leaving directory `/home/nolan/src/rb2c-0.6.1/ext' make: *** [all-ext] Error 2 Exit 2 I don't know enough about ruby, or mkmf, to know what's going on. Building ruby itself works, and many of the extensions seem to use mkmf. Is there a more up-to-date version of rb2c floating around? Or, how difficult would it be to patch this old version, which appears to work with ruby 1.4.5? Thanks.