LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-23-2009, 01:10 AM   #1
steelwire
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Rep: Reputation: 0
Question Unable to install GCC ????????


Ok, I,ve got RHEL 5 and I am unfamiliar with it.After some peeking i tried to install wine on it. But got an error that " NO ACCEPTEBLE C COMPILER FOUND IN $PATH ". Now I stuck in installing gcc.I,ve downloaded gcc-4.4.0.tar.bz2.After unziping and running the command " ../gcc-4.4.0/configure --prefix=/opt/gcc4.4.0 "
it shows "configure: error: NO ACCEPTEBLE C COMPILER FOUND IN $PATH ". Now what i am supposed to do ? :
[ In the package manager on searching gcc it shows libgcc-4.4.1-52.e15.i386, libgcj - 4.1.1-52.e15.i386 and libstdc++ - 4.1.1-52.e15.i386.]
Please help me to get out of this.
 
Old 04-23-2009, 01:21 AM   #2
hemantm
LQ Newbie
 
Registered: Feb 2006
Distribution: OpenSuse, Ubuntu, Debian, Fedora
Posts: 26

Rep: Reputation: 16
Try
http://www.cyberciti.biz/faq/howto-i...piler-on-rhel/

Hope this helps.

- Hemant
 
Old 04-23-2009, 01:37 AM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Quote:
Originally Posted by steelwire View Post
Ok, I,ve got RHEL 5 and I am unfamiliar with it.After some peeking i tried to install wine on it. But got an error that " NO ACCEPTEBLE C COMPILER FOUND IN $PATH ". Now I stuck in installing gcc.I,ve downloaded gcc-4.4.0.tar.bz2.After unziping and running the command " ../gcc-4.4.0/configure --prefix=/opt/gcc4.4.0 "
it shows "configure: error: NO ACCEPTEBLE C COMPILER FOUND IN $PATH ". Now what i am supposed to do ? :
[ In the package manager on searching gcc it shows libgcc-4.4.1-52.e15.i386, libgcj - 4.1.1-52.e15.i386 and libstdc++ - 4.1.1-52.e15.i386.]
Please help me to get out of this.
have you tried completing the dependencies of GCC? my officemate did it weeks ago. . . using RH also via vmware
 
Old 04-23-2009, 02:40 AM   #4
steelwire
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Original Poster
Rep: Reputation: 0
when using gui tool it says
[1] 3256
A window opens and says unknown error.
I'm not registered with rhn

What dependencies you r taking about, I don,t understand.

Last edited by steelwire; 04-23-2009 at 02:43 AM.
 
Old 04-23-2009, 02:43 AM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Quote:
Originally Posted by steelwire View Post
when using gui tool it says
[1] 3256
A window opens and says unknown error.

What dependencies you r taking about, I don,t understand.

sub programs/utilities you MUST have on your system for you to be able to install an application
 
Old 04-23-2009, 02:57 AM   #6
steelwire
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Original Poster
Rep: Reputation: 0
there is no program/utilities
 
Old 04-23-2009, 02:59 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Steelewire

Either switch to Centos (the free clone of RHEL) or use the Centos repos. After you have the Centos repos set up, yum install gcc.
 
Old 04-23-2009, 03:05 AM   #8
steelwire
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Original Poster
Rep: Reputation: 0
I can,t do it. Any other options........
I,ve just found out a rpm package

Last edited by steelwire; 04-23-2009 at 03:11 AM.
 
Old 04-23-2009, 04:05 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
If you have got rpm package for it then you can install it with rpm -ivh <packagename>.rpm.
But most of people would suggest that even if you can not move out of RHEL5, you can enable the repositories for CentOS 5 on your system so that you can use yum to install packages.
 
Old 04-24-2009, 01:35 AM   #10
steelwire
LQ Newbie
 
Registered: Dec 2008
Posts: 14

Original Poster
Rep: Reputation: 0
i,ve installed gcc. The package manager shows it, But when I install wine it says again no acceptable c compiler found in $path.
 
Old 04-24-2009, 01:40 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Where did you install gcc? Is that directory in your $PATH environment variable. You need to edit it to get the path correct.
 
  


Reply



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
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
unable to install gcc-2.96 vijaysh Debian 5 01-02-2005 07:41 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
unable to install latest gcc version sapadman Linux - Newbie 1 07-20-2004 05:22 PM
Unable to install GCC from tar NRHBasher Red Hat 2 03-11-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 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
Open Source Consulting | Domain Registration