steve_d555
November 18th, 2005, 06:58 PM
I'm posting the modified SGE and Ruby versions.
For rubyw (the modified Cocoa enabled ruby) do
tar -xzvf ruby-1.8.3-cocoa.tar.gz
cd ruby-1.8.3
autoconf
./configure --prefix=/usr --program-suffix=-1.8.3 --build=powerpc-apple-darwin7.0
make ruby-1.8.3
make rubyw-1.8.3
sudo install rubyw-1.8.3 /usr/bin/
If need be before installing rubyw you should install ruby with
sudo make install
The program-suffix is needed because OS X has an already built (but slightly broken) Ruby binary. Prefix can also be changed.
Now... SGE.
tar -xzvf sge030809-macosx.tar.gz
cd sge030809
make shared
sudo make install
Now you should append the prefix in which you installed SGE (i.e. /usr/lib) to DYLD_LIBRARY_PATH in your .bash_profile or .bashrc.
Like so
echo "export DYLD_LIBRARY_PATH=(path in which installed):$DYLD_LIBRARY_PATH" >> ~/.bash_profile (or ~/.bashrc)
If DYLD_LIBRARY_PATH is unset you can remove ":$DYLD_LIBRARY_PATH" from the command.
After all these you can install Rubysdl according to regular directions.
*Note: SGE and RubySDL need SDL installed (I haven't tried using the Mac OS X package SDL gives or Fink, I have only tried DarwinPorts)
*Files:
Ruby (http://www.steviedizzle.com/osx/ruby-1.8.3-cocoa.tar.gz)
SGE (http://www.steviedizzle.com/osx/sge030809-macosx.tar.gz)
BTW: If you do get this to work please post here with the version of OS X as I only have 10.3.9 and am wondering if it works on others.
UPDATE: Rubyw instructions are outdated please use RSDL (http://www.kumaryu.net/cgi-bin/diary/files/rsdl.tar.gz)
For rubyw (the modified Cocoa enabled ruby) do
tar -xzvf ruby-1.8.3-cocoa.tar.gz
cd ruby-1.8.3
autoconf
./configure --prefix=/usr --program-suffix=-1.8.3 --build=powerpc-apple-darwin7.0
make ruby-1.8.3
make rubyw-1.8.3
sudo install rubyw-1.8.3 /usr/bin/
If need be before installing rubyw you should install ruby with
sudo make install
The program-suffix is needed because OS X has an already built (but slightly broken) Ruby binary. Prefix can also be changed.
Now... SGE.
tar -xzvf sge030809-macosx.tar.gz
cd sge030809
make shared
sudo make install
Now you should append the prefix in which you installed SGE (i.e. /usr/lib) to DYLD_LIBRARY_PATH in your .bash_profile or .bashrc.
Like so
echo "export DYLD_LIBRARY_PATH=(path in which installed):$DYLD_LIBRARY_PATH" >> ~/.bash_profile (or ~/.bashrc)
If DYLD_LIBRARY_PATH is unset you can remove ":$DYLD_LIBRARY_PATH" from the command.
After all these you can install Rubysdl according to regular directions.
*Note: SGE and RubySDL need SDL installed (I haven't tried using the Mac OS X package SDL gives or Fink, I have only tried DarwinPorts)
*Files:
Ruby (http://www.steviedizzle.com/osx/ruby-1.8.3-cocoa.tar.gz)
SGE (http://www.steviedizzle.com/osx/sge030809-macosx.tar.gz)
BTW: If you do get this to work please post here with the version of OS X as I only have 10.3.9 and am wondering if it works on others.
UPDATE: Rubyw instructions are outdated please use RSDL (http://www.kumaryu.net/cgi-bin/diary/files/rsdl.tar.gz)