I updated to the latest firmware (3.0) and tried to get to wokr. Installed the ipkg package maintainer for some things.
Tried to use the built in ruby package (1.9.1) that's on the ipkg repo, but that failed miserably when trying to run rails.
So, I decided to update to 1.9.2 (or use 1.8.7 -- either is fine, really). Unfortunately, having some problems here.
gcc is installed (so is zlib and a couple of other things such as make, automake, etc.) and I had to install a bunch of standard utilities since the box doesn't come with them or they're gimped by the Busybox thing that they have on there by default.
Got it to configure fine (yay!) but 'make' and 'make test' fail. I'm using the ruby-1.9.2-p0 (ftp link) to compile from.
This is some of the stuff that I've been seeing. Does anybody have any suggestions? These are the installed packages. List of available packages. Getting tired here... so very tired because linux is so addicting XD
Any help would be greatly appreciated.
edit: Got ruby 1.8.7 compiled and installed (somehow... don't ask me how) and now I'm running into some zlib issues. I have zlib installed through the package manager, but it's giving me some errors when I want to require the zlib library.
- Code: Select all
nastrg> ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [powerpc-linux]
nastrg> gem -v
nastrg> cat test.rb
puts "Hello, world."
nastrg> ruby test.rb
nastrg> ruby -rzlib test.rb
/usr/local/lib/ruby/1.8/powerpc-linux/zlib.so: libz.so.1: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/1.8/powerpc-linux/zlib.so (LoadError)
Any way to diagnose this and fix? Add linked files to somewhere? How to check where it's looking? What I should do?