[csw-users] Help building json ruby gem
Mohamed Lrhazi
lrhazi at gmail.com
Mon Mar 28 21:23:00 CEST 2011
also, now that I fixed the path like you suggested, I get :
[root at albany ml623]$ echo $PATH
/opt/csw/gnu:/opt/csw/bin:/opt/openssh/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ucb:/usr/local/bin:/usr/bin/X11:/etc:/opt/EMCpower/bin/64:/etc/emc/bin
[root at albany ml623]$ 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
I do have gmake installed:
[root at albany ml623]$ pkgparam CSWgmake VERSION
3.82,REV=2010.07.28
More information about the users
mailing list