root1@root1-desktop:~/Downloads$ sudo gem install
thin-1.2.11.gem
[sudo] password for root1: Building native extensions. This could
take a while...
ERROR: Error installing thin-1.2.11.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
checking for main() in -lcrypto... no
creating Makefile
make
g++ -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DBUILD_FOR_RUBY
-DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_INOTIFY_INIT
-DHAVE_INOTIFY -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW
-DOS_UNIX -DHAVE_EPOLL_CREATE -DHAVE_EPOLL -DWITHOUT_SSL
-I/include/include -D_FILE_OFFSET_BITS=64 -fPIC
-fno-strict-aliasing -g -g -O2 -fPIC -c emwin.cpp
make: g++: Command not found
make: *** [emwin.o] Error 127
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10 for
inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out
root1@root1-desktop:~/Downloads$