Bug 14751 - popt.h: File or directory not found
Summary: popt.h: File or directory not found
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
: 15395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-04 18:51 UTC by Matthias Dieter Wallnöfer
Modified: 2023-06-12 16:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Dieter Wallnöfer 2021-07-04 18:51:50 UTC
Apparently waf fails to probe for the _libpopt-dev_ package during the configuration step, so the build fails:

> [3573/4441] Compiling source4/torture/krb5/kdc-canon-heimdal.c
> In file included from ../../source4/torture/krb5/kdc-canon-heimdal.c:28:0:
> ../../lib/cmdline/cmdline.h:22:10: fatal error: popt.h: Datei oder Verzeichnis nicht gefunden
> #include <popt.h>
>           ^~~~~~~~
> compilation terminated.
>
> Waf: Leaving directory `/home/mdw/progs/c_cpp/samba/bin/default'
> Build failed
>  -> task in 'TORTURE_KRB5' failed with exit status 1 (run with -v to display more information)
> Makefile:7: recipe for target 'all' failed
> make: *** [all] Error 1

Installing it with the system's package manager resolves the problem :).
Comment 1 Björn Baumbach 2023-06-12 16:00:46 UTC
*** Bug 15395 has been marked as a duplicate of this bug. ***