Help - Search - Members - Calendar
Full Version: Problem with ruby 1.8.1 libs
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Linux Applications
iamasmith
Hi,

I was wondering if anyone managed to build ruby 1.8.1 successfully using devimg-1.5 ?

Everything initially looks fine and you can run ruby scripts just using 'builtins', however, most modules that you use a 'require' statement for (i.e. socket) come back saying ...

The (null)() function is unimplemented on this machine (NotImplementedError)

BTW: The following...

perl -e 'puts $:'

does print the correct library paths and the libs do seem to be present.

Any ideas folks ?

- Andy
iamasmith
Never did get to the bottom of this problem with compiling Ruby on devimg, may try to compile it later with the desktop cross compiler stuff.

In the meantime, if anyone's interested, if you follow the Ruby 1.6 links to the soureforge.jp site you will find that they have actually compiled to Ruby 1.8 on there and it works quite well.

BTW: It's not clear from the site what the ruby-dev package is, it's actually the set of header files and the static library needed to link into your own projects if you want to embed Ruby. You don't need it for normal Ruby scripting.

- Andy
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.