Results 1 to 10 of 13
Hey guys. I'm brand new to pretty much everything linux. Up to this point I've had a few kinks but I've been able to get it figured out. Now I'm ...
- 10-11-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 11
C Compiler
Hey guys. I'm brand new to pretty much everything linux. Up to this point I've had a few kinks but I've been able to get it figured out. Now I'm trying to install Samba and I'm not having much luck. Whenever I try to configure it everything goes fine except it says "No acceptable C compiler found in $PATH". I've tried everything I can think of and I'm not even getting close (although I have accidentally picked up some decent knowledge along the way
. Any help would be greatly accepted. Thanks.
- 10-11-2007 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
if you have gcc installed add it to your path, if not the install it through apt.
Operating System: GNU Emacs
- 10-12-2007 #3
Execute this
Code:su apt-get update apt-get install build-essential
Last edited by devils casper; 10-12-2007 at 04:10 PM. Reason: sudo -> su
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-12-2007 #4Just Joined!
- Join Date
- Oct 2007
- Posts
- 11
k, well, like I said, I'm VERY new to this. So: how exactly would I go about moving gcc to the correct PATH? also (and first), when I try to configure gcc so I can install it it tells me "You must set the environment variable CC to a working compiler"......what does that mean and how would I fix it? Thanks again.
- 10-12-2007 #5
what devils_casper said should do all that stuff automatically
- 10-12-2007 #6
How did you install GCC? There is no need to setup PATH manually because Package Manager set it itself. Did you try to install build-essential package?
:Edit: 2playgames is fast.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-12-2007 #7Just Joined!
- Join Date
- Oct 2007
- Posts
- 11
K, that definitely did something. But now it says
"Media change: please insert the disc labeled
'Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 kde-CD Binary-1 20070819-12:11'
in the drive '/cdrom/' and press enter"
I have no such disk. What now?
- 10-12-2007 #8
Above code should not ask for any CD. Does your machine has internet access? Open /etc/apt/sources.list file and put # sign before CDROM lines.
Try to install build-essential again.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-12-2007 #9Just Joined!
- Join Date
- Oct 2007
- Posts
- 11
ok, next question. I just noticed that when I put in "apt-get update" it lists some stuff then comes back with:
"E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?"
?????
- 10-12-2007 #10
Are you running Synaptic, Add/Remove or Adept too? You can't run apt-get and other package managers simultaneously.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
