LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2002, 12:32 AM   #1
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
compile question


with my redhat 7.2 machine i try and compile and i get these error messages

checking for gcc...no
checking for cc... no
configure error : no acceptable cc found in $path

????

if any one has a answer to my question i will be very grateful!!
 
Old 02-24-2002, 12:37 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
you need a compiler to compile - the configure script will usuall look in /usr/bin, /usr/local/bin and /bin for the compilers - if they're not there, then it returns the not found error.
 
Old 02-24-2002, 12:48 AM   #3
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
does anyone know what compiler i need to install as i have never done this before
 
Old 02-24-2002, 01:01 AM   #4
Manish
Member
 
Registered: Feb 2002
Distribution: Debian / Debian-based
Posts: 58

Rep: Reputation: 15
You can get gcc at http://gcc.gnu.org
 
Old 02-24-2002, 02:39 AM   #5
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
cheers...another small question does anyone know how too install the thing easily??? The gcc website seems really complex in its explanation... Thanks once again to anyone
 
Old 02-24-2002, 04:43 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just install the rpm's from the cd. it's all on there, just make the dependecncies happy and you'll eb done in no time. use gnorpm for a gui, or just plain "rpm" on a console. "man rpm" for info.
 
Old 02-24-2002, 06:49 PM   #7
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 15
ok........ how do i make the dependencies happy??? I have installed gcc from the cd using rpm but theres seems to be a problem with trying to compile the configure script. I tried installing using rpms using rpm -ta gcc or rpm -ba gcc, but that doesnt work.. is thiswhat you mean by installing the rpms?? i ended up just using the rpm -ih gcc method then untarring the tar ball.. this is where i hit rocks.. if there is anyone out there that can help me it would be great as this is really annoyingnot being able to compile
 
Old 02-24-2002, 06:53 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, -ba will create an rpm from source. just install them with "rpm -iv file.rpm" please always refer to howtos and man pages before resorting to posting questions and havnig to wait however many hours for an answer. it's a lot quicker
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Question. pete1234 Linux - Laptop and Netbook 6 05-19-2005 09:51 AM
Compile Question DarkExile Linux - Newbie 2 12-17-2004 06:55 AM
Compile question LazySlacker Slackware 3 07-05-2004 04:01 AM
compile question jpostma Linux - General 1 06-19-2004 08:54 AM
Compile Question steveh350 Slackware 3 08-17-2003 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:55 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