Bug 78892 - configure: error: Could not find clang internal header stddef.h in /usr/lib64/llvm/clang/3.4 Use --with-clang-libdir to specify the correct path to the clang libraries.
Summary: configure: error: Could not find clang internal header stddef.h in /usr/lib64...
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 07:56 UTC by Vinson Lee
Modified: 2015-02-28 18:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2014-05-19 07:56:19 UTC
mesa: 9e74de884a0595e577ebdfb7c7c13f4fd4d4dff5 (master 10.3.0-devel)

configure error on Fedora 21. stddef.h is located at /usr/lib/clang/3.4/include/stddef.h.

$ ./autogen.sh --enable-opencl
[...]
checking for llvm-config... /usr/bin/llvm-config
configure: error: Could not find clang internal header stddef.h in /usr/lib64/llvm/clang/3.4 Use --with-clang-libdir to specify the correct path to the clang libraries.
Comment 1 Serge Martin 2015-02-28 18:55:30 UTC
Mesa looks for the standard installation path.
It seems that Fedora install the header in another one. As sugested by the error message you should use --with-clang-libdir=/usr/lib64/llvm/clang/3.4


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.