[Samba] Building on debian 8.6

Rowland Penny rpenny at samba.org
Mon Dec 19 12:14:30 UTC 2016


On Mon, 19 Dec 2016 11:03:16 +0000
Jonathan Hunter via samba <samba at lists.samba.org> wrote:

> Thank you Rowland!
> 
> Running 'apt-get install <all_those_packages>' resulted in:
> [...]
> The following extra packages will be installed:
>   comerr-dev krb5-multidev libssl-doc
> Suggested packages:
>   doc-base krb5-doc
> The following NEW packages will be installed:
>   comerr-dev krb5-multidev libkrb5-dev libpam-krb5 libssl-dev
> libssl-doc 0 upgraded, 6 newly installed, 0 to remove and 0 not
> upgraded. Need to get 2,739 kB of archives.
> After this operation, 8,103 kB of additional disk space will be used.
> 
> This made me quite hopeful that I'd be able to compile samba, but
> sadly no luck - exactly the same again. (Sorry for the delayed
> response - I left it compiling but the network connection dropped
> overnight, so I re-started the build this morning!)
> 
> [3785/3902] Generating manpages/smb.conf.5
> Segmentation fault
> Waf: Leaving directory `/home/user/download/samba-4.5.2/bin'
> Build failed:  -> task failed (err #139):
>         {task: manpages/smb.conf.5 smb.conf.5.xml,parameters.all.xml
> -> smb.conf.5}
> Makefile:8: recipe for target 'all' failed
> make: *** [all] Error 1
> 
> 

OK, as I said there was a problem with the smb.conf manpage, try this:

in the Samba tarball you downloaded, find this file:
samba-4.5.2/docs-xml/wscript_build

open it in your favourite editor and find this line:

' if ('XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']):'

under it is this line:

    SMBDOTCONF_MANPAGE(bld, 'manpages/smb.conf.5')

comment it out and try the compile again.

I would also suggest you download 4.5.3 and use that instead of 4.5.2

Rowland



More information about the samba mailing list