I am trying to get a basic apache 2.0.55 + mongrel + rails app configuration setup and i keep getting this:
# mongrel_rails
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28: uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:5
from /usr/local/bin/mongrel_rails:18
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28: uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:5
from /usr/local/bin/mongrel_rails:18
It looks like the http11.so is not getting compiled correctly, but I really have no idea what to do about it. here is the output from the gem install:
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.12.4/lib/http11.so] Error 127
ruby extconf.rb install mongrel
checking for main() in -lc... yes
creating Makefile
make: ./install-sh: Command not found
make: *** [/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/http11.so] Error 127
ruby extconf.rb install mongrel
checking for main() in -lc... yes
creating Makefile
make
gcc -fPIC -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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
gcc -fPIC -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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 -g -O2 -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.12.4/lib
Successfully installed mongrel-0.3.12.4
Installing RDoc documentation for mongrel-0.3.12.4...
./install-sh -c -m 0755 http11.so /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib
Successfully installed mongrel-0.3.12.4
Installing RDoc documentation for mongrel-0.3.12.4...
Thanks in advance,
Chuck
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
