# Mongrel and fastthread on ruby 1.9?

**URL:** <https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541>\
**Category:** Mongrel\
**Created:** [November 18, 2007, 7:22am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541 "2007-11-18T07:22:19Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 18, 2007, 7:22am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/1 "2007-11-18T07:22:19Z")

</div>

Is anybody testing mongrel on ruby 1.9. I just tried installing  
mongrel on trunk 1.9 and trunk rubygems and got this error compiling  
fastthread:

/Users/stephen/dev/ruby/1.9\_trunk/bin/ruby extconf.rb install mongrel  
–no-rdoc  
creating Makefile

make  
gcc -I.  
-I/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/i686-darwin8.10.1  
-I/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9 -I. -fno-common  
-g -O2 -fno-common -pipe -fno-common -c fastthread.c  
fastthread.c:13:20: error: intern.h: No such file or directory  
fastthread.c:349: error: static declaration of ‘rb\_mutex\_locked\_p’  
follows non-static declaration  
/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/ruby/intern.h:553:  
error: previous declaration of ‘rb\_mutex\_locked\_p’ was here  
fastthread.c:366: error: static declaration of ‘rb\_mutex\_try\_lock’  
follows non-static declaration  
/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/ruby/intern.h:554:  
error: previous declaration of ‘rb\_mutex\_try\_lock’ was here  
fastthread.c:406: error: static declaration of ‘rb\_mutex\_lock’  
follows non-static declaration  
/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/ruby/intern.h:555:  
error: previous declaration of ‘rb\_mutex\_lock’ was here  
fastthread.c:463: error: static declaration of ‘rb\_mutex\_unlock’  
follows non-static declaration  
/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/ruby/intern.h:556:  
error: previous declaration of ‘rb\_mutex\_unlock’ was here  
fastthread.c:524: error: static declaration of ‘rb\_mutex\_synchronize’  
follows non-static declaration  
/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9/ruby/intern.h:558:  
error: previous declaration of ‘rb\_mutex\_synchronize’ was here  
fastthread.c: In function ‘wait\_condvar’:  
fastthread.c:626: warning: passing argument 1 of ‘rb\_ensure’ from  
incompatible pointer type  
make: \*\*\* [fastthread.o] Error 1

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 19, 2007, 1:34am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/2 "2007-11-19T01:34:56Z")

</div>

No, we are not. Fastthread will almost certainly not work.

Evented Mongrel might have a better chance at working smoothly because  
of all the threading changes.

Evan

On Nov 18, 2007 1:12 AM, Stephen B.

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 19, 2007, 11:55am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/3 "2007-11-19T11:55:09Z")

</div>

On Nov 18, 2007 3:12 AM, Stephen B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> -I/Users/stephen/dev/ruby/1.9\_trunk/include/ruby-1.9 -I. -fno-common  
> fastthread.c:406: error: static declaration of ‘rb\_mutex\_lock’  
> error: previous declaration of ‘rb\_mutex\_synchronize’ was here  
> fastthread.c: In function ‘wait\_condvar’:  
> fastthread.c:626: warning: passing argument 1 of ‘rb\_ensure’ from  
> incompatible pointer type  
> make: \*\*\* [fastthread.o] Error 1
> 
> * * *
> 
> Mongrel-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/mongrel-users](http://rubyforge.org/mailman/listinfo/mongrel-users)

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 19, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/4 "2007-11-19T15:53:59Z")

</div>

Here’s an initial patch to support ruby 1.9

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 19, 2007, 11:58am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/5 "2007-11-19T11:58:42Z")

</div>

On Nov 18, 2007 3:12 AM, Stephen B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is anybody testing mongrel on ruby 1.9. I just tried installing  
> mongrel on trunk 1.9 and trunk rubygems and got this error compiling  
> fastthread:

Fastthread corrected problems on Ruby 1.8 implementation of array,  
mutex and synchronize.

These corrections where merged to trunk and are available under  
–disable-fastthread option of configure.

Also, ruby 1.8.6 ships with these changes, so dependency of fastthread  
is only required for ruby \< 1.8.6

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [June 12, 2008, 7:52am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/6 "2008-06-12T07:52:59Z")

</div>

> But anyway, you need to manually build and install mongrel from source  
> since the gem dependency will remain there.
> 
> Hmn, second thought: maybe we could remove the “official” dependency  
> on fastthread and evaluate if the ruby version you’re using is fixed?
> 
> In the same idea of cgi-eof-fix  
> (long-name-of-gem-to-be-easily-remembered).

'twould indeed be a nice convenience to have a mongrel gem that built on  
ruby 1.9 🙂

