Forum: Ruby ruby 1.9.1 without native threads?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7877268675d21c33224951b247d518cf?d=identicon&s=25 Tom M (Guest)
on 2008-11-10 22:25
(Received via mailing list)
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
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2008-11-11 07:31
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
This topic is locked and can not be replied to.