Bug 51335

Summary: Compile Error: GL/gl.h: No such file or directory
Product: Mesa Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: Mesa coreAssignee: mesa-dev
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: medium CC: eric
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: bisect/compile log
Possible fix
proper patch
fix space problem

Description U. Artie Eoff 2012-06-22 08:06:34 UTC
Bisect bad commit result:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=95836b46e77abfe5411922eb7cf71a18c028f42a

Issue Summary:

Mesa master (d988ea5e810868244eb1a1e7ede32295c9ed9ad4) does not compile... the following error occurs:

In file included from ../x86/gen_matypes.c:40:0:
../../../src/mesa/main/glheader.h:53:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.

Steps:

1. clone mesa master
2. ensure mesa-GL-devel package is not installed on your system.
3. ./autogen.sh --enable-gles2 --disable-gallium-egl --with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi
4. make -j4

Result:

make -j4 fails with the aforementioned error.
Comment 1 U. Artie Eoff 2012-06-22 08:11:05 UTC
Created attachment 63349 [details]
bisect/compile log
Comment 2 Laurent carlier 2012-06-22 08:19:35 UTC
Created attachment 63350 [details] [review]
Possible fix

Possible fix, see http://lists.freedesktop.org/archives/mesa-dev/2012-June/023158.html
Comment 3 Laurent carlier 2012-06-22 09:41:56 UTC
Created attachment 63353 [details] [review]
proper patch
Comment 4 Laurent carlier 2012-06-22 10:37:25 UTC
Created attachment 63354 [details] [review]
fix space problem
Comment 5 Brian Paul 2012-06-22 16:26:35 UTC
Committed as 78ac9af58021b7cc649c35fda112f61c98b31766.  Thanks.

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.