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
vincent at cojot.name
2021-Mar-25 19:29 UTC
[Samba] compile samba 4.14.2 failed on centos 8.3
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. E.g: https://github.com/nkadel/samba4repo 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. http://vince.cojot.name/dist/samba Good luck, Vincent 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 >