Instale o VLC 2.0.7 no CentOS 6.4?

3

Eu continuo falhando no processo de instalação que tentei.

Eu comecei o processo da seguinte forma.

yum install gcc dbus-glib-devel* lua-devel* libcddb
wget http://download.videolan.org/pub/videolan/vlc/2.0.7/vlc-2.0.7.tar.xz
tar -xf vlc-2.0.7.tar.xz && cd vlc-2.0.7
./configure

no configure estou recebendo o erro da seguinte forma

configure: WARNING: No package 'libcddb' found: CDDB access disabled.
checking for Linux DVB version 5... yes
checking for DVBPSI... no
checking gme/gme.h usability... no
checking gme/gme.h presence... no
checking for gme/gme.h... no
checking for SID... no
configure: WARNING: No package 'libsidplay2' found (required for sid).
checking for OGG... no
configure: WARNING: Library ogg >= 1.0 needed for ogg was not found
checking for MUX_OGG... no
configure: WARNING: Library ogg >= 1.0 needed for mux_ogg was not found
checking for SHOUT... no
configure: WARNING: Library shout >= 2.1 needed for shout was not found
checking ebml/EbmlVersion.h usability... no
checking ebml/EbmlVersion.h presence... no
checking for ebml/EbmlVersion.h... no
checking for LIBMODPLUG... no
configure: WARNING: No package 'libmodplug' found
No package 'libmodplug' found.
checking mpc/mpcdec.h usability... no
checking mpc/mpcdec.h presence... no
checking for mpc/mpcdec.h... no
checking mpcdec/mpcdec.h usability... no
checking mpcdec/mpcdec.h presence... no
checking for mpcdec/mpcdec.h... no
checking for libcrystalhd/libcrystalhd_if.h... no
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.
[root@localhost vlc-2.0.7]# 

Então eu fui para o local libmad http e fiz o download dele e enquanto fazia isso me dava os erros. sem erros no ./configure com a libmad, mas sem passar.

[root@localhost libmad-0.15.0b]# make
(sed -e '1s|.*|/*|' -e '1b' -e '$s|.*| */|' -e '$b'  \
        -e 's/^.*/ *&/' ./COPYRIGHT; echo;  \
    echo "# ifdef __cplusplus";  \
    echo 'extern "C" {';  \
    echo "# endif"; echo;  \
    if [ ".-DFPM_INTEL" != "." ]; then  \
        echo ".-DFPM_INTEL" | sed -e 's|^\.-D|# define |'; echo;  \
    fi;  \
    sed -ne 's/^# *define  *\(HAVE_.*_ASM\).*/# define /p'  \
        config.h; echo;  \
    sed -ne 's/^# *define  *OPT_\(SPEED\|ACCURACY\).*/# define OPT_/p'  \
        config.h; echo;  \
    sed -ne 's/^# *define  *\(SIZEOF_.*\)/# define /p'  \
        config.h; echo;  \
    for header in version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h; do  \
        echo;  \
        sed -n -f ./mad.h.sed ./$header;  \
    done; echo;  \
    echo "# ifdef __cplusplus";  \
    echo '}';  \
    echo "# endif") >mad.h
make  all-recursive
make[1]: Entering directory '/home/raja/Downloads/libmad-0.15.0b'
make[2]: Entering directory '/home/raja/Downloads/libmad-0.15.0b'
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK    -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -MT version.lo -MD -MP -MF ".deps/version.Tpo" \
      -c -o version.lo 'test -f 'version.c' || echo './''version.c; \
    then mv -f ".deps/version.Tpo" ".deps/version.Plo"; \
    else rm -f ".deps/version.Tpo"; exit 1; \
    fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_INTEL -DASO_ZEROCHECK -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 -fstrength-reduce -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fPIC -DPIC -o .libs/version.lo
cc1: error: unrecognized command line option "-fforce-mem"
make[2]: *** [version.lo] Error 1
make[2]: Leaving directory '/home/raja/Downloads/libmad-0.15.0b'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/raja/Downloads/libmad-0.15.0b'
make: *** [all] Error 2

como posso resolver o problema e instalar o VLC no meu Centos?

Estou usando o CentOS 6.4. Obrigado.

    
por rɑːdʒɑ 17.07.2013 / 05:46

3 respostas

6

Solução Para instalar o VLC no CentOS 6.4

Abra o terminal e siga algumas etapas

cd /etc/yum.repos.d /

wget link

yum instala vlc

Aproveite o ambiente de código aberto.

    
por 17.07.2013 / 07:20
0

Você pode usar o RPM Fusion EL6 no seu sistema. Acesse o link e instale o repositório em seu sistema e instale-o via Yum.

    
por 17.07.2013 / 17:13
-1

A instalação passo a passo do VLC 2.0 no CentOS 6.4 pode ser feita com sucesso implementando o instruções .

    
por 27.10.2014 / 15:36