On Mar 3, 2007, at 9:53 AM, Timothy Hunter wrote: > James Edward Gray II wrote: >> On Mar 3, 2007, at 9:39 AM, Timothy Hunter wrote: >> >>> The reason I'm asking these questions is because I'm working on a >>> Ruby program to download and install ImageMagick, all its >>> delegate libraries, and RMagick, on OS X, starting from scratch >>> and not using MacPorts. >> >> I just spent about a day fixing my RMagick install (on Mac OS X), >> that had become horribly broken, so releasing something like this >> would make you a hero in my eyes. >> >> James Edward Gray II >> > Ouch! Sorry you had trouble. Email me when you have a problem, > James. I'll be glad to do what I can to help. > > BTW, just last week I updated my "Installing RMagick on OS X HOWTO" > here: http://rmagick.rubyforge.org/install-osx.html. I guess it's > too late to help you but maybe it'll help somebody else. > Here is a shell script I wrote a while ago to build ruby/imagemagick/ rmagick on OSX without using macports. Feel free to use it if you want. #!/bin/sh # Install Ruby & IMageMagick & RMagick on Macintosh OS X 10.4.7 (Intel) # Stock Apple Developer Tools (2.3) # Readline READLINE_VERSION="5.1" wget ftp://ftp.gnu.org/gnu/readline/readline-${READLINE_VERSION}.tar.gz tar xzvf readline-${READLINE_VERSION}.tar.gz pushd readline-${READLINE_VERSION} ./configure --prefix=/usr/local make sudo make install popd # Ruby RUBY_VERSION="1.8.5" wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-${RUBY_VERSION}.tar.gz tar xfz ruby-${RUBY_VERSION}.tar.gz pushd ruby-${RUBY_VERSION} ./configure make sudo make install popd # Ruby Gems GEM_VERSION="0.9.2" wget http://rubyforge.org/frs/download.php/11289/rubygems-$ {GEM_VERSION}.tgz tar xfz rubygems-${GEM_VERSION}.tgz pushd rubygems-${GEM_VERSION} sudo ruby setup.rb popd # ImageMagick LPNG_VERSION="1.2.12" wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-$ {LPNG_VERSION}.tar.gz tar xfz libpng-${LPNG_VERSION}.tar.gz pushd libpng-${LPNG_VERSION} ./configure make sudo make install popd JPEG_VERSION="6b" wget http://www.ijg.org/files/jpegsrc.v${JPEG_VERSION}.tar.gz tar xfz jpegsrc.v${JPEG_VERSION}.tar.gz pushd jpeg-${JPEG_VERSION} ./configure make sudo make install sudo make install-lib popd TIFF_VERSION="3.8.2" wget ftp://ftp.remotesensing.org/pub/libtiff/tiff-${TIFF_VERSION}.tar.gz tar xfz tiff-${TIFF_VERSION}.tar.gz pushd tiff-${TIFF_VERSION} ./configure make sudo make install popd IM_VERSION_MAJOR="6.2.9" IM_VERSION_MINOR="4" IM_VERSION="${IM_VERSION_MAJOR}-${IM_VERSION_MINOR}" wget ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-$ {IM_VERSION}.tar.gz tar xfz ImageMagick-${IM_VERSION}.tar.gz pushd ImageMagick-${IM_VERSION_MAJOR} ./configure make sudo make install popd sudo gem install rmagick Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- ez / engineyard.com -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273)