Discussion:
[blfs-support] Build v4l-utils-1.14.2 error, missing glx.h.
niuneilneo
2018-07-16 13:24:03 UTC
Permalink
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Douglas R. Reno
2018-07-16 13:29:11 UTC
Permalink
Hi everyone,
I am building Gnome from scratch, and this time I stuck at building
v4l-utils-1.14.2 (sorry for Chinese character, but I still think you can
make[3]: 进入目圕“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
CC v4l2gl.o
v4l2gl.c:28:10: 臎呜错误GL/glx.h没有那䞪文件或目圕
#include <GL/glx.h>
^~~~~~~~~~
猖译䞭断。
make[3]: *** [Makefile:599v4l2gl.o] 错误 1
make[3]: 犻匀目圕“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
make[2]: *** [Makefile:471all-recursive] 错误 1
make[2]: 犻匀目圕“/home/neil/gnome/v4l-utils-1.14.2/contrib”
make[1]: *** [Makefile:582all-recursive] 错误 1
make[1]: 犻匀目圕“/home/neil/gnome/v4l-utils-1.14.2”
make: *** [Makefile:509all] 错误 2
I only digest the part of log related with my problem. I think this is
caused by missing GL/glx.h. Before I come to this phase, I download
<GL/glext.h> and <KHR/khrplatform.h> from the khronos.org website to
overcome the same problems like missing glx.h.
My question is which LFS package containing these gl*.h headers, because I
know to solve these problems by downloading headers is not the correct
solution.
Yours sincerely,
Lei
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Try installing GLU
niuneilneo
2018-07-16 13:36:36 UTC
Permalink
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Thanos Baloukas
2018-07-16 15:27:52 UTC
Permalink
Hi everyone,
I am building Gnome from scratch, and this time I stuck at building
v4l-utils-1.14.2 (sorry for Chinese character, but I still think you can
make[3]: 进入目录“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
  CC v4l2gl.o
v4l2gl.c:28:10: 致命错误:GL/glx.h:没有那个文件或目录
 #include <GL/glx.h>
          ^~~~~~~~~~
编译中断。
make[3]: *** [Makefile:599:v4l2gl.o] 错误 1
make[3]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
make[2]: *** [Makefile:471:all-recursive] 错误 1
make[2]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2/contrib”
make[1]: *** [Makefile:582:all-recursive] 错误 1
make[1]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2”
make: *** [Makefile:509:all] 错误 2
I only digest the part of log related with my problem. I think this is
caused by missing GL/glx.h. Before I come to this phase, I download
<GL/glext.h> and  <KHR/khrplatform.h>  from the khronos.org website to
overcome the same problems like missing glx.h.
My question is which LFS package containing these gl*.h headers, because
I know to solve these problems by downloading headers is not the correct
solution.
/usr/include/GL/gl.h is installed by mesa.
--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the abo
niuneilneo
2018-07-17 07:45:12 UTC
Permalink
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Hazel Russman
2018-07-17 13:19:46 UTC
Permalink
On Tue, 17 Jul 2018 15:45:12 +0800
Dear Thanos,
I have built and installed mesa, but there is still no GL/glx.h. Do you have glx.h and glext.h after installation of mesa?
Yours sincerely,
Lei
Hi everyone,
make[3]: 进入目录“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
  CC v4l2gl.o
v4l2gl.c:28:10: 致命错误:GL/glx.h:没有那个文件或目录
 #include <GL/glx.h>
          ^~~~~~~~~~
编译中断。
make[3]: *** [Makefile:599:v4l2gl.o] 错误 1
make[3]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2/contrib/test”
make[2]: *** [Makefile:471:all-recursive] 错误 1
make[2]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2/contrib”
make[1]: *** [Makefile:582:all-recursive] 错误 1
make[1]: 离开目录“/home/neil/gnome/v4l-utils-1.14.2”
make: *** [Makefile:509:all] 错误 2
I only digest the part of log related with my problem. I think this is caused by missing GL/glx.h. Before I come to this phase, I download <GL/glext.h> and  <KHR/khrplatform.h>  from the khronos.org website to overcome the same problems like missing glx.h. 
My question is which LFS package containing these gl*.h headers, because I know to solve these problems by downloading headers is not the correct solution.
Yours sincerely,
Lei
I have them in /usr/include/GL. And a tar -tf on the mesa tarball shows them as present there.
--
Hazel
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/bl
Thanos Baloukas
2018-07-17 14:33:36 UTC
Permalink
Dear Thanos,
I have built and installed mesa, but there is still no GL/glx.h. Do you
have glx.h and glext.h after installation of mesa?
On my latest system I have mesa-18.1.4 built with meson, that among
other headers installed

/usr/include/GL/gl.h
/usr/include/GL/gl_mangle.h
/usr/include/GL/glcorearb.h
/usr/include/GL/glext.h
/usr/include/GL/glx.h
/usr/include/GL/glx_mangle.h
/usr/include/GL/glxext.h
/usr/include/GL/internal/dri_interface.h
/usr/include/GL/osmesa.h

Looking at my previous system, I started with mesa-18.0.3 and upgraded
to mesa-18.1.0, mesa-18.1.1 and mesa-18.1.2, all built with meson, and
those headers are present too. The same goes for blfs-8.2 mesa-17.3.4
built with autotools.

It could be that you omitted some --enable-* configure option. Or you
installed mesa on prefix other than /usr and did not set C_INCLUDE_PATH?
--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.
pat barnes
2018-07-17 15:49:50 UTC
Permalink
I ran into a similar problem. There is a circular dependency between
Mesa and libva. You must first install libva without EGL and GLX
support, (See the note under Mesa Recommended Dependencies), build Mesa,
then rebuild libva. If you are using libvdpau-va-gl, you must also build
this file after everything elese is installed again.
Post by Thanos Baloukas
Dear Thanos,
I have built and installed mesa, but there is still no GL/glx.h. Do
you have glx.h and glext.h after installation of mesa?
On my latest system I have mesa-18.1.4 built with meson, that among
other headers installed
/usr/include/GL/gl.h
/usr/include/GL/gl_mangle.h
/usr/include/GL/glcorearb.h
/usr/include/GL/glext.h
/usr/include/GL/glx.h
/usr/include/GL/glx_mangle.h
/usr/include/GL/glxext.h
/usr/include/GL/internal/dri_interface.h
/usr/include/GL/osmesa.h
Looking at my previous system, I started with mesa-18.0.3 and upgraded
to mesa-18.1.0, mesa-18.1.1 and mesa-18.1.2, all built with meson, and
those headers are present too. The same goes for blfs-8.2 mesa-17.3.4
built with autotools.
It could be that you omitted some --enable-* configure option. Or you
installed mesa on prefix other than /usr and did not set C_INCLUDE_PATH?
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above infor
Loading...