[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Fastthread on x86_64?

Alex Young

6/12/2007 3:31:00 PM

Is this a known-bad combination? I'm installing onto Debian Etch, and:

$ ruby -v
ruby 1.8.5 (2006-08-25) [x86_64-linux]

When I gem install fastthread, I get these:

In file included from fastthread.c:12:
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:31:21: error: stdlib.h: No such
file or directory
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:35:21: error: string.h: No such
file or directory
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:45:19: error: stdio.h: No such
file or directory
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:67:20: error: alloca.h: No such
file or directory
...
(many more errors follow)
...
make clean
Successfully installed fastthread-1.0
$ irb
irb(main):001:0> require 'rubygems';require 'fastthread'
LoadError: no such file to load -- fastthread
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from (irb):1

I've probably forgotten something obvious, but I can't see what. Anyone
got any clues?

--
Alex

1 Answer

Alex Young

6/12/2007 3:35:00 PM

0

Alex Young wrote:
> Is this a known-bad combination? I'm installing onto Debian Etch, and:
<snip>

Never mind... apt-get install build-essential was the vital step.
*slaps forehead*

--
Alex