# Ruby 1.9.1 without native threads?

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-1-without-native-threads/152989>\
**Category:** Ruby\
**Created:** [November 10, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-without-native-threads/152989 "2008-11-10T22:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 10, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-without-native-threads/152989/1 "2008-11-10T22:25:48Z")

</div>

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 M.klin

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 11, 2008, 7:31am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-without-native-threads/152989/2 "2008-11-11T07:31:02Z")

</div>

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
