LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2006, 06:28 AM   #1
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
Help on installing gcc.


Hi. I am trying to install proftpd but when i run the ./configure command it prompts me

Code:
configure: error: no acceptable C compiler found in $PATH
Now im trying to install the GCC package. I have downloaded the gcc-4.0.2.tar
However, i dont know how to install it. I have extracted the .tar file and now i have a folder gcc-4.0.2. Is that enough? cause when i type gcc its still getting me command not found.

thanks a lot
 
Old 04-15-2006, 06:39 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Your distribution probably already has gcc on the discs or online package repos. What distribution are you using?
 
Old 04-15-2006, 06:41 AM   #3
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Original Poster
Rep: Reputation: 15
I am using Fedore Core 3 and i just updated it this night.

thanks for ur reply.
 
Old 04-15-2006, 06:47 AM   #4
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Original Poster
Rep: Reputation: 15
I did yum install gcc and it worked hehe. Im still brand new to linux as u might have noticed. thx redazz for ur reply. much apreciated.
 
Old 04-15-2006, 08:41 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by dragunu
I did yum install gcc and it worked hehe. Im still brand new to linux as u might have noticed. thx redazz for ur reply. much apreciated.
Glad you got it sorted. So why did you pick FC3 instead of something newer like FC5. I'm just curious.
 
Old 04-15-2006, 09:15 AM   #6
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
problem

Quote:
Originally Posted by dragunu
Hi. I am trying to install proftpd but when i run the ./configure command it prompts me

Code:
configure: error: no acceptable C compiler found in $PATH
Now im trying to install the GCC package. I have downloaded the gcc-4.0.2.tar
However, i dont know how to install it. I have extracted the .tar file and now i have a folder gcc-4.0.2. Is that enough? cause when i type gcc its still getting me command not found.

thanks a lot
I have the same problem and useing openSuSe 10.0
 
Old 04-15-2006, 09:20 AM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Quote:
Originally Posted by danne123
I have the same problem and useing openSuSe 10.0
open yast -> Software Management - search for 'gcc'
 
Old 04-15-2006, 09:35 AM   #8
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Quote:
Originally Posted by oskar
open yast -> Software Management - search for 'gcc'
Which files shall I download there? There are like 10 diffrent types of gcc.
 
Old 04-15-2006, 09:41 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Install gcc-<version> and gcc-g++-<version> (the latter may be called gcc-c++-<version>). It should be ok to leave the rest (gcc-g77, gcc-gcj, etc, right?).
 
Old 04-15-2006, 09:50 AM   #10
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Quote:
Originally Posted by Nylex
Install gcc-<version> and gcc-g++-<version> (the latter may be called gcc-c++-<version>). It should be ok to leave the rest (gcc-g77, gcc-gcj, etc, right?).
Thanks very much! Now that works, but now there is a new problem.

Code:
checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
 
Old 04-15-2006, 09:59 AM   #11
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Quote:
Originally Posted by danne123
Thanks very much! Now that works, but now there is a new problem.

Code:
checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
Well... install glib

And leave yast open this time, there'll be some more coming up.

And whatever you are trying to build, look for a packed version first (that you can install with yast). Add some sources (yast -> installation sources) There ought to be a thread about this.

Last edited by oskar; 04-15-2006 at 10:01 AM.
 
Old 04-15-2006, 10:12 AM   #12
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Quote:
Originally Posted by oskar
Well... install glib

And leave yast open this time, there'll be some more coming up.

And whatever you are trying to build, look for a packed version first (that you can install with yast). Add some sources (yast -> installation sources) There ought to be a thread about this.
Thanks very much for all the help. But can you name the packages that I shall download . There are like 100 this time.

EDIT: Downloaded this from the web "glib-2.9.6.tar.bz2" still got the same problem.

Last edited by danne123; 04-15-2006 at 10:16 AM.
 
Old 04-15-2006, 10:21 AM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to install glib-1.x devel package using yast.
 
Old 04-15-2006, 10:23 AM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You shouldn't have to download GLib and install it yourself, it should be available via YaST. What program are you trying to install anyway? Again, as oskar suggested, check if it's available via YaST instead of trying to build from source.
 
Old 04-15-2006, 11:44 AM   #15
danne123
Member
 
Registered: Apr 2006
Distribution: Slackware 11.0, Gentoo 2006.1
Posts: 102

Rep: Reputation: 17
Now there is a lots of problems. For instance gcc: I have downloaded all the packeages with the name gcc, serval times. But the programs (ex. MPlayer) never find these packages.

And Glib wont work either.
I need Glib to install Xmms-1.2.10

Last edited by danne123; 04-15-2006 at 11:46 AM.
 
  


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
help me for installing GCC! Rajaee Programming 1 11-15-2003 04:59 AM
installing GCC ganninu Debian 1 11-08-2003 04:31 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 06:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 10:49 AM
Installing gcc 3.02 ander45 Linux - Software 1 11-21-2001 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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