These days even checking it out from trunk yields errors.  
-R

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 19, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/7 "2007-11-19T16:12:55Z")

</div>

On Nov 18, 2007 6:51 PM, Todd F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Here’s an initial patch to support ruby 1.9

The patch you sent has nothing in relation to what Stephen is  
commenting: he couldn’t get mongrel installed as gem since fastthread  
compile process failed.

Anyway, the support for 1.9 was discussed last month on #mongrel-dev  
and the result was something like you attached.

But anyway, you need to manually build and install mongrel from source  
since the gem dependency will remain there.

Hmn, second thought: maybe we could remove the “official” dependency  
on fastthread and evaluate if the ruby version you’re using is fixed?

In the same idea of cgi-eof-fix  
(long-name-of-gem-to-be-easily-remembered).

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 22, 2008, 2:02am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/8 "2008-11-22T02:02:51Z")

</div>

Luis L. wrote:

> These corrections where merged to trunk and are available under  
> –disable-fastthread option of configure.
> 
> Also, ruby 1.8.6 ships with these changes, so dependency of fastthread  
> is only required for ruby \< 1.8.6

At what stage in the installation process of which component can I  
specify this flag? Do I need to specify it when invoking configure  
before compiling Ruby 1.9.1 from source? And does anyone know if Mongrel  
will successfully install and run afterwards? And how likely is it that  
disabling fastthread will break other things?

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [June 12, 2008, 8:02am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/9 "2008-06-12T08:02:20Z")

</div>

> These days even checking it out from trunk yields errors.  
> -R

Anybody seen anything like this before?  
/Users/rogerpack/dev/ruby\_19\_installed/lib/ruby/site\_ruby/1.9.0/mongrel/handlers.rb:214:  
warning: else without rescue is useless  
SyntaxError:  
/Users/rogerpack/dev/ruby\_19\_installed/lib/ruby/site\_ruby/1.9.0/mongrel/handlers.rb:208:  
syntax error, unexpected ‘:’, expecting keyword\_then or ‘,’ or ‘;’ or  
‘\n’  
…te(modified\_since) rescue nil : false  
… ^  
/Users/rogerpack/dev/ruby\_19\_installed/lib/ruby/site\_ruby/1.9.0/mongrel/handlers.rb:209:  
syntax error, unexpected ‘:’, expecting keyword\_end  
… : false

with 1.9?  
-R

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [June 12, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/10 "2008-06-12T15:45:20Z")

</div>

> SyntaxError:  
> /Users/rogerpack/dev/ruby\_19\_installed/lib/ruby/site\_ruby/1.9.0/mongrel/handlers.rb:208:  
> syntax error, unexpected ‘:’, expecting keyword\_then or ‘,’ or ‘;’ or  
> ‘\n’

replacing those colons with ‘then’ seems to at least let it pass the  
syntax checker.  
Now if I can just get merb and hpricot to work on 1.9…  
Thanks!  
-R

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 23, 2008, 12:08am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/11 "2008-11-23T00:08:16Z")

</div>

> At what stage in the installation process of which component can I  
> specify this flag? Do I need to specify it when invoking configure  
> before compiling Ruby 1.9.1 from source? And does anyone know if Mongrel  
> will successfully install and run afterwards? And how likely is it that  
> disabling fastthread will break other things?

I believe it’s  
gem install something – --disable-fastthread

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 23, 2008, 12:41am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/12 "2008-11-23T00:41:03Z")

</div>

Hmm looks like that didn’t help.  
I typically just install mongrel from the mongrel SVN into 1.9.  
-=R

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 23, 2008, 12:26am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/13 "2008-11-23T00:26:26Z")

</div>

Roger P. wrote:

> I believe it’s  
> gem install something – --disable-fastthread

nope. that didn’t help. but thanks anyway.

still getting the same:

$ sudo /usr/local/bin/gem install mongrel – --disable-fastthread  
Building native extensions. This could take a while…  
ERROR: Error installing mongrel:  
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install mongrel – --disable-fastthread  
creating Makefile

