[Mongrel] error when installing on jruby (fastthread dependency)

Wayne E. Seguin wayneeseguin at gmail.com
Sat Dec 22 10:55:19 EST 2007


On Dec 22, 2007 10:29 AM, Stephen Bannasch <stephen.bannasch at deanbrook.org>
wrote:

> I'm running jruby trunk which has integrated rubygems 1.0.0 and when
> I try and install mongrel with gem it blows up when the fastthread
> dependency tries to do a native compilation.
>
> I couldn't find a copy of the gemspec in the svn checkout but looking
> at the one installed when gem installing mongrel didn't show any
> platform differentiation. There is platform differentiation in the
> rake file.
>
> It looks like the gemspec is derived somehow from the rake task (the
> rake file is in the gemspec as comments).
>
> Here's the error when I try and install mongrel:
>
> $ gem install mongrel -V
> Installing gem fastthread-1.0.1
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/test/test_queue.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/test/test_mutex.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/test/test_condvar.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/test/test_all.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/setup.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/Manifest
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/ext/fastthread/fastthread.c
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/ext/fastthread/extconf.rb
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/CHANGELOG
> /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/fastthread-
> 1.0.1/fastthread.gemspec
> Building native extensions.  This could take a while...
> extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
> ERROR:  Error installing mongrel:
>         ERROR: Failed to build gem native extension.
>
>
Stephen,

Could you please verify that this issue has not been fixed on Mongrel trunk?

Thank you!

  ~Wayne


(use rake install to install from trunk)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071222/bcef6cc1/attachment-0001.html 


More information about the Mongrel-users mailing list