[csw-users] Help building json ruby gem
Mohamed Lrhazi
lrhazi at gmail.com
Mon Mar 28 22:50:05 CEST 2011
I reinstalled all my CSW packages from scratch. I instlled gcc4
instead of three. and I get the same error apparently. Please see
bellow.
I notice that gcc does not get installed in the PATH, instead its in:
/opt/csw/gcc4/bin, do I need that in my PATH as well?
Thanks.
[root at albany solaris]$ ch)`gem ': gem install --no-rdoc --no-ri json
Building native extensions. This could take a while...
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
/opt/SUNWspro/bin/cc -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9
-I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I. -I/opt/csw/include
-D_FILE_OFFSET_BITS=64 -KPIC -xO3 -m32 -xarch=v8 -xnorunpath -KPIC
-O3 -c generator.c
make: /opt/SUNWspro/bin/cc: Command not found
make: *** [generator.o] Error 127
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
More information about the users
mailing list