For Brian's problem, Prashant addressed this recently in his blog: http://blogs.sun.com/prashant/entry/dtrace_support1
Most of the fixes are in build 89, with one little fix to come about in build 90. Those who need a workaround for running on earlier builds (like Brian) can grab it from the blog. David Van Couvering wrote: > I don't know the background, but from a naive perspective it sure > seems to me you shouldn't have to have cc on your system to be able to > debug Ruby on OpenSolaris. This is a good point. The challenge we've had so far is whether or not the gems should be there already. That's not really the ruby way. Therefore, the debugger doesn't come with the distro. The same is true of things like rails and mongrel. What do you think the right approach is? I think Prashant and team have made the right decisions thus far. - Matt > > David > > On Mon, Jun 2, 2008 at 4:55 PM, Brian Leonard <William.Leonard at sun.com > <mailto:William.Leonard at sun.com>> wrote: > > Has anyone successfully installed the ruby-debug-ide gem on > OpenSolaris 2008.05? I'd like to update the Ruby Debugging > <http://wiki.netbeans.org/RubyDebugging> wiki with the instructions. > > Here's what I did: > > > pfexec pkg install gcc-dev > > > pfexec gem install ruby-debug-ide > Install required dependency ruby-debug-base? [Yn] y > Select which gem to install for your platform (i386-solaris2.11) > 1. ruby-debug-base 0.10.0 (mswin32) > 2. ruby-debug-base 0.10.0 (ruby) > 3. Skip this gem > 4. Cancel installation > > 2 > Building native extensions. This could take a while... > ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) > ERROR: Failed to build gem native extension. > > ruby extconf.rb install ruby-debug-ide > creating Makefile > > make > */opt/SUNWspro.40/SS11/bin/cc* -I. > -I/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11 > -I/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11 -I. > -DTEXT_DOMAIN="" > -I/builds/sfwnv-86/proto/root_i386/usr/sfw/include > -I/builds/sfwnv-86/proto/root_i386/usr/include > -I/builds/sfwnv-86/proto/root_i386//readline-5.2/include -KPIC > -xO3 -xbuiltin=%all -xinline=auto -xprefetch=auto -xdepend -KPIC > -c ruby_debug.c > /bin/sh: line 1: /opt/SUNWspro.40/SS11/bin/cc: not found > make: *** [ruby_debug.o] Error 127 > > > Gem files will remain installed in > /var/ruby/1.8/gem_home/gems/ruby-debug-base-0.10.0 for inspection. > Results logged to > /var/ruby/1.8/gem_home/gems/ruby-debug-base-0.10.0/ext/gem_make.out > > > > > I don't have */opt/SUNWspro.40/SS11/bin/cc *on my system. I do > have /usr/gnu/bin/cc, but updating the Makefile to use > /usr/gnu/bin/cc resulted in other build errors and at this point I > don't know enough about developing in C to proceed. > > Regards, > Brian > > > > > > > > -- > David W. Van Couvering > http://davidvancouvering.blogspot.com > ------------------------------------------------------------------------ > > _______________________________________________ > > > webstack-discuss mailing list > webstack-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/webstack-discuss >