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.
Ok, I downloaded xine library as a .tar.gz
I extract it, then open a text file named install
it tells me to do the ./configure stuff
so in terminal I cd into the directory it has been extracted into, try to do the ./configure and I get this c compiler error:
Configure: error: no acceptable C compiler found in $path
I thought it was something gcc related or whatever, so I go to add/remove Application and I check development tools (which was previously unchecked) because I see that there is some c and gcc related stuff but then when I click update I get this error "The following packages could not be found on your system. Installation cannot continue until they are installed."
and a little list of the pakages it couldn't find.
What do I do? I am new to linux but it really is starting to seem like more trouble than it's worth! Help me succeed with Linux!
Last edited by LinuxChimp; 12-22-2005 at 09:52 PM.
Install the development packages from the install CD's
You will need to install the kernel source and headers as well.
It's been a while since I used Red Hat, but I believe they have an installation grouping they call development. This will have all the compilers like gcc etc that you will need to compile programs from source.
If you are unable to do this, look for xine rpms compiled for your version of Red Hat. Google would be a good start.
Quote:
I am new to linux but it really is starting to seem like more trouble than it's worth!
It only seems like trouble because you have no idea what you are doing. If you are even remotely interested in linux, you likely have a good working knowledge of computers and windows and you are just not used to being a newbie again. Just keep plugging away. It is worth the effort. It's not hard, it's just different. Like learning a new language.
I put the cd in and searched on the cd and found the rpms with the same name as the error message says are missing, I try to run them and it tells me that there is a newer version already installed.
type "echo $path" in a console... most likely it wont have gcc or whatever c compiler you have installed listed, but it SHOULD.
therefore u need to modify your $path variable so it contans the path to your compiler.
to find out where your compiler is, u should be able to type 'whereis gcc' or, again, whatever your compilers called.
now that you know where the compiler is, run this command at a terminal:
export PATH=$PATH:/path/to/cCompiler
then try doing whatever your doing again. (you should note that now 'echo $path' also displays the path you 'export'ed)
when you close this terminal window and 'echo $path' again, youll notice that the path you 'export'ed isnt there anymore. this is because you have to 'export' it each time the shell/terminal is opened.
to modify the $path variable permanetly, modify the ~/.bashrc file (~ means your home directory, ie /home/nadroj). this file is called each time the terminal is opened.
just add the export command i showed you to the end of that file and save.
Okay, I'm having a very similar problem, but instead of trying to install CC, i am trying to install gcc.
When i put in $path i get:
Code:
bash: /usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games:/usr/lib/gcc: No such file or directory
and i put this in before doing the above:
Code:
zax@ntu:~$ whereis gcc
gcc: /usr/lib/gcc
So I'm not really sure what is going on.
By the way, on a side note, Franklin, this is wonderfully said, and good to hear:
Quote:
Originally Posted by franklin
It only seems like trouble because you have no idea what you are doing. If you are even remotely interested in linux, you likely have a good working knowledge of computers and windows and you are just not used to being a newbie again. Just keep plugging away. It is worth the effort. It's not hard, it's just different. Like learning a new language.
I think I know what my problem is now, but I don't know how to fix it.
Ok. I don't have gcc installed, because I don't have the pakage for it installed in add/remove applications.
BUT everytime I try to add this pakage from add/remove applications (I check it, then click update) it gives me an error that some files are missing and that it cannot install the pakage I selected because of these missing files.
Sooo... I put in the orignal install cd, find the missing files on the cd and try to install them (they are rpm files) and it says they are already installed...
Okay, so i switched to the folder i should have been installing gcc in the first place, /usr/share.
Now I'm getting a different error than before:
Code:
root@ntu:/usr/share/gcc-4.0.2# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.
And when i went to the website and browsed around. I found a couple of options, specifically the --prefix=/usr/share --enable-generated-files-in-srcdir options, both of which sounded as though they may solve the problem i am having, but to no avail.
Keep me posted if you get anything figured out Chimp, i'm tearing my hair out right now, i've got all this music to listen to, but no way to listen to it, because i cant install xmms until i have gcc! Plenty of other progs i need to install, but thats the one on my mind the most right now.
Holy toledo, i feel like an idiot. Okay, so i googled some of my error and came up with [URL="http://underlinux.com.br/modules.php?name=Forums&file=posting&mode=quote&p=154142"]this link.
I dont speak the language, but i deffinetly felt like slapping myself upon seeing the apt-get idea. Worked like a charm for me, hopefully it will do the same for you Chimp!
I think you are forgetting that I am a huge newb. Please help me, I tried the apt-get but it said it was an unknown command... help me do what you did to get it to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.