[Samba] build error samba-4.14.2 on openLeap 15.2

Andrew Bartlett abartlet at samba.org
Sun Apr 18 05:32:41 UTC 2021

On Sun, 2021-04-18 at 07:00 +0200, Dipl.-Ing. Péter Varkoly via samba
> Hi,
> I can not build samba-4.14.2 on openSUSE-Leap-15.2 with internal
> kerberos:

To build Samba you need flex installed.

A better error message will be in 4.15 and a future 4.14 once this
commit is backported (not done yet, sorry):

commit 942c0d2128cb8e64a9354dde6bdae82a1c1c3d88
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Mar 26 21:48:45 2021 +1300

    build: Notice if flex is missing at configure time
    This may also fix the coverage build by ensuring --noline
    is always specified to flex.
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=14586
    Signed-off-by: Andrew Bartlett <abartlet at samba.org>
    Reviewed-by: Gary Lockyer <gary at catalyst.net.nz>
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Mon Mar 29 02:12:23 UTC 2021 on sn-devel-

To be sure you have all the required dependencies, you can see:


Andrew Bartlett

Andrew Bartlett (he/him)        https://samba.org/~abartlet/
Samba Team Member (since 2001)  https://samba.org
Samba Developer, Catalyst IT    https://catalyst.net.nz/services/samba

More information about the samba mailing list