Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay so I'm attempting to compile Xine after unpacking it, I cd to the directory, do ./configure, but when it searches for c compilers it says:
checking for style of include used by make... GNU
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
See `config.log' for more details.
it could be that you have it but it is not in the PATH.
there should be a gcc in /usr/bin.
try
which gcc
if it doesn't give anithing you'll have to install a gcc compiler.
if it gives gcc you should add this line to your .bashrc file:
PATH=/usr/bin/:$PATH. depending on where it says the gcc is you'll have to put something else instead of /usr/bin
cool, okay....I'm running Redhat 9, and in usr/bin I have gcc296...I think thats the conpiler I'm looking for. I found the bashrc file under /etc, but where in bashrc do I fit that code "PATH=/usr/bin/:$PATH" in?
hi,
you can create a .bashrc file in your home directory, if you haven't one, and add there that line.
Anyway, thinking about it, it could be that the problem is that to do ./configure, you have to add a line to tell it where the compiler is.
something like
./configure --gcc-path=/usr/bin/gccWhatever.
try ./configure --help to see the options.
actually, if you go in your home directory /home/*user* and type in the name .bash_profile (it's not visible but is in this folder). after you open it, you will see the PATH line and maybe others.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.