ruby 1.9.1 without native threads?

Discussion in 'Ruby' started by Tom M, Nov 10, 2008.

  1. Tom M

    Tom M Guest

    I downloaded ruby 1.9.1-preview1 and ran ./configure --enable-
    threads=no on both Leopard and an old RH box. According to the
    configure script, this is a valid option. However, when I try to run
    make, I get an error:

    gcc -O2 -g -Wall -Wno-parentheses -pipe -fno-common -I. -I.ext/
    include/i386-darwin9.5.0 -I./include -I. -DRUBY_EXPORT -
    D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dmyencoding.o -c dmyencoding.c
    make: *** No rule to make target `thread_.h', needed by
    `miniprelude.o'. Stop.

    Is this an actual bug in the build, or is the configure script simply
    wrong in saying that ruby 1.9 can build w/o pthread?

    Thanks,
    Tom Macklin
     
    Tom M, Nov 10, 2008
    #1
    1. Advertising

  2. Tom M

    Roger Pack Guest

    Tom M wrote:
    > I downloaded ruby 1.9.1-preview1 and ran ./configure --enable-
    > threads=no on both Leopard and an old RH box. According to the
    > configure script, this is a valid option. However, when I try to run
    > make, I get an error:
    >
    > gcc -O2 -g -Wall -Wno-parentheses -pipe -fno-common -I. -I.ext/
    > include/i386-darwin9.5.0 -I./include -I. -DRUBY_EXPORT -
    > D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o dmyencoding.o -c dmyencoding.c
    > make: *** No rule to make target `thread_.h', needed by
    > `miniprelude.o'. Stop.
    >


    looks like either a bug in the build or a dependency miniprelude has
    with threads. I'd ask in ruby core.
    Thanks!
    -=R
    --
    Posted via http://www.ruby-forum.com/.
     
    Roger Pack, Nov 11, 2008
    #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. Nataraj M Basppa

    Monitoring native threads using JNI

    Nataraj M Basppa, Feb 5, 2007, in forum: Java
    Replies:
    3
    Views:
    612
    Gordon Beaton
    Feb 5, 2007
  2. threads without threads

    , Aug 27, 2004, in forum: C Programming
    Replies:
    4
    Views:
    450
    William Ahern
    Aug 27, 2004
  3. Voroztsov Artem
    Replies:
    0
    Views:
    205
    Voroztsov Artem
    Nov 24, 2007
  4. Rick Penn

    native threads in ruby

    Rick Penn, Jan 16, 2008, in forum: Ruby
    Replies:
    6
    Views:
    142
    Charles Oliver Nutter
    Jan 17, 2008
  5. Deb 123
    Replies:
    2
    Views:
    127
    Deb 123
    Feb 20, 2008
Loading...

Share This Page