# Problems install mongrel

**URL:** <https://www.ruby-forum.com/t/problems-install-mongrel/119208>\
**Category:** Ruby\
**Created:** [November 5, 2007, 12:03am UTC](https://www.ruby-forum.com/t/problems-install-mongrel/119208 "2007-11-05T00:03:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soroe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f9ae1b/32.png) [@soroe](https://www.ruby-forum.com/u/soroe)\
**Post date:** [November 5, 2007, 12:03am UTC](https://www.ruby-forum.com/t/problems-install-mongrel/119208/1 "2007-11-05T00:03:42Z")

</div>

Hey Guys,

I’m having problems with installing Mongrel on Ubuntu 7.1 (Gutsy  
Gibbons). I installed the ruby dev library as per an earlier thread and  
that got me further along the way. The install completes with the  
following (long) message:

==========================================================  
Building native extensions. This could take a while…  
tst\_search.c:3:19: error: stdio.h: No such file or directory  
tst\_search.c:4:20: error: stdlib.h: No such file or directory  
tst\_search.c:5:20: error: assert.h: No such file or directory  
tst\_search.c: In function â€˜tst\_searchâ€™:  
tst\_search.c:12: error: â€˜NULLâ€™ undeclared (first use in this function)  
tst\_search.c:12: error: (Each undeclared identifier is reported only  
once  
tst\_search.c:12: error: for each function it appears in.)  
make: \*\*\* [tst\_search.o] Error 1  
tst\_search.c:3:19: error: stdio.h: No such file or directory  
tst\_search.c:4:20: error: stdlib.h: No such file or directory  
tst\_search.c:5:20: error: assert.h: No such file or directory  
tst\_search.c: In function â€˜tst\_searchâ€™:  
tst\_search.c:12: error: â€˜NULLâ€™ undeclared (first use in this function)  
tst\_search.c:12: error: (Each undeclared identifier is reported only  
once  
tst\_search.c:12: error: for each function it appears in.)  
make: \*\*\* [tst\_search.o] Error 1  
ruby extconf.rb install mongrel  
checking for main() in -lc… no  
creating Makefile

make  
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC  
-fno-strict-aliasing -g -O2 -fPIC -c tst\_search.c

make install  
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fPIC  
-fno-strict-aliasing -g -O2 -fPIC -c tst\_search.c

make clean  
Successfully installed mongrel-1.0.3  
Installing ri documentation for mongrel-1.0.3…  
Installing RDoc documentation for mongrel-1.0.3…

=======================================================================

So, the install appears to be successful despite the earlier error  
messages… However, when I attempt to start up mongrel I get the  
following error:

user@ubuntu710desktop:~/projects/tester$ mongrel\_rails start -d  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require': no such file to load -- http11 (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from  
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/…/lib/mongrel.rb:8  
from  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:33:in  
`gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in`require’  
from  
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.4/bin/mongrel\_rails:11  
from /usr/bin/mongrel\_rails:18:in `load’  
from /usr/bin/mongrel\_rails:18

Do I need to install other ruby packages as prerequisites? _Any_ help  
would be really appreciated.

Sonny.
