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? |
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 ... |
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. |
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? |
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.
|
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! |
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 |
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, |
Quote:
Quote:
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 |
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. |