LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2008, 05:27 AM   #1
kyle4579
LQ Newbie
 
Registered: May 2008
Posts: 13

Rep: Reputation: 0
Problems with GCC suite


I am a linux newb and am having problems with configuring, building and installing GCC 4.3.0. I downloaded the zip file from one of the mirror sites and followed instructions for installation, however, the configuration process goes wrong:

I get this in my terminal:

[a@localhost GCC]$ gcc-4.3.0/configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[john@localhost GCC]$

I realise that I need a c compiler to install this but I thought I would be installing one with GCC! can anyone give me an idea of what I should do to get this working please!?

Thanks, Kyle
 
Old 05-30-2008, 06:50 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Install gcc via your distribution's package management system.
 
Old 05-30-2008, 04:34 PM   #3
seraphim172
Member
 
Registered: May 2008
Posts: 101

Rep: Reputation: 15
What you tried to do is building GCC from sources without having any compiler. First install GCC or any reasonable C-compiler to be able comiling any source code, and then try building anything from source.

In your case you shouldn't have to build GCC from source if you get to install it as a binary package. (a binary application is supposed to be compiled already, while source code needs to get compiled before you can use them).

Linux Archive

Last edited by seraphim172; 06-25-2008 at 04:46 AM.
 
Old 06-02-2008, 07:45 AM   #4
kyle4579
LQ Newbie
 
Registered: May 2008
Posts: 13

Original Poster
Rep: Reputation: 0
i dont stil have the installation disk for linux with the software on it - it got lost!! What C compiler should i try to install, or can i get the software from the installation disk anywhere else? Thanks for your help though guys
 
Old 06-02-2008, 08:38 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Which distribution are you using? You should be able to install gcc via the Internet, using the package manager.
 
Old 06-03-2008, 02:13 PM   #6
kyle4579
LQ Newbie
 
Registered: May 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Im using Mandriva 2008, but im nearly afraid to do anything with it because i don't fully understand linux yet and im afraid that my laptop could be vulnerable with linux and windows on it! There should be a c compiler in the package manager then? And i take it i dont need the disk for that?
 
Old 06-04-2008, 01:25 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You should be able to install gcc via the package manager, yes. Also, if you've got Internet access, you won't need the CDs. You use urpmi to manage packages in Mandriva. There's some info about it here, but you may wish to do your own googling.
 
Old 06-07-2008, 11:22 AM   #8
kyle4579
LQ Newbie
 
Registered: May 2008
Posts: 13

Original Poster
Rep: Reputation: 0
That's great, thanks v much Nylex
 
  


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
NFS and RH Cluster Suite; Problems relating services/resources to NFS l_long_island Linux - Server 5 08-30-2008 11:20 AM
ftp proxy suite problems AQG Linux - Software 0 09-06-2006 11:26 AM
yum install mythtv-suite problems ishould Linux - Software 0 04-07-2006 08:11 PM
Linux Optimization Suite? comparable to WinOptimization Suite AJones Linux - Software 1 05-15-2005 05:04 AM
problems with office suite programs quantumechanix Linux - Software 24 03-06-2003 04:37 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:11 AM.

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