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 -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions
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
On Thu, 2021-03-25 at 16:01 +1300, Andrew Bartlett via samba wrote:> 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.This is https://bugzilla.samba.org/show_bug.cgi?id=14586 https://gitlab.com/samba-team/samba/-/merge_requests/1870 -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions