I'm also getting the "undefined method resolve" error.  I installed ruby 
from source on solaris x86. In a previous email Zed said

> You'll need to install all ruby related items, not just "apt-get
> install ruby". There's ri, irb, ruby1.8-dev, and lots of other 
> packages.

I've looked at the configure script for when I compile ruby and it 
doesn't have any options for "build tools."  My solaris system has all 
of the usual unix build tools.

When I installed mongrel I used --test with gem and it had errors; where 
do I find the output/errors of the tests?

> # gem install --include-dependencies --rdoc --ri --test mongrel
> Building native extensions.  This could take a while...
> make: ./install-sh: Command not found
> make: *** [/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/http11.so] 
> Error 127
> ruby extconf.rb install --include-dependencies --rdoc --ri --test mongrel
> checking for main() in -lc... yes
> creating Makefile
> 
> make
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c http11.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c http11_parser.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_cleanup.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_delete.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_grow_node_free_list.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_init.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_insert.c
> gcc -fPIC -O3 -pipe  -I. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 
> -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I.   -c tst_search.c
> gcc -Wl,-G  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -o http11.so http11.o 
> http11_parser.o tst_cleanup.o tst_delete.o tst_grow_node_free_list.o 
> tst_init.o tst_insert.o tst_search.o  -lc  -ldl -lcrypt -lm   -lc
> 
> make install
> ./install-sh -c -m 0755 http11.so 
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib
> 
> make clean
> Successfully installed mongrel, version 0.3.13.3
> Installing ri documentation for mongrel-0.3.13.3...
> Installing RDoc documentation for mongrel-0.3.13.3...
> ...keep Gem? [Yn]  y
> ERROR:  46 tests, 9 assertions, 0 failures, 60 errors

Also note for future versions that the installer for mongrel seems to 
not work as well with the solaris make as it does with the gnu make; I 
received an error on the make install part until I added a symbolic link 
to gnu make in my ~/bin directory.  If possible, an easy way to fix this 
is to test for the existence of gmake in $PATH and use that instead of 
make (solaris installs gnu make as gmake).  Otherwise, document this wart.

Also note the "command not found" error in the first part of the above 
output.  I don't know if that's a problem or what.

Thanks for your help.

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to