Prev: instructor solution manual for Cost Accounting-A Managerial Emphasis 13th Ed by Charles Horngren
Next: how to convert it into utf-8?
From: msoulier on 10 Jul 2010 23:47 I prefer to make use of my own ruby build for the most part, and for experimentation. I'm running Ubuntu 9.10 and I was surprised when I had issues building ruby 1.8.7 on it. First, I had to dig to find 1.8.7, there were no links on the main ruby website. Meanwhile Rails recommends 1.8.7. Then, math.c wouldn't compile due to an error exposed by gcc4. I fixed that. Once built, the unit tests failed on floats, as something was causing the interpreter to drop decimals in floats. ie. I entered 2.6 and got 26 instead. Now, 1.8.7 is built on ubuntu so I looked and it's 1.8.7-p174. Indeed, that does build fine. So, my question is, why doesn't the latest 1.8.7 build? Thanks, Mike
From: Joel VanderWerf on 11 Jul 2010 00:00
msoulier wrote: > I prefer to make use of my own ruby build for the most part, and for > experimentation. I'm running Ubuntu 9.10 and I was surprised when I > had issues building ruby 1.8.7 on it. > > First, I had to dig to find 1.8.7, there were no links on the main > ruby website. Meanwhile Rails recommends 1.8.7. > > Then, math.c wouldn't compile due to an error exposed by gcc4. I fixed > that. > > Once built, the unit tests failed on floats, as something was causing > the interpreter to drop decimals in floats. ie. I entered 2.6 and got > 26 instead. > > Now, 1.8.7 is built on ubuntu so I looked and it's 1.8.7-p174. Indeed, > that does build fine. So, my question is, why doesn't the latest 1.8.7 > build? I remember seeing this with gcc-4.4 and some *older* ruby patchlevels, but that problem seems to have gone away more recently. I'm using ubuntu 9.10 with: $ ruby -v ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] $ gcc --version gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |