[Samba] Building on debian 8.6

Jonathan Hunter jmhunter1 at gmail.com
Mon Dec 19 21:00:36 UTC 2016


Thanks Rowland - that did the trick, and the build has now completed
successfully (without smb.conf, of course).

It's weird, because I've compiled Samba on Raspbian for a few years
now without any issues; this is my first try with Debian itself, I
wondered if I was missing something, as I understood Raspbian was
based on Debian.. I guess there are more differences than I had
thought. (Before switching to Raspbian for my DCs I had only used
CentOS, and Slackware before that - never had problems compiling Samba
there)

And yes, you are quite right - 4.5.3 appeared after I had started
trying to build this :) I figured I should get it building first, then
re-do the necessary steps but with 4.5.3 instead - which I will do
now.

Many thanks,

Jonathan

On 19 December 2016 at 12:14, Rowland Penny via samba
<samba at lists.samba.org> wrote:
> 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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



-- 
"If we knew what it was we were doing, it would not be called
research, would it?"
      - Albert Einstein



More information about the samba mailing list