Bug 8840 - doesn't check for com_err.h, only -lcom_err
Summary: doesn't check for com_err.h, only -lcom_err
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.0 alpha 18
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: samba4-qa@samba.org
Depends on:
Reported: 2012-04-04 13:50 UTC by Jelmer Vernooij
Modified: 2013-11-01 14:55 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jelmer Vernooij 2012-04-04 13:50:02 UTC
For the case where there is no pkg-config, source4/heimdal_build/wscript_configure only seems to check for the com_err library at the moment; it doesn't check if the header can actually be used.

This breaks on some systems, especially those that have com_err.h in /usr/include/krb5 and -lcom_err in /usr/lib.
Comment 1 Matthieu Patou 2013-07-30 23:33:58 UTC
Isn't this fixed by 46b4fe0c48cb045db0a372cf89d2b0da79e44bac ?
Comment 2 Jelmer Vernooij 2013-11-01 14:31:49 UTC
No, I'm pretty sure the underlying issue is that we don't actually check for the header file in the relevant waf function.

This commit also predates this bugreport.