Summary: | strtod.c:32:10: fatal error: xlocale.h: No such file or directory | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | jfonseca |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2017-06-30 06:51:37 UTC
To be clear, the bug here is that SCons (scons/gallium.py) defines HAVE_XLOCALE_H without actually checking that it does indeed have xlocale.h. As far as I can tell, there is no way to perform such a check on SCons, so I think the define should be removed, and the corresponding functionality [1] will not work when built from scons. Is there any other alternative? [1] /** * Wrapper around strtod which uses the "C" locale so the decimal * point is always '.' */ http://scons.org/doc/0.97/HTML/scons-user/x2827.html Above suggests that there may be a way. Although, I think we want to hunk/rework the implementation. But that for another day. Fixed by: commit c5d0dc7fa5566941a49ede8c83a0cfe0a33a3d7f Author: Vinson Lee <vlee@freedesktop.org> Date: Wed Jul 5 14:16:11 2017 -0700 scons: Check for xlocale.h before defining HAVE_XLOCALE_H. |
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.