LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help on installing gcc. (https://www.linuxquestions.org/questions/linux-software-2/help-on-installing-gcc-435361/)

dragunu 04-15-2006 05:28 AM

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

reddazz 04-15-2006 05:39 AM

Your distribution probably already has gcc on the discs or online package repos. What distribution are you using?

dragunu 04-15-2006 05:41 AM

I am using Fedore Core 3 and i just updated it this night.

thanks for ur reply.

dragunu 04-15-2006 05:47 AM

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.

reddazz 04-15-2006 07:41 AM

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.

danne123 04-15-2006 08:15 AM

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

oskar 04-15-2006 08:20 AM

Quote:

Originally Posted by danne123
I have the same problem and useing openSuSe 10.0

open yast -> Software Management - search for 'gcc'

danne123 04-15-2006 08:35 AM

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.

Nylex 04-15-2006 08:41 AM

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?).

danne123 04-15-2006 08:50 AM

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 ***


oskar 04-15-2006 08:59 AM

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.

danne123 04-15-2006 09:12 AM

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.

reddazz 04-15-2006 09:21 AM

You need to install glib-1.x devel package using yast.

Nylex 04-15-2006 09:23 AM

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.

danne123 04-15-2006 10:44 AM

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. :mad:
I need Glib to install Xmms-1.2.10


All times are GMT -5. The time now is 11:42 PM.