Getting Ruby 1.9.1 p376 or 1.9.2 preview1 to work on Fedora 12

view full story

http://forums.fedoraforum.org – Download the source for openssl-0.9.8l http://www.openssl.org/source/openssl-0.9.8l.tar.gz $ tar -zcvf openssl-0.9.8l.tar.gz $ cd openssl-0.9.8l $ ./config --prefix=/usr/local --openssldir=/usr/local/openssl $ make clean $ make $ sudo make install Then reboot. I suppose you could also rehash, start a new terminal window or whatever. Then download ruby-1.9.1-p376 or ruby-1.9.2-preview1 http://ftp.ruby-lang.org/pub/ruby/1.....1-p376.tar.gz ftp://ftp.ruby-lang.org/pub/ruby/1.9...review1.tar.gz In the case of ruby-1.9.1-p376 $ tar -zxvf ruby-1.9.1-p376.tar.gz $ cd ruby-1.9.1-p376 $ env LDFLAGS="-L/usr/local" CPPFLAGS="-I/usr/local" ./configure --enable-pthread --program-suffix=19 --prefix=/usr/local $ make clean $ make $ ./ruby19 -v ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux] then sudo make install $ ruby19 -v ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux] then update your gems $ sudo gem19 update Updating installed gems Best of luck. You may have to install a few packages using yum like bison, and tcl-dev... Use the make errors to lead you to what you may need, then use $yum list | grep "whatever" replacing "whatever" with the keywords for the package name you are looking for, then install $sudo yum install "package name" Again, best of luck. -Michael ---------- Post added at 09:33 PM CST ---------- Previous post was at 08:35 PM CST ---------- Note, the "--enable-shared" configuration option for ruby results in a build failure. (HowTos)