Lyle Johnson
2005-Feb-26 22:25 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
All, Someone has submitted a bug report that seems to be specific to the x86-64 platform (running Ubuntu Linux 4.10). (He reports that the code works fine under x86 Linux, as expected.) I don''t have access to an x86-64 platform for debugging or testing this problem. Can anyone volunteer to help out? The problem seems to occur up-front, when trying to do: require ''fox12'' so the first step would be to try to figure out where in the code it''s hanging. Not sure how complicated things would get past that point. Thanks in advance, Lyle
Lyle Johnson
2005-Feb-26 22:44 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On Feb 26, 2005, at 9:29 PM, Lyle Johnson wrote:> Someone has submitted a bug report that seems to be specific to the > x86-64 platform (running Ubuntu Linux 4.10).Forgot to mention: the bug report is here: http://rubyforge.org/tracker/? func=detail&aid=1540&group_id=300&atid=1223 Lyle
Shad Sterling
2005-Mar-02 18:49 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
I have an x86-64 machine at work I can do some with, and I couldn''t get the fxruby gem to install. I''ve never tried to use fxruby, I suspect the problem is something really obvious that the installer isn''t giving a clear error message about. [root@datastor rubygems-0.8.6]# gem install fxruby Config file /root/.gemrc does not exist Attempting local installation of ''fxruby'' Local gem file not found: fxruby*.gem Attempting remote installation of ''fxruby'' Updating Gem source index for: http://gems.rubyforge.org Select which gem to install for your platform (x86_64-linux) 1. fxruby 1.2.5 (mswin32) 2. fxruby 1.2.5 (ruby) 3. fxruby 1.2.4 (ruby) 4. fxruby 1.2.4 (mswin32) 5. fxruby 1.2.3 (mswin32) 6. fxruby 1.2.3 (ruby) 7. fxruby 1.2.2 (mswin32) 8. fxruby 1.2.2 (ruby) 9. fxruby 1.2.1 (ruby) 10. fxruby 1.2.1 (mswin32) 11. Cancel installation> 2Building native extensions. This could take a while... can''t find header files for ruby. ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/fxruby-1.2.5 for inspection. ruby extconf.rb install fxruby\n Results logged to /usr/lib64/ruby/gems/1.8/gems/fxruby-1.2.5/ext/fox12/gem_make.out On Sat, 26 Feb 2005 21:48:55 -0600, Lyle Johnson <lyle@knology.net> wrote:> > > Someone has submitted a bug report that seems to be specific to the > > x86-64 platform (running Ubuntu Linux 4.10). > > Forgot to mention: the bug report is here: > > http://rubyforge.org/tracker/?func=detail&aid=1540&group_id=300&atid=1223 > > Lyle >---------- Please do not send personal (non-list-related) mail to this address. Personal mail should be sent to polyergic@sterfish.com.
Lyle Johnson
2005-Mar-02 19:07 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On Mar 2, 2005, at 5:53 PM, Shad Sterling wrote:> I have an x86-64 machine at work I can do some with, and I couldn''t > get the fxruby gem to install.<snip>> Results logged to > /usr/lib64/ruby/gems/1.8/gems/fxruby-1.2.5/ext/fox12/gem_make.outCould you maybe send me this file (off list)? I suppose it will tell us what went wrong. For what it''s worth, the original bug report (referred to in my previous e-mail) seems to indicate that the reporter got the software built and installed, but that it just hangs up when he tries to ''require'' it into Ruby. So we should at least be able to get that far. ;)
Lyle Johnson
2005-Mar-03 21:04 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On Mar 2, 2005, at 5:53 PM, Shad Sterling wrote:> I have an x86-64 machine at work I can do some with, and I couldn''t > get the fxruby gem to install. > I''ve never tried to use fxruby, I suspect the problem is something > really obvious that the installer isn''t giving a clear error message > about. > > [root@datastor rubygems-0.8.6]# gem install fxruby<snip>> Building native extensions. This could take a while... > can''t find header files for ruby.<snip> Well, I should have looked at that more closely: "can''t find header files for ruby". So yes, something appears to be broken in your Ruby installation before we even get around to FXRuby...
Shad Sterling
2005-Mar-14 16:24 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On Thu, 3 Mar 2005 20:08:25 -0600, Lyle Johnson <lyle@knology.net> wrote:> > On Mar 2, 2005, at 5:53 PM, Shad Sterling wrote: > > > I have an x86-64 machine at work I can do some with, and I couldn''t > > get the fxruby gem to install. > > I''ve never tried to use fxruby, I suspect the problem is something > > really obvious that the installer isn''t giving a clear error message > > about. > > > > [root@datastor rubygems-0.8.6]# gem install fxruby > > <snip> > > > Building native extensions. This could take a while... > > can''t find header files for ruby. > > <snip> > > Well, I should have looked at that more closely: "can''t find header > files for ruby". So yes, something appears to be broken in your Ruby > installation before we even get around to FXRuby... > >I''m running PLD, and have installed ruby-1.8.2-2.20040906.4. I looked for a ruby-libs package (in poldek; using primarially ftp://ftp.amd64.ac.pld-linux.org/dists/ac/PLD/amd64/PLD/RPMS/ ), and failed to find one. I thought the package ruby-static might have them, but apparently not. What am I missing here, to get the ruby headers? -- ---------- Please do not send personal (non-list-related) mail to this address. Personal mail should be sent to polyergic@sterfish.com.
lyle@knology.net
2005-Mar-14 17:05 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On Mon, 14 Mar 2005 16:29:07 -0500, Shad Sterling <polyergic@gmail.com> wrote :> I''m running PLD, and have installed ruby-1.8.2-2.20040906.4. I looked > for a ruby-libs package (in poldek; using primarially > ftp://ftp.amd64.ac.pld-linux.org/dists/ac/PLD/amd64/PLD/RPMS/ ), and > failed to find one. I thought the package ruby-static might have > them, but apparently not. > > What am I missing here, to get the ruby headers?I''m having trouble finding a list of the packages available for PLD Linux (I''m just not all that familiar with that distro), but for a lot of distros the header files are off in a separate package with a name like "ruby-devel" or the like. There''s often a distinction between the basic runtime support package (i.e. the interpreter and standard libraries -- just what you need to run Ruby programs) and the developer support package (which would additionally include the header files). Is there maybe a way to search through PLD''s packages for the one that contains the file "ruby.h"? That might be a way to pin it down.
Shad Sterling
2005-Mar-23 17:20 UTC
[fxruby-users] Does anyone have access to an x86-64 box?
On 14 Mar 2005 22:10:19 -0000, lyle@knology.net <lyle@knology.net> wrote:> > On Mon, 14 Mar 2005 16:29:07 -0500, Shad Sterling <polyergic@gmail.com> wrote : > > > I''m running PLD, and have installed ruby-1.8.2-2.20040906.4. I looked > > for a ruby-libs package (in poldek; using primarially > > ftp://ftp.amd64.ac.pld-linux.org/dists/ac/PLD/amd64/PLD/RPMS/ ), and > > failed to find one. I thought the package ruby-static might have > > them, but apparently not. > > > > What am I missing here, to get the ruby headers? > > I''m having trouble finding a list of the packages available for PLD Linux > (I''m just not all that familiar with that distro), but for a lot of distros > the header files are off in a separate package with a name like "ruby-devel" > or the like. There''s often a distinction between the basic runtime support > package (i.e. the interpreter and standard libraries -- just what you need > to run Ruby programs) and the developer support package (which would > additionally include the header files). > > Is there maybe a way to search through PLD''s packages for the one that > contains the file "ruby.h"? That might be a way to pin it down. >Duh. The PLD package ruby-devel has the headers. I don''t think of installing as a developer task, so I didn''t think of looking at the developer packages. (Nevermind that fxruby is more or less a developer tool...) It turns out that I can''t use the gem to run that file anyway, I had to build fxruby from source, which was easy enough except that I didn''t see a list anywhere of which -devel packages need to be installed. (Looks like ruby, fox, and glibc.) Now that I have everything installed, I can run the file, and it exits cleanly after almost .5s. Whatever the problem is, it appears to not occur under PLD. - Shad -- ---------- Please do not send personal (non-list-related) mail to this address. Personal mail should be sent to polyergic@sterfish.com.