From: Mark Hubbart Date: 2004-10-07T14:00:36+09:00 Subject: compiling/installing ruby in a nonstandard directory Hi all, I've been intermittently working on a build/packaging script that will make Mac Installer packages of the ruby distribution. I need to include, at minimum, readline support, and distribute the readline binaries along with it. I'm not a C programmer; I've compiled a lot of software, but I still don't claim to know what I'm doing :) To make this project easier, and so I don't have to back up my /usr/local dir while I'm building, I've been trying to build it and install ruby (and readline) in non-standard directories; then I can package up the directories for installation (I think). But it isn't that easy... It seems impossible to get ruby extensions to compile using the libraries that are installed in the non-standard locations. Since I'm not convinced I'm going about this the right way, I'll just ask: What is the best way to compile several dependent software projects, without having to install them in their final destination? thanks, Mark