LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-12-2004, 04:38 PM   #1
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Rep: Reputation: 30
gcc library installed not found


configure: error: no acceptable C compiler found in $PATH

I get the above error when trying to configure xine. I know that all the c++ libraries are installed because I just installed suse and ran the update packages right after the install, and if I check in Yast for glibc, gcc etc packages it says they are there, and yet I get this message. I would try to find out where they are and put that in the $PATH, but I get the error:

. something changed during find and it stops

here is my $PATH info

PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin


Any help would be great

thanks
 
Old 12-12-2004, 06:36 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"configure: error: no acceptable C compiler found in $PATH"

Some configure scripts refer to the C compiler as cc. Check the error messages ahead of the one you posted to see if cc is what is missing. If that is the problem then make a symbolic link from cc to gcc. You can find out where gcc is with:
which gcc
On my machine gcc is in /usr/bin so I would add cc with this command:

ln -s gcc /usr/bin/cc

------------------------------
Steve Stites
 
Old 12-12-2004, 07:08 PM   #3
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
Well, it is actually looking for either and it finds neither gcc nor cc. I used the find files in the menu, don't know why I didn't think of that before, and searched for gcc throughout the partition. It didn't find it anywhere. I guess I could get the rpm and manually install it, but I don't understand why Yast would say I have and it and pretend to install it if I don't. Any thoughts?

I hate to have to install all the packages manually, but will if I have to.

thanks
 
Old 12-12-2004, 07:18 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" I don't understand why Yast would say I have and it and pretend to install it if I don't."

I don't know what the problem with YaST might be. You can check to see what packages you have installed with:

rpm -qa | sort | less

and gcc in particular:

rpm -qi gcc | less

If rpm shows that gcc is installed then also run:

which gcc

to see if the compiler executable actually exists.

-------------------------------
Steve Stites

Last edited by jailbait; 12-13-2004 at 09:39 AM.
 
Old 12-12-2004, 08:07 PM   #5
degraffenried13
Member
 
Registered: Sep 2003
Posts: 228

Original Poster
Rep: Reputation: 30
Those queries don't find gcc so it must not be installed. Glibc is. It looks like Yast is not perfect, but who is I guess. Thanks for the help. i will just download the individual rpms.
 
  


Reply



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
How to link a library to gcc? Andrea_81 Programming 6 05-05-2005 04:22 AM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 09:20 AM
gcc 3.3.2, shared library luzi82 Debian 2 12-21-2003 09:35 AM
Want to get GCC library help TamArasan Linux - Software 1 08-14-2003 08:46 AM
runing library compiled with gcc-2.95.2 when egcs-2.91.66 is installed chrilarc Linux - Software 0 10-04-2001 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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