Re: Compiling error vlc 2.0.6

Paulo Cavalcanti <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.general
Message-ID <CAMgUmnnNfb7fxDC6a-qx2E=MB_oW3mzZ+AAifPqbEJJccOPqqg@mail.gmail.com>
It is a linking problem. It is not finding
the opengl libraries.

I compile using mock, and this avoids conflicts
between mesa and nvidia files.

I have vlc for rhel6 here:

http://orion.lcg.ufrj.br/RPMS/myrpms-el6-x86_64/lcgrpms/vlc-2.0.6-6.el6.x86_64.rpm

http://orion.lcg.ufrj.br/RPMS/myrpms-el6-x86_64/lcgrpms/vlc-devel-2.0.6-6.el6.x86_64.rpm


However, I may have compiled it with some additional packages of mine or
from epel
that you will not find on ATrpms.




On Sat, May 4, 2013 at 11:11 PM, O&M Ugarcina <[email protected]> wrote:

> 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
>



-- 
Paulo Roma Cavalcanti
DCC - UFRJ

_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users
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.