Solved

Installing SAMBA

Posted on 1998-11-20
10
400 Views
Last Modified: 2013-12-06
I am having trouble installing SAMBA.  I ftpd the latest samba version to the /usr/src directory. I unzip it
with a tar -xvzf and it makes the directory and every thing
looks fine. The next step is to uncomment the proper lines in the Makefile ..I do this and then run 'make' which is the next step and get the error:
Makefile:153 *** missing seperator. stop
only one time did if start compiling , but stopped about
1/2 way thru with a similar error msg.
I have tried using vi, joe, and pico to edit the file
What am I doing wrong??
I am using Slackware , kernel 2.0.35 and the latest version
of Samba.
0
Comment
Question by:jkipp_66
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 4

Expert Comment

by:feenix
ID: 1638552
The error means that there are more than one white space character (usually a tab) in the beginning of the line. I'm not that familiar with vi and joe, so I can't say whether they translate tabs into spaces. Pico however doesn't do this.

So, try this: every line you uncomment, make sure that there is just one tab in front of the text or that it has no white space in front of it (depending of the content on that line). That way you should be able to compile Samba.
0
 

Author Comment

by:jkipp_66
ID: 1638553
Ok, I got it to compile this time but it stopped again half way thru, here is the error:

Internal compiler error: Program cc1 got fatal signal 6
make *** [smbpass.o] Error 1

Now what?
Thanks
0
 

Author Comment

by:jkipp_66
ID: 1638554
Still need more information
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 4

Expert Comment

by:feenix
ID: 1638555
Do you have gcc or egcs? If gcc, is it 2.7.2.x? People have reported Samba not compiling with gcc 2.7.2.x. With gcc 2.8.x it compiles fine. I personally use egcs and I have no trouble compiling any software packages.

So you could try installing a newer compiler.
0
 
LVL 2

Expert Comment

by:vx
ID: 1638556
Egcs still is a little buggy (please don't correct me if I'm wrong :)) and so is gcc 2.8.x. But you're right; Samba won't compile on every computer with gcc 2.7.x. You can get the binaries as well: http://www.samba.org   ->Download->Binaries.
0
 

Expert Comment

by:overcode
ID: 1638557
If you're running Red Hat, there's a Samba RPM that works quite well...

-Reeves
0
 

Author Comment

by:jkipp_66
ID: 1638558
I have Slackware 2.0.35 so I can not use the RPM.  I am downloading the gcc 2.8.1
compiler now from  http://sunsite.unc.edu/pub/gnu/.  Is there any special way to install
this or will the docs that come in the package explain it?  Does the version of libc make a difference when compiling samba? and what is the difference between libc and glibc?
0
 
LVL 2

Expert Comment

by:vx
ID: 1638559
I recommend against installing gcc 2.8.x! It still is a test version and not all programs will compile properly. The docs will explain everything however. Libc is a (the?) library of C functions, etc. Glibc is libc6, it still is a test version too. I don't believe gcc 2.8 requires glibc.

Slackware includes a Samba package, it should work.
0
 
LVL 2

Accepted Solution

by:
cwalter earned 100 total points
ID: 1638560
Upgrade your installed versions of make and gcc.
0
 

Author Comment

by:jkipp_66
ID: 1638561
Thanks to all who answered this one. The upgrade of gcc did the trick.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question