LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2008, 04:35 AM   #1
hnshashi
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore,India
Posts: 16

Rep: Reputation: 0
cc command is blocking


Hi all,

I am using Fedora 7,
due to some setting cc and make commands are blocking.

If i compile simple program
Ex:

$cc hello.c
(blocking....)
$

and also make also not working.

plz help me.


Thanks
shashidhara
 
Old 07-15-2008, 06:23 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Is gcc properly installed with yum? What do you see when running "gcc --version"?
 
Old 07-15-2008, 06:39 AM   #3
hnshashi
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore,India
Posts: 16

Original Poster
Rep: Reputation: 0
cc command is blocking

ya, gcc installed.

I executed "yum install gcc", its showing following o/p


[root@localhost ~]# yum install gcc
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Package gcc - 4.1.2-27.fc7.i386 is already installed.
Nothing to do
[root@localhost ~]#



for "gcc --version" o/p is

[root@localhost ~]# gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@localhost ~]#


To compile i have to give complete path of cc command
$/usr/bin/cc hello.c (Now it is working).

even PATH env. also has set properly...


Thanks
Shashidhara HN
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking IP dellthinker Linux - Security 3 04-05-2007 12:13 PM
Blocking known command in SMTP manya Linux - Security 2 04-21-2005 07:32 AM
IP Blocking Help mortsahl Linux - Security 2 04-26-2004 08:29 AM
Blocking rules noobian Linux - Security 1 10-14-2003 10:52 PM
IP blocking merlin371 Linux - Networking 2 08-04-2003 10:42 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration