LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-08-2004, 09:42 PM   #1
rhraz
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 80

Rep: Reputation: 15
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?
 
Old 02-08-2004, 09:49 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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 ...
 
Old 02-08-2004, 09:49 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
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.
 
Old 02-08-2004, 10:58 PM   #4
rhraz
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 80

Original Poster
Rep: Reputation: 15
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?
 
Old 02-09-2004, 07:51 AM   #5
rhraz
Member
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 80

Original Poster
Rep: Reputation: 15
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.
 
Old 07-29-2006, 09:57 PM   #6
FallenWraith
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
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!

Last edited by FallenWraith; 07-29-2006 at 11:00 PM.
 
Old 07-30-2006, 01:23 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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
 
Old 07-31-2006, 01:13 AM   #8
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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,
 
Old 07-31-2006, 10:17 PM   #9
FallenWraith
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
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.
 
Old 08-01-2006, 07:03 PM   #10
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
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
 
  


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
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 02:14 PM
no acceptable C compiler found in $PATH agentdunken Suse/Novell 12 07-13-2005 03:41 PM
no acceptable C compiler found in $PATH AL MOSLEM Programming 19 02-08-2005 10:03 AM
no acceptable C compiler found in $PATH skrothuset Linux - Newbie 4 06-13-2003 06:11 AM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration