CC command problems


 
Thread Tools Search this Thread
Top Forums Programming CC command problems
# 1  
Old 08-02-2004
CC command problems

Apparently I do not have C on my Sun Blade. It's a fresh install, and I'l fairly new to using this box. When I type cc, I get the following:
/usr/ucb/cc: language optional software package not installed...

Does this mean I do not have C on this Blade? How can I get it and set it up?
Thanks!
# 2  
Old 08-02-2004
If you look at the man page for cc, you will see that /usr/ucb/cc is a script that looks for the link /usr/ccs/bin/ucbcc whic is a link to the SPROcc package (default location /opt/SUNWspro) which is purchased separately from Solaris OS.

You can find and download gcc which should work with almost anything you need.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problems with the rpm command

Hi folks, I have a problem with command rpm, I'm running the command and appears this error: server:/tmp/python# uname -rv 2 5 server:/tmp/python# rpm -i python-2.3.4-2.aix5.1.ppc.rpm exec(): 0509-036 Cannot load program /opt/freeware/bin/rpm because of the following errors: ... (6 Replies)
Discussion started by: stenioc1
6 Replies

2. Red Hat

Problems with rcp command

I have two servers A and B; A has redhat 5 and B has Suse10. Both of them has rhost file configuration. When i try to copy file from A to B that is OK but when try to copy from B to A i have an error: connection refused. I installed rsh and rsh-server on server A and stop iptables service. I need... (2 Replies)
Discussion started by: robinsonusp2014
2 Replies

3. Shell Programming and Scripting

Problems with expect_out command

expect "#" send "terminal-length 0\r" expect "#" send "show mp cpu\r" expect "#" send "show mp memory\r" expect "#" while {1} { expect "#" send "clear counters\r" sleep 30 ... (0 Replies)
Discussion started by: roh_20022002
0 Replies

4. Shell Programming and Scripting

tail command problems

Hi, In my home directory, there are so many files. i tried to get the lastly created file by following command. file=`ls -lrt MXOfiles* | tail -1` As there are so many files, it displays "$ : 0403-027 The parameter list is too long." Can someone tell me how can i get the recent file... (1 Reply)
Discussion started by: JSKOBS
1 Replies

5. OS X (Apple)

Problems using shutdown -u command

I have a smart-ups connected to my OS X Snow Leopard server ver. 10.6. Based on the docs and forums I read, I have been trying to use the software provided by APC, PCNS. I have also tried to just use the UPS communications cable provided and use the OS' "UPS options". Neither of them work exactly... (1 Reply)
Discussion started by: mckorn99
1 Replies

6. Shell Programming and Scripting

Problems with Echo command

Hi there im having a problem with an echo command and have been trying to fix it for a little while now but just cant seem to see the issue. The code is as follows: #!/bin/bash #Filename: Assignment Author: Luke Francis echo "OPERATOR ADMINISTRATIVE TOOL" echo "Please enter your password:"... (4 Replies)
Discussion started by: warlock129
4 Replies

7. UNIX for Dummies Questions & Answers

Problems with find command

Folks, I have been searching a dir for specfic files that have been accessed within a certain timeframe. The issue that I am having is that it picks up the .snapshot dir as well. I am using the following: find /probecards/ -name "S25E3N*" -mtime -1 -type f Is this correct or how do I... (4 Replies)
Discussion started by: lodey
4 Replies

8. AIX

Problems with tar command

Hello Somebody can help me, I try to extract a file by tar command but I get this error message root@mxlgjac/home/bistrain# tar -xvf C57U6ML.tar tar: 0511-169 A directory checksum error on media; 804399312 not equal to 62020. The file in tar format its on the same directory, where I try... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

9. Programming

my problems with MAKEFILE command

Hi everyone. I'm a newbies in using c++ in UNIX. And since then I only do maintenance coding not development. so far i understand c++ coding and OOP concepts. currently i'm working onsomething for maintenance purpose.here's the situation : below are my files : source files: advDisc.cpp ... (2 Replies)
Discussion started by: aliasunway
2 Replies

10. UNIX for Dummies Questions & Answers

Problems with expr command

Hi All, I might be making a silly mistake but I need ur help. I have initialized various variables: cur_month=`date +%m` cur_year=`date +%y` last_year=`expr $cur_year \- 1` It works fine for cur_month & cur_year....but has problems with last_year. FOR LAST YEAR IT GIVES A FOLLOWING... (2 Replies)
Discussion started by: rooh
2 Replies
Login or Register to Ask a Question