Click to See Complete Forum and Search --> : installing samba
*nixX
10-30-2001, 06:53 PM
I just downloaded samba and am trying to install it on mandrake 8.0
I got as far as untarring the programming and already fell into trouble.
when I change to the source directorie and type ./configure I get:
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
I have no clue what to do next please help!
Thank you
scanez
10-30-2001, 07:00 PM
Do you have gcc installed? Is it in your path?
I'm pretty sure Mandrake has Samba rpms available so their should be no need to compile it from source. Look on their ftp directory of your CDs if you have some.
SC
*nixX
10-30-2001, 07:59 PM
thanks for the reply,
what is gcc? and where should it be located?
... I'm trying to compile this from source for the experience.
when you say is it in your path I have no clue as to what that means. Idiot terms plese :(
The error is telling you that Linux can't find a suitable compiler on your system. gcc is the GNU C Compiler, cc is the (older?) C compiler; they usually live in your /usr/bin directory. When trying to locate a program to execute, Linux by default only searches for that program in directories which are part of your PATH environment variable. If you're familiar with the DOS "PATH", this works the same way.
To find out if gcc exists on your system, type "find / -name gcc" (no qoutes). If it exists, note the directory in which it is located and type "echo $PATH". The result should look something like:/sbin:/usr/sbin/:/usr/bin:
If the directory in which you found gcc isn't in the PATH statement, you will have to add it. To do this permanently, add the directory path to the "PATH=" line in /etc/profile.
Of course, there is the possiblility that you really don't have a compiler installed.
*nixX
10-31-2001, 06:33 PM
Well,
I did as you said and tried to find gcc on my system with no results.
So I guess my next order of business is installing a compiler. Can I get that right of the LM 8.0 disk?
Also what compiler should I use from the disk and how do I install it?
I know, I know sorry but I really want to learn Linux and I ask alot of questions :D
Thanks
*nixX
10-31-2001, 06:52 PM
^bump
*nixX
10-31-2001, 07:21 PM
^bump
*nixX
10-31-2001, 08:05 PM
please help ....
I don't think you need gcc if you find an RPM, which you should be able to find, check either a mandrake ftp site or even the samba one. Hope that helps
bdg1983
10-31-2001, 08:52 PM
You should be able to find gcc and any other development packages that are required for compiling software on your Mandrake cd's.
I would imagine there is a text file somewhere on the cd(s) that describes the packages and contents.
I always do a FULL install of my distro to ensure everything necessary is installed and then uninstall whatever I do not need. Of course you need to have the necessary disk space first though, but for most this would not be a problem.
My distro takes around 1.5GB for a full install, but after cleaning up what is not needed (other language man pages etc.) I end up with around 300MB less.
*nixX
10-31-2001, 09:41 PM
final newb question:
what is the command to install rpm's?
bdg1983
11-01-2001, 06:37 AM
The manual pages for rpm (man rpm) should tell you this.
rpm -ivh packagename.rpm (for installing)
rpm -Uvh packagename.rpm (for upgrading)
I just use -Uvh for both installing and upgrading.