From: Roger Pack Date: 2008-11-08T06:36:23+09:00 Subject: Re: Poor performance of Ruby 1.8.7 when installed with MacPorts > Could someone explain this to to me. I checked the macports page a few > days back and it said it disables/deletes -enable-pthreads due to some > bug. So does that not mean that it's not there. As pointed above, it > uses thread_hooks instead. apparently somebody said that the most recent macport of it now compiles with pthreads disabled. > > 1. Is there any commandline option or other way of my ascertaining > whether my install uses pthreads or not. from [1] Maybe try with "ldd" on the ruby binaries--can't remember what the mac equivalent is but it exists. > Another newb question: > > 2. One of the prev posts suggests altering config.h and running > ./configure. However, if one is using sudo port install how does one do > this? I do not have a "configure" in my ruby folder and my config.h > (/opt/local/var/macports/software/ruby/1.8.7-p22_3+darwin_9_powerpc+thread_hooks/opt/local/lib/ruby/1.8/powerpc-darwin9.4.0/config.h) > does not contain GETCONTEXT. If you install it from source you should be able to get at it right...not sure using macports. GL. -=R [1] http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/a31872d447e867cb/40a92a28e9e03793 -- Posted via http://www.ruby-forum.com/.