Thanks, all, for your responses.  I agree, IPS makes all this much smoother.
Hunt-and-peck installation of stuff was what turned me off of Linux years
ago.  Glad to see Solaris/IPS is solving that bugaboo.

David

On Mon, Jun 2, 2008 at 11:33 PM, Brian Leonard <William.Leonard at sun.com>
wrote:

>  Well, if it makes you feel better, you need it on the Mac as well :-).
>
> /Brian
>
>
> 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.
>
> David
>
> On Mon, Jun 2, 2008 at 4:55 PM, Brian Leonard <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
>
>


-- 
David W. Van Couvering
http://davidvancouvering.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080602/72a30711/attachment.html>

Reply via email to