Compiling error vlc 2.0.6

O&M Ugarcina <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.general
Message-ID <[email protected]>
Hello Paulo,

I have been trying to compile the latest vlc src rpm and have come to an 
error :

/bin/sh ../../libtool --tag=CC --silent --tag=CC --mode=compile gcc 
-std=gnu99 -DHAVE_CONFIG_H -I. -I../.. 
-DMODULE_NAME=`p="libxcb_glx_plugin_la-events.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}"` 
-DMODULE_NAME_IS_`p="libxcb_glx_plugin_la-events.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}"` 
-DMODULE_STRING=\"`p="libxcb_glx_plugin_la-events.lo"; p="${p##*/}"; 
p="${p#lib}"; echo "${p%_plugin*}"`\" -D__PLUGIN__ -I../../include 
-I../../include    -I/usr/include/libdrm   -O2 -g -Wall -Wextra 
-Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast 
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var 
-Werror-implicit-function-declaration -pipe -fvisibility=hidden  
-ffast-math -funroll-loops -fomit-frame-pointer -c -o 
libxcb_glx_plugin_la-events.lo `test -f 'xcb/events.c' || echo 
'./'`xcb/events.c
   CCLD   libxcb_glx_plugin.la
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[5]: *** [libxcb_glx_plugin.la] Error 1
make[5]: Leaving directory 
`/root/redhat/BUILD/vlc-2.0.6/modules/video_output'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/root/redhat/BUILD/vlc-2.0.6/modules/video_output'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/root/redhat/BUILD/vlc-2.0.6/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/redhat/BUILD/vlc-2.0.6/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/redhat/BUILD/vlc-2.0.6'
make: *** [all] Error 2
error: Bad exit status from /root/redhat/tmp/rpm-tmp.6w6HzN (%build)


RPM build errors:
     Bad exit status from /root/redhat/tmp/rpm-tmp.6w6HzN (%build)


My environment is el6.4 64bit . I know I am missing something but have 
not been able to workout which rpm will satisfy the requirement .

Best Regards
Milorad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.