[Samba] compile samba 4.14.2 failed on centos 8.3

vincent at cojot.name vincent at cojot.name
Thu Mar 25 19:29:50 UTC 2021

Hi Adam,

Do you have a strong requirement of building from source? If not, then 
perhaps you could leverage the various rpm build chains available. It 
would provide cleaner integration on a CentOS or RHEL system.

I'm also producing binary rpms of the samba 4 rpms with AD/DC but I'm only 
doing RHEL7 builds at the moment and have no 4.14 branch.


Good luck,


On Thu, 25 Mar 2021, Adam Xu via samba wrote:

> Hi Andrew
> That resolved my Problem. thank you.
> Since lack of flex can lead to fatal errors when compiling samba on 
> centos8, could you update the wiki?
> https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
> 在 2021/3/25 11:01, Andrew Bartlett via samba 写道:
>> On Thu, 2021-03-25 at 10:33 +0800, Adam Xu via samba wrote:
>>> Hi everyone.
>>> I have downloaded samba 4.12 and try to compile it.
>>> first install all the dependencies and configure like that:
>> My guess is you don't have flex installed.
>> If that fixes it please file a bug for a better failure in configure.
>> Andrew Bartlett
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list