OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2012, 04:08 PM
Junior Member
 
Join Date: Jun 2012
Posts: 1
Default [newbie Question] gcc: command not found

Hi,
I am trying to install gcc in Opensolaris 11. I have installed the gcc as shown below. But still I have problem in running gcc. Am I missing anything on the PATH?

[email protected]:/tmp# echo $PATH
/usr/sbin:/usr/bin


[email protected]:/tmp# uname -a
SunOS solaris11 5.11 11.0 i86pc i386 i86pc


[email protected]:/usr/local/apachesrc/httpd-2.2.22# pkg install gcc-3
Packages to install: 2
Create boot environment: No
Create backup boot environment: No
Services to change: 1

DOWNLOAD PKGS FILES XFER (MB)
Completed 2/2 423/423 36.9/36.9

PHASE ACTIONS
Install Phase 587/587

PHASE ITEMS
Package State Update Phase 2/2
Image State Update Phase 2/2

[email protected]:/usr/local/apachesrc/httpd-2.2.22# cc
bash: cc: command not found

[email protected]:/tmp# gcc
bash: gcc: command not found

Any help will be highly appreciated

Thank you
Reply With Quote
Sponsored Links

Reply

Bookmarks

Tags
cc compiler, gcc

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question regarding admin rights stansaraczewski Solaris General 0 12-11-2011 05:36 PM
2 simple Unix/OpenSolaris question OpenSolaris Rookie Solaris General 2 07-12-2010 06:28 PM
VERITAS VOLUME MANAGER Question. aparna66 Solaris General 1 06-28-2010 03:45 PM
g++ not found, ser sems Unregistered Solaris General 0 02-08-2009 05:43 PM
Solaris command to check memory mesol Solaris General 1 12-11-2008 05:00 PM


All times are GMT. The time now is 06:40 PM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.