Author Topic: Problem with ruby 1.8.1 libs  (Read 2994 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Problem with ruby 1.8.1 libs
« on: September 01, 2004, 04:54:35 pm »
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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Problem with ruby 1.8.1 libs
« Reply #1 on: September 06, 2004, 04:29:03 am »
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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card