Install VLC 2.0.7 in CentOS 6.4?
Posted
by
raaz
on Super User
See other posts from Super User
or by raaz
Published on 2013-07-17T03:46:13Z
Indexed on
2014/06/10
3:30 UTC
Read the original article
Hit count: 380
I am keep failing in the installation process I have tried.
I have started process as follows.
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
in the configure I am getting the error as follows
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]#
So I went to libmad http location and downloaded it and while doing make it gave me the errors.There are no errors at ./configure with libmad but make not going through.
[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 \1/p' \
config.h; echo; \
sed -ne 's/^# *define *OPT_\(SPEED\|ACCURACY\).*/# define OPT_\1/p' \
config.h; echo; \
sed -ne 's/^# *define *\(SIZEOF_.*\)/# define \1/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
how can i resolve the issue and install VLC in my Centos ?
I am using CentOS 6.4 . Thank you.
© Super User or respective owner