[csw-users] Help building json ruby gem

Mohamed Lrhazi lrhazi at gmail.com
Mon Mar 28 21:14:22 CEST 2011


Thanks Ben.

I get an error trying to rn that utility:


[root at albany ml623]$ cswrbconfig
/opt/csw/bin/cswrbconfig:6:in `readlink': No such file or directory -
/opt/csw/lib/ruby/1.8/sparc-solaris2.8/rbconfig.rb (Errno::ENOENT)
        from /opt/csw/bin/cswrbconfig:6

also, whats gcc4 csw package name? gcc4 does not work:


[root at albany ml623]$ pkg-get -i gcc4
ERROR: gcc4 unrecognized
Perhaps you need to run pkg-get -U

thanks,
Mohamed.

On Mon, Mar 28, 2011 at 3:05 PM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Mohamed Lrhazi's message of Mon Mar 28 15:00:42 -0400 2011:
>
> Hi Mohamed,
>
>> Building native extensions.  This could take a while...
>> sh: make: not found
>> ERROR:  Error installing json:
>>         ERROR: Failed to build gem native extension.
>
> This is a path issue, and maybe a bug in the package but I'll need to
> look tonight.  Please run the command again with CSWgmake installed
> and PATH=/opt/csw/gnu:$PATH.
>
>> I also installed gcc3... not sure if that was the right one to
>> install though.
>
> You'll want gcc4.  For now, you'll need to use the cswrbconfig utility
> to toggle which compiler is used to build gems as well.  The pending
> release will use alternatives instead.
>
> Thanks
> -Ben
> --
> Ben Walton
> Systems Programmer - CHASS
> University of Toronto
> C:416.407.5610 | W:416.978.4302
>
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users
>


More information about the users mailing list