From: Sean O'Donnell Date: 2009-10-31T22:00:05+09:00 Subject: compile architecture-specific, portable ruby Hello, I am trying to put together a compiled, standalone version of ruby that I can drop into a user directory from a portable drive. Think: classroom setting with twenty, un-networked OSX 10.4/PPC machines. I want to compile once on one of these machines, then tarball it up and copy it out to the user's home directory on each of the other computers. I then update the user's PATH (e.g., /Users/student/local/ ruby) to find this version of ruby. Here's how I build it now, which isn't quite working: ruby-1.87-src> ./configure --prefix=/Users/teacher/local ruby-1.87-src> make && make install It's built in my local directory, which I tarball and then copy out to /Users/student/local on the other PPCs. But, when I try to run it from the other computer, I get this error: ==start dyld: lazy symbol binding failed: Symbol not found: _ruby_init_stack Referenced from: /Applications/MKSAP15/RoR/Ruby/bin/ruby Expected in: /usr/lib/libruby.dylib dyld: Symbol not found: _ruby_init_stack Referenced from: /Applications/MKSAP15/RoR/Ruby/bin/ruby Expected in: /usr/lib/libruby.dylib Trace/BPT trap =end Thoughts? I guess the high-level question is this: Are there additional flags that I need to pass to `configure` to build a self- contained, architecture-specific version? Thanks, Sean