Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Fastthread on x86_64?

Reply
Thread Tools

Fastthread on x86_64?

 
 
Alex Young
Guest
Posts: n/a
 
      06-12-2007
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

 
Reply With Quote
 
 
 
 
Alex Young
Guest
Posts: n/a
 
      06-12-2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] fastthread-0.6.4.1 released MenTaLguY Ruby 0 02-14-2007 11:28 PM
[ANN] fastthread now default in ruby_1_8 Akinori MUSHA Ruby 0 02-10-2007 10:00 PM
[ANN] fastthread-0.6.3 MenTaLguY Ruby 1 01-31-2007 08:17 PM
[ANN] fastthread 0.6.2 MenTaLguY Ruby 4 01-19-2007 05:48 PM
[ANN] fastthread 0.4 MenTaLguY Ruby 4 11-24-2006 06:56 AM



Advertisments