Installed gcc and make and the default friends that they bring along, then did<br># sudo gem install mongrel<br><br>and got the following...<br><br>andre@andre:~$ sudo gem install mongrel<br>Attempting local installation of 'mongrel'
<br>Local gem file not found: mongrel*.gem<br>Attempting remote installation of 'mongrel'<br>Select which gem to install for your platform (i486-linux)<br> 1. mongrel <a href="http://0.3.12.4">0.3.12.4</a> (ruby)<br> 2. mongrel
<a href="http://0.3.12.4">0.3.12.4</a> (mswin32)<br> 3. mongrel <a href="http://0.3.12.3">0.3.12.3</a> (mswin32)<br> 4. mongrel <a href="http://0.3.12.3">0.3.12.3</a> (ruby)<br> 5. mongrel <a href="http://0.3.12.2">0.3.12.2
</a> (ruby)<br> 6. mongrel <a href="http://0.3.12.2">0.3.12.2</a> (mswin32)<br> 7. mongrel <a href="http://0.3.12.1">0.3.12.1</a> (mswin32)<br> 8. mongrel <a href="http://0.3.12.1">0.3.12.1</a> (ruby)<br> 9. mongrel 0.3.12
(mswin32)<br> 10. mongrel 0.3.12 (ruby)<br> 11. mongrel 0.3.11 (ruby)<br> 12. mongrel 0.3.11 (mswin32)<br> 13. mongrel <a href="http://0.3.10.1">0.3.10.1</a> (ruby)<br> 14. mongrel 0.3.10 (ruby)<br> 15. mongrel 0.3.9 (ruby)
<br> 16. mongrel 0.3.8 (ruby)<br> 17. mongrel 0.3.8 (mswin32)<br> 18. mongrel <a href="http://0.3.7.1">0.3.7.1</a> (ruby)<br> 19. mongrel <a href="http://0.3.7.1">0.3.7.1</a> (mswin32)<br> 20. mongrel 0.3.7 (ruby)<br> 21. mongrel
0.3.6 (ruby)<br> 22. mongrel 0.3.6 (mswin32)<br> 23. mongrel 0.3.5 (ruby)<br> 24. mongrel 0.3.5 (mswin32)<br> 25. mongrel 0.3.4 (mswin32)<br> 26. mongrel 0.3.4 (ruby)<br> 27. mongrel 0.3.3 (ruby)<br> 28. mongrel 0.3.2 (ruby)
<br> 29. mongrel 0.3.1 (ruby)<br> 30. mongrel 0.3 (ruby)<br> 31. mongrel 0.2.2 (ruby)<br> 32. mongrel 0.2.1 (ruby)<br> 33. mongrel 0.2.0 (ruby)<br> 34. Cancel installation<br>> 1<br>Building native extensions. This could take a while...
<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:28:21: error: stdlib.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:32:21: error: string.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:42:19: error:
stdio.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:64:20: error: alloca.h: No such file or directory<br>In file included from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/syslimits.h:7,<br> from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:11,
<br> from /usr/lib/ruby/1.8/i486-linux/ruby.h:84,<br> from http11.c:1:<br>/usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:122:61: error: limits.h: No such file or directory<br>In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:677,
<br> from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/missing.h:16:24: error: sys/time.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/missing.h:25:25: error: sys/types.h: No such file or directory
<br>In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:678,<br> from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/intern.h:215: error: syntax error before 'fd_set'<br>/usr/lib/ruby/1.8/i486-linux/intern.h:216: warning: 'struct timeval' declared inside parameter list
<br>/usr/lib/ruby/1.8/i486-linux/intern.h:216: warning: its scope is only this definition or declaration, which is probably not what you want<br>/usr/lib/ruby/1.8/i486-linux/intern.h:446: warning: parameter names (without types) in function declaration
<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:687:21: error: pthread.h: No such file or directory<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: error: syntax error before 'rb_nativethread_t'
<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: warning: type defaults to 'int' in declaration of 'rb_nativethread_t'<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: warning: data definition has no type or storage class<br>http11.c
:3:20: error: assert.h: No such file or directory<br>http11.c:6:19: error: ctype.h: No such file or directory<br>http11.c: In function 'http_field':<br>http11.c:72: warning: implicit declaration of function 'toupper'<br>http11.c
: In function 'header_done':<br>http11.c:144: warning: implicit declaration of function 'strchr'<br>http11.c:144: warning: incompatible implicit declaration of built-in function 'strchr'<br>http11.c:126: warning: unused variable 'port'
<br>http11.c:125: warning: unused variable 'host'<br>http11.c: In function 'HttpParser_free':<br>http11.c:165: warning: implicit declaration of function 'free'<br>http11.c: In function 'URIClassifier_alloc':<br>http11.c:333: warning: implicit declaration of function 'assert'
<br>make: *** [http11.o] Error 1<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:28:21: error: stdlib.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:32:21: error: string.h: No such file or directory
<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:42:19: error: stdio.h: No such file or directory<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:64:20: error: alloca.h: No such file or directory<br>In file included from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/syslimits.h:7,
<br> from /usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:11,<br> from /usr/lib/ruby/1.8/i486-linux/ruby.h:84,<br> from http11.c:1:<br>/usr/lib/gcc/i486-linux-gnu/4.0.3/include/limits.h:122:61: error:
limits.h: No such file or directory<br>In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:677,<br> from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/missing.h:16:24: error: sys/time.h: No such file or directory
<br>/usr/lib/ruby/1.8/i486-linux/missing.h:25:25: error: sys/types.h: No such file or directory<br>In file included from /usr/lib/ruby/1.8/i486-linux/ruby.h:678,<br> from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/intern.h:215: error: syntax error before 'fd_set'
<br>/usr/lib/ruby/1.8/i486-linux/intern.h:216: warning: 'struct timeval' declared inside parameter list<br>/usr/lib/ruby/1.8/i486-linux/intern.h:216: warning: its scope is only this definition or declaration, which is probably not what you want
<br>/usr/lib/ruby/1.8/i486-linux/intern.h:446: warning: parameter names (without types) in function declaration<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:687:21: error: pthread.h: No such file or directory
<br>In file included from http11.c:1:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: error: syntax error before 'rb_nativethread_t'<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: warning: type defaults to 'int' in declaration of 'rb_nativethread_t'
<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:689: warning: data definition has no type or storage class<br>http11.c:3:20: error: assert.h: No such file or directory<br>http11.c:6:19: error: ctype.h: No such file or directory<br>
http11.c: In function 'http_field':<br>http11.c:72: warning: implicit declaration of function 'toupper'<br>http11.c: In function 'header_done':<br>http11.c:144: warning: implicit declaration of function 'strchr'<br>http11.c
:144: warning: incompatible implicit declaration of built-in function 'strchr'<br>http11.c:126: warning: unused variable 'port'<br>http11.c:125: warning: unused variable 'host'<br>http11.c: In function 'HttpParser_free':<br>
http11.c:165: warning: implicit declaration of function 'free'<br>http11.c: In function 'URIClassifier_alloc':<br>http11.c:333: warning: implicit declaration of function 'assert'<br>make: *** [http11.o] Error 1<br>ruby extconf.rb
install mongrel<br>checking for main() in -lc... no<br>creating Makefile<br><br>make<br>gcc -fPIC -Wall -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c http11.c<br><br>make install
<br>gcc -fPIC -Wall -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -c http11.c<br>Successfully installed mongrel-0.3.12.4<br>Installing RDoc documentation for mongrel-0.3.12.4...<br>
andre@andre:~$<br><br><br>http11 doesn't seem to want to compile, just wondering what other packages might be necessary? kernel headers? Pixiedust?<br><br>Thanks for clues,<br>Andre<br>