LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   gcc library installed not found (https://www.linuxquestions.org/questions/suse-opensuse-60/gcc-library-installed-not-found-265660/)

degraffenried13 12-12-2004 04:38 PM

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

jailbait 12-12-2004 06:36 PM

"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

degraffenried13 12-12-2004 07:08 PM

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

jailbait 12-12-2004 07:18 PM

" 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

degraffenried13 12-12-2004 08:07 PM

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.


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