[csw-users] Help building json ruby gem

Mohamed Lrhazi lrhazi at gmail.com
Mon Mar 28 21:00:42 CEST 2011


when I try to install json gem, I get this error:

[root at albany solaris]$ gem install  --no-rdoc --no-ri json
Building native extensions.  This could take a while...
sh: make: not found
ERROR:  Error installing json:
        ERROR: Failed to build gem native extension.

/opt/csw/bin/ruby extconf.rb
checking for re.h... no
creating Makefile

make


Gem files will remain installed in
/opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1 for inspection.
Results logged to
/opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out

I did install rubydev:

[root at albany solaris]$ pkg-get -l|grep ruby
libruby1
ruby
rubydev
rubygems

I also installed gcc3... not sure if that was the right one to install though.

Thanks a lot,
Mohamed.


More information about the users mailing list