Fastthread on x86_64?

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:inrequire’
from (irb):1

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

Alex Y. wrote:

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

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