Missing GL development files when compiling VLC 0.9.9a
Posted: 21 Apr 2009 17:00
by jgg
Hi,
I'm trying to compile VLC 0.9.9a but I get into dependency errors.
When I issue #./configure --prefix=/usr/vlc I get:
Code: Select all
...
checking for X11/extensions/Xv.h... no
checking for X11/Xlib.h... (cached) yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
configure: error: Please install GL development package. Alternatively you can also configure with --disable-glx.
Could anyone please tell me if I'm missing any packages so I can get VLC 0.9.9a working?
Thanks a lot.
Re: Missing GL development files when compiling VLC 0.9.9a
Posted: 21 Apr 2009 17:55
by Rémi Denis-Courmont
libgl1-mesa-dev
Re: Missing GL development files when compiling VLC 0.9.9a
Posted: 21 Apr 2009 19:38
by pez
i had the same problem, libgl1-mesa-dev didn't resolve it, checking the configure errors this showed up:
...
checking for X11/extensions/Xv.h... no
checking for X11/Xlib.h... (cached) yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
configure: error: Please install GL development package. Alternatively you can also configure with --disable-glx.
installed xlibmesa-glu-dev and worked with version vlc-0.9.9a
thanks rémi though, cause searching throgh mailists only got me "install mesa", with your comment i could narrow the search
Re: Missing GL development files when compiling VLC 0.9.9a
Posted: 22 Apr 2009 10:43
by jgg
Thanks for your answers.
I installed both packages and x11proto-xext-dev as needed, but now I get a new error related to ld:
-->
/usr/bin/ld: cannot find -lXext
Code: Select all
...
xcommon.c: In function ‘ToggleFullScreen’:
xcommon.c:2083: warning: unused variable ‘xevent’
mv -f .deps/libglx_plugin_la-xcommon.Tpo .deps/libglx_plugin_la-xcommon.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 `top_builddir="../../.." ../../../vlc-config --cflags plugin libglx_plugin.la` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/local/lib/vlc/video_output' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../../.." ../../../vlc-config --ldflags plugin libglx_plugin.la` -o libglx_plugin.la libglx_plugin_la-glx.lo libglx_plugin_la-xcommon.lo `top_builddir="../../.." ../../../vlc-config -libs plugin libglx_plugin.la` ../../../src/libvlccore.la
libtool: link: gcc -std=gnu99 -shared .libs/libglx_plugin_la-glx.o .libs/libglx_plugin_la-xcommon.o -Wl,-rpath -Wl,/home/dulceangustia/vlc-0.9.9a/src/.libs -lX11 -lXext -lGL -lGLU ../../../src/.libs/libvlccore.so -lhal -ldbus-1 -lrt -lpthread -ldl -lm -mtune=pentium2 -Wl,-soname -Wl,libglx_plugin.so -o .libs/libglx_plugin.so
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[6]: *** [libglx_plugin.la] Error 1
make[6]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output/x11'
make[5]: *** [all] Error 2
make[5]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output/x11'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output'
make[3]: *** [all] Error 2
make[3]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a'
make: *** [all] Error 2
Code: Select all
jet:/home/dulceangustia# find / -name libXext*
/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
I'm using Debian Lenny 2.6.26 with ld 2.18.0.20080103. Any clue?
Thanks.
Re: Missing GL development files when compiling VLC 0.9.9a
Posted: 22 Apr 2009 12:44
by jgg
Installing libxext-dev solved it.