[OmniOS-discuss] No gcc after pkg install developer/gcc48 on r012
Paul B. Henson
henson at acm.org
Thu Dec 18 08:15:39 UTC 2014
gcc on omnios isn't installed in the default path, you need to add /opt/gccXX/bin to your path. I'm pretty sure it's always been like that, so if you installed and used gcc on an earlier version, it's likely you added it to your path to do so.
> On Dec 17, 2014, at 11:54 PM, Stephan Budach <stephan.budach at JVM.DE> wrote:
>
> Good morning,
>
> I wanted to install gcc to compile znapzend on my r012 box, so I issued:
>
> root at nfsvmpool02:/root# pkg install developer/gcc48
> Packages to install: 6
> Create boot environment: No
> Create backup boot environment: No
>
> DOWNLOAD PKGS FILES XFER (MB)
> Completed 6/6 1537/1537 165.1/165.1
>
> PHASE ACTIONS
> Install Phase 2104/2104
>
> PHASE ITEMS
> Package State Update Phase 6/6
> Image State Update Phase 2/2
> root at nfsvmpool02:/root# pkg install gnu-make
> Packages to install: 1
> Create boot environment: No
> Create backup boot environment: No
>
> DOWNLOAD PKGS FILES XFER (MB)
> Completed 1/1 31/31 0.5/0.5
>
> PHASE ACTIONS
> Install Phase 98/98
>
> PHASE ITEMS
> Package State Update Phase 1/1
> Image State Update Phase 2/2
>
>
> However, gcc is not available afterwards:
>
> root at nfsvmpool02:/root# gcc
> -bash: gcc: command not found
>
> I did the same on my r006 box using pkg install developer/gcc47, which installed gcc as expected.
> What did I do wrong? ;)
>
> Thanks,
> budy
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
More information about the OmniOS-discuss
mailing list