I did a re-install of an SCXE machine to get it onto a zfs root and I've 
run into a problem. This time round I did an End-User install instead of 
Entire Distribution and it has left out installing a lot of things.

The box is  used to run mongrel server for Ruby on Rails websites. I 
have so far installed ruby, gmake, binutils and SUNWarc (whatever that 
is). The problem is now that I try to compile some Ruby gems, I get 
errors like this:

/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:40:21: stdlib.h: No 
such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:44:21: string.h: No 
such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:53:20: stddef.h: No 
such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:54:19: stdio.h: No 
such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:71:20: alloca.h: No 
such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:91:21: limits.h: No 
such file or directory
In file included from 
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:718,
                 from fastthread.c:12:
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/missing.h:16:24: sys/time.h: 
No such file or directory
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/missing.h:25:25: 
sys/types.h: No such file or directory
In file included from 
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h:719,
                 from fastthread.c:12:
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/intern.h:219: error: syntax 
error before "fd_set"
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/intern.h:220: warning: 
"struct timeval" declared inside parameter list
/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/intern.h:220: warning: its 
scope is only this definition or declaration, which is probably not what 
you want

Obviously I am missing the package(s) which provide the headers needed 
by this and many other compilations. Can anyone tell me which packages I 
should install in order to get these headers onto my system?

Many thanks

Matt
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to