make  
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin9.5.0  
-I/usr/local/include/ruby-1.9.1/ruby/backward  
-I/usr/local/include/ruby-1.9.1 -I. -D\_XOPEN\_SOURCE -D\_DARWIN\_C\_SOURCE  
-fno-common -D\_XOPEN\_SOURCE=1 -O2 -g -Wall -Wno-parentheses -fno-common  
-pipe -fno-common -o fastthread.o -c fastthread.c  
fastthread.c:13:20: error: intern.h: No such file or directory  
In file included from fastthread.c:14:  
/usr/local/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning:  
#warning rubysig.h is obsolete  
fastthread.c:349: error: static declaration of â€˜rb\_mutex\_locked\_pâ€™  
follows non-static declaration  
/usr/local/include/ruby-1.9.1/ruby/intern.h:674: error: previous  
declaration of â€˜rb\_mutex\_locked\_pâ€™ was here  
fastthread.c:366: error: static declaration of â€˜rb\_mutex\_try\_lockâ€™  
follows non-static declaration  
/usr/local/include/ruby-1.9.1/ruby/intern.h:675: error: previous  
declaration of â€˜rb\_mutex\_try\_lockâ€™ was here  
fastthread.c: In function â€˜lock\_mutexâ€™:  
fastthread.c:392: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c:392: error: (Each undeclared identifier is reported only  
once  
fastthread.c:392: error: for each function it appears in.)  
fastthread.c: At top level:  
fastthread.c:406: error: static declaration of â€˜rb\_mutex\_lockâ€™ follows  
non-static declaration  
/usr/local/include/ruby-1.9.1/ruby/intern.h:676: error: previous  
declaration of â€˜rb\_mutex\_lockâ€™ was here  
fastthread.c: In function â€˜set\_criticalâ€™:  
fastthread.c:438: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c: In function â€˜unlock\_mutexâ€™:  
fastthread.c:447: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c: At top level:  
fastthread.c:463: error: static declaration of â€˜rb\_mutex\_unlockâ€™ follows  
non-static declaration  
/usr/local/include/ruby-1.9.1/ruby/intern.h:677: error: previous  
declaration of â€˜rb\_mutex\_unlockâ€™ was here  
fastthread.c: In function â€˜rb\_mutex\_exclusive\_unlockâ€™:  
fastthread.c:499: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c: At top level:  
fastthread.c:524: error: static declaration of â€˜rb\_mutex\_synchronizeâ€™  
follows non-static declaration  
/usr/local/include/ruby-1.9.1/ruby/intern.h:679: error: previous  
declaration of â€˜rb\_mutex\_synchronizeâ€™ was here  
fastthread.c: In function â€˜wait\_condvarâ€™:  
fastthread.c:620: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c:626: warning: passing argument 1 of â€˜rb\_ensureâ€™ from  
incompatible pointer type  
fastthread.c: In function â€˜rb\_condvar\_broadcastâ€™:  
fastthread.c:684: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c: In function â€˜signal\_condvarâ€™:  
fastthread.c:703: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
fastthread.c: In function â€˜rb\_queue\_marshal\_loadâ€™:  
fastthread.c:824: error: â€˜struct RArrayâ€™ has no member named â€˜lenâ€™  
fastthread.c:828: error: â€˜struct RArrayâ€™ has no member named â€˜ptrâ€™  
fastthread.c:828: error: â€˜struct RArrayâ€™ has no member named â€˜lenâ€™  
fastthread.c: In function â€˜Init\_fastthreadâ€™:  
fastthread.c:1182: error: â€˜rb\_thread\_criticalâ€™ undeclared (first use in  
this function)  
make: \*\*\* [fastthread.o] Error 1

Gem files will remain installed in  
/usr/local/lib/ruby/gems/1.9.1/gems/fastthread-1.0.1 for inspection.  
Results logged to  
/usr/local/lib/ruby/gems/1.9.1/gems/fastthread-1.0.1/ext/fastthread/gem\_make.ou

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 23, 2008, 12:45am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/14 "2008-11-23T00:45:11Z")

</div>

i’ve tried downloading mongrel as a tarball and installing via setup.rb,  
but that doesn’t work either:

