LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   no acceptable C compiler found in $PATH (https://www.linuxquestions.org/questions/mandriva-30/no-acceptable-c-compiler-found-in-%24path-143880/)

rhraz 02-08-2004 09:42 PM

no acceptable C compiler found in $PATH
 
This is my first time with linux so take it easy on me. I just installed Mandrake 9.2. I downloaded XMMS and it came with a tar.gz file extension. I extracted it ok but i get this message when i cd to the directory and run ./configure...

checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for prefix by checking for xmms... no
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

I'm assuming a need the gcc program but I have no idea where to find it and how to install it. Could someone point me in the right direction here?

DrOzz 02-08-2004 09:49 PM

gcc homepage

gcc installation docs

there will more so be a gcc package on your installation media, so you can look on them also ...

or you can go here for the gcc rpm built for mandrake 9.2 ...

jtshaw 02-08-2004 09:49 PM

Mandrake 9.2 GCC RPM Package

Just so you know, RPM find is a great source of RPM packages for Mandrake. You can find XMMS there as well.

rhraz 02-08-2004 10:58 PM

Thanks guys. I got gcc installed and I found the RPM with the rpm finder. But I want to do it the hard way to force myself to learn. When I do the ./configure in the xmms directory it says I need something called glib intalled. So i downloaded it and did the ./configure, make, make install. Then I went back to the xmms directory and did the ./configure again and got this message...

checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.2...
*** 'glib-config --version' returned 1.2.9, but GLIB (1.2.10)
*** was found! If glib-config was correct, then it is best
*** to remove the old version of GLIB. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure
no
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

Any ideas?

rhraz 02-09-2004 07:51 AM

Do I need to install a different version of the glib? If so, what version? Seems like I have over the required revision number for installing XMMS.

FallenWraith 07-29-2006 09:57 PM

Hey all. Sorry to revive an old thread, but I am having a similar issue. I am trying to configure software, and I am getting the message "configure: error: no acceptable C compiler found in $PATH". So I got gcc-3.3.1-2mdk.i586.rpm, but I don't know where to go from here. I get this error:

$ rpm -Uvh gcc-3.3.1-2mdk.i586.rpm
error: Failed dependencies:
gcc-cpp = 3.3.1-2mdk is needed by gcc-3.3.1-2mdk.i586
glibc-devel >= 2.2.5-14mdk is needed by gcc-3.3.1-2mdk.i586

I have followed the following thread as closely as I could, but I know i'm just missing something (whether on the computer, or up in my melon, i don't know): http://www.linuxquestions.org/questi...threadid=45094

You'll have to excuse me, as I am new to Linux, and I don't much know my way around the command console. I am running Mandriva/1.0.6-15mdk (2006.0). Thanks in advance!

Tinkster 07-30-2006 01:23 PM

Moved: This thread is more suitable in <Mandriva> and has been moved accordingly to help your thread/question get the exposure it deserves.

That said: I only didn't split the post out to save myself editing content.
It really has nothing to do with your question, next time start a new thread.


Cheers,
Tink

ernie 07-31-2006 01:13 AM

FallenWraith, your attempt to install gcc-3.3.1-2mdk.i586.rpm failed because you also need to install gcc-cpp (version 3.3.1-2mdk) and glibc-devel (at least version 2.2.5-14mdk). gcc needs these two packages, so they should be installed first. Now, be prepared, you may find that each of these packages require additional packages as well.

If you really want to go through all this dependency rubbish, feel free to do so, but I suggest you try using the Install Software program. It will help you get the current version of gcc installed on your system, and handle the dependencies as well.

HTH,

FallenWraith 07-31-2006 10:17 PM

Quote:

Originally Posted by Tinkster
Moved: This thread is more suitable in <Mandriva> and has been moved accordingly to help your thread/question get the exposure it deserves.

That said: I only didn't split the post out to save myself editing content.
It really has nothing to do with your question, next time start a new thread.


Cheers,
Tink

Thank you.

Quote:

Originally Posted by ernie
FallenWraith, your attempt to install gcc-3.3.1-2mdk.i586.rpm failed because you also need to install gcc-cpp (version 3.3.1-2mdk) and glibc-devel (at least version 2.2.5-14mdk). gcc needs these two packages, so they should be installed first. Now, be prepared, you may find that each of these packages require additional packages as well.

If you really want to go through all this dependency rubbish, feel free to do so, but I suggest you try using the Install Software program. It will help you get the current version of gcc installed on your system, and handle the dependencies as well.

HTH,

Thanks ernie. I had tried to run the Install Software program yesterday, but it told me that it couldn't run because instances were in use by other programs, or something like that. I figured it just needed a restart, but i called it quits for the day.

Today it ran fine. I like that it knows what packages are co-dependent, and installs the coincidental packages needed automatically. That helped out big time.

Here's what I'm getting now:

Code:

checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found.

Looks like I have a few more packages to find yet, but now that I know how to do it with much more ease, I'm sure I can figure it out. Thanks again.

tytower 08-01-2006 07:03 PM

make it easy on yourself
first go back to your installation disk and select "developer" and install all those
then try again and if no success go here and follow prompts

http://easyurpmi.zarb.org/

gives you all the good stuff


All times are GMT -5. The time now is 09:07 AM.