Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby 1.9.1 without native threads?

Reply
Thread Tools

ruby 1.9.1 without native threads?

 
 
Tom M
Guest
Posts: n/a
 
      11-10-2008
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
 
Reply With Quote
 
 
 
 
Roger Pack
Guest
Posts: n/a
 
      11-11-2008
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/.

 
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
native python matrix class (2D list), without inverse DarrenWeber Python 0 06-14-2007 12:28 AM
Compiling native extension into Ruby David Craine Ruby 4 01-12-2005 11:42 AM
ruby-mysql native extension for mswin32 Sarah Tanembaum Ruby 1 12-19-2004 09:55 PM
rpa-base, ruby-gems and native package installers Ruben Ruby 5 08-18-2004 04:00 PM
signaling a ruby thread from a win32 native thread Vincenzo Piombo Ruby 1 05-21-2004 02:43 AM



Advertisments