—\> bin  
\<— bin  
—\> lib  
—\> lib/mongrel  
\<— lib/mongrel  
\<— lib  
—\> ext  
—\> ext/http11  
/usr/local/bin/ruby /usr/local/src/mongrel-1.1.5/ext/http11/extconf.rb  
checking for main() in -lc… yes  
creating Makefile  
—\> ext/http11/conftest.dSYM  
—\> ext/http11/conftest.dSYM/Contents  
—\> ext/http11/conftest.dSYM/Contents/Resources  
—\> ext/http11/conftest.dSYM/Contents/Resources/DWARF  
\<— ext/http11/conftest.dSYM/Contents/Resources/DWARF  
\<— ext/http11/conftest.dSYM/Contents/Resources  
\<— ext/http11/conftest.dSYM/Contents  
\<— ext/http11/conftest.dSYM  
\<— ext/http11  
—\> ext/http11\_java  
—\> ext/http11\_java/org  
—\> ext/http11\_java/org/jruby  
—\> ext/http11\_java/org/jruby/mongrel  
\<— ext/http11\_java/org/jruby/mongrel  
\<— ext/http11\_java/org/jruby  
\<— ext/http11\_java/org  
\<— ext/http11\_java  
\<— ext  
—\> bin  
\<— bin  
—\> lib  
—\> lib/mongrel  
\<— lib/mongrel  
\<— lib  
—\> ext  
—\> ext/http11  
make  
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-darwin9.5.0  
-I/usr/local/include/ruby-1.9.1/ruby/backward  
-I/usr/local/include/ruby-1.9.1  
-I/usr/local/src/mongrel-1.1.5/ext/http11 -D\_XOPEN\_SOURCE  
-D\_DARWIN\_C\_SOURCE -fno-common -D\_XOPEN\_SOURCE=1 -O2 -g -Wall  
-Wno-parentheses -fno-common -pipe -fno-common -o http11.o -c http11.c  
http11.c: In function â€˜http\_fieldâ€™:  
http11.c:77: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:77: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
http11.c:77: warning: left-hand operand of comma expression has no  
effect  
http11.c:77: warning: statement with no effect  
http11.c: In function â€˜header\_doneâ€™:  
http11.c:172: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:174: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:176: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:177: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
http11.c: In function â€˜HttpParser\_executeâ€™:  
http11.c:298: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:299: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
make: \*\*\* [http11.o] Error 1  
./setup.rb:655:in `command': system("make") failed (RuntimeError) from ./setup.rb:664:in`make’  
from ./setup.rb:1258:in `setup_dir_ext' from ./setup.rb:1532:in`block in traverse’  
from ./setup.rb:1549:in `dive_into' from ./setup.rb:1530:in`traverse’  
from ./setup.rb:1534:in `block (2 levels) in traverse' from ./setup.rb:1533:in`each’  
from ./setup.rb:1533:in `block in traverse' from ./setup.rb:1549:in`dive\_into’  
from ./setup.rb:1530:in `traverse' from ./setup.rb:1524:in`block in exec\_task\_traverse’  
from ./setup.rb:1519:in `each' from ./setup.rb:1519:in`exec\_task\_traverse’  
from ./setup.rb:1246:in `exec_setup' from ./setup.rb:996:in`exec\_setup’  
from ./setup.rb:813:in `invoke' from ./setup.rb:773:in`invoke’  
from ./setup.rb:1578:in `’

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 23, 2008, 12:52am UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/15 "2008-11-23T00:52:29Z")

</div>

I assume that’s the equivalent of using SVN trunk?

> tarball

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 24, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/16 "2008-11-24T14:48:13Z")

</div>

On Fri, Nov 21, 2008 at 11:02 PM, Joe C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> will successfully install and run afterwards? And how likely is it that  
> disabling fastthread will break other things?

When compiling ruby from source (either 1.8.6 or 1.9) both get  
fastthread enabled by default, you need to explicitly disable it in  
case that you don’t want it (which I will doubt).

So unless you depend on a package made by debian which they decided  
not to enable that helpful flag, you will not need to worry.

Again, modern Ruby no need for fastthread (is built-in in ruby) so  
mongrel will remove fastthread from the dependency and required if  
present.

That sounds better explanation?

## – Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 24, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/17 "2008-11-24T17:21:02Z")

</div>

On Sat, Nov 22, 2008 at 9:08 PM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > At what stage in the installation process of which component can I  
> > specify this flag? Do I need to specify it when invoking configure  
> > before compiling Ruby 1.9.1 from source? And does anyone know if Mongrel  
> > will successfully install and run afterwards? And how likely is it that  
> > disabling fastthread will break other things?
> 
> I believe it’s  
> gem install something – --disable-fastthread

No, is a ruby configure process, not gem installation.

Mongrel will no longer mark fastthread as dependency but try to  
require it if is found.

## – Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 24, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/18 "2008-11-24T17:21:50Z")

</div>

> Mongrel will no longer mark fastthread as dependency but try to  
> require it if is found.

Nice.  
-=R

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [November 24, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/mongrel-and-fastthread-on-ruby-1-9/120541/19 "2008-11-24T17:01:05Z")

</div>

On Sat, Nov 22, 2008 at 9:41 PM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hmm looks like that didn’t help.  
> I typically just install mongrel from the mongrel SVN into 1.9.  
> -=R

?

Sorry but I get lost if you cut the whole thread that you reply to.

fastthread dependency is not removed right now, is planned.

## – Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams
