ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb update checking for main() in -lpthread... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/csw/bin/ruby --with-pthreadlib --without-pthreadlib Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/eventmachine-0.10.0 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/ext/gem_make.out ERROR: Error installing json: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb update creating Makefile make cc -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/opt/csw/include -I/opt/csw/include -KPIC -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/include -I/opt/csw/include -KPIC -c unicode.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `unicode.o' Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/json-1.1.2 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/json-1.1.2/ext/json/ext/parser/gem_make.out ERROR: Error installing mongrel: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb update checking for main() in -lc... no creating Makefile make cc -I. -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/opt/csw/include -I/opt/csw/include -KPIC -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/include -I/opt/csw/include -KPIC -c http11_parser.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `http11_parser.o' Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.3 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.3/ext/http11/gem_make.out ERROR: Error installing postgres: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb update extconf.rb:6: command not found: pg_config --includedir extconf.rb:13: command not found: pg_config --libdir checking for main() in -lpq... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/csw/bin/ruby --with-pgsql-dir --without-pgsql-dir --with-pgsql-include --without-pgsql-include=${pgsql-dir}/include --with-pgsql-lib --without-pgsql-lib=${pgsql-dir}/lib --with-pqlib --without-pqlib Could not find PostgreSQL build environment (libraries & headers): Makefile not created Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.09 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.09/ext/gem_make.out ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb update checking for Ruby version >= 1.8.2... yes checking for Magick-config... no Can't install RMagick 2.0.0. Can't find Magick-config in /usr/bin:/bin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/csw/bin/ruby Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/rmagick-2.1.0 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/rmagick-2.1.0/ext/RMagick/gem_make.out