Alexander Rakoczy wrote:
Yeah, the SVN thing can be ignored.

It's weird that version.h isn't being generated. Are you typing "make"
instead of "rake"?

Alex

Yes, I tried make first, then rake which posted the same errors. I did wonder if version.h was supposed to be generated. What does that? OK, found the task in the Rakefile; diagnostics showed that it was never called so I moved it up near the top and tried again. This time it generated version.h, three constants:

[...@menkalinan whyshoes]$ cat shoes/version.h
#define SHOES_RELEASE_ID 1
#define SHOES_RELEASE_NAME "Curious"
#define SHOES_REVISION

The compile failed at

shoes/ruby.c: In function ‘shoes_ruby_init’:
shoes/ruby.c:3526: error: too few arguments to function ‘rb_int2inum’

That comes down to SHOES_REVISION not having a defined value so I put a
#define SHOES_REVISION 0
after the includes. So far so good. Next problem, although the Makefile reports /usr/lib64 as the library path the Rakefile has /usr/lib hardcoded at several points. I hacked about for an hour or two and finally managed to launch shoes. Maybe Mandriva does things in a non standard manner - I am totally confused and not at all sure that my shoes binary is complete. However it works on the face of it. Here is a sample of my edits to the Rakefile, around line 88.

 cp_r  "#{ext_ruby}/lib64/ruby/1.8", "dist/ruby/lib"
 cp    "#{ext_ruby}/lib64/ruby/site_ruby/1.8/rubygems.rb", "dist/ruby/lib"
 cp_r  "#{ext_ruby}/lib64/ruby/site_ruby/1.8/rubygems", "dist/ruby/lib"
 cp_r  "#{ext_ruby}/lib64/ruby/site_ruby/1.8/rbconfig", "dist/ruby/lib"

I am curious; why "Curious" and not "Raisins"?

Phew, I am done in for tonight.

Len





Reply via email to