Fastthread on x86_64?

Discussion in 'Ruby' started by Alex Young, Jun 12, 2007.

  1. Alex Young

    Alex Young Guest

    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
     
    Alex Young, Jun 12, 2007
    #1
    1. Advertising

  2. Alex Young

    Alex Young Guest

    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
     
    Alex Young, Jun 12, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MenTaLguY

    [ANN] fastthread 0.4

    MenTaLguY, Nov 23, 2006, in forum: Ruby
    Replies:
    4
    Views:
    123
    M. Edward (Ed) Borasky
    Nov 24, 2006
  2. MenTaLguY

    [ANN] fastthread 0.6.2

    MenTaLguY, Jan 19, 2007, in forum: Ruby
    Replies:
    4
    Views:
    128
    MenTaLguY
    Jan 19, 2007
  3. MenTaLguY

    [ANN] fastthread-0.6.3

    MenTaLguY, Jan 26, 2007, in forum: Ruby
    Replies:
    1
    Views:
    84
    MenTaLguY
    Jan 31, 2007
  4. Akinori MUSHA
    Replies:
    0
    Views:
    69
    Akinori MUSHA
    Feb 10, 2007
  5. MenTaLguY

    [ANN] fastthread-0.6.4.1 released

    MenTaLguY, Feb 14, 2007, in forum: Ruby
    Replies:
    0
    Views:
    77
    MenTaLguY
    Feb 14, 2007
Loading...

Share This Page