Fastthread on x86_64?

A

Alex Young

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?
 
A

Alex Young

Alex said:
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*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top