fedora14 安装vlc2.0.6编译环境 步骤记录

按configure默认配置 安装vlc2.0.6

如需要界面需安装 QT4  : yum install  qt4 qt4-devel

1. 加载编程工具 :  

切换root 用户

yum install git libtool pkg-config

./bootstrap  执行完生成configure 文件


2.   ./configure
err: dbus-1  错误

http://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html   下载 dbus-1.6.10

 按照该网页说明执行

 

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --libexecdir=/usr/lib/dbus-1.0 \
            --with-console-auth-dir=/run/console/ \
            --without-systemdsystemunitdir \
            --disable-systemd \
            --disable-static &&
make

err:expat.h 的错误 从 http://www.linuxfromscratch.org/blfs/view/svn/general/expat.html 下载 expat-2.1.0 按网页说明安装 成功后

在安装dbus 

3. ./configure
    configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. 
    Use --disable-lua to ignore this error.

解决:

yum install lua 和 yum install lua-devel
4. ./configure
  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.
  
 下载libmad  http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/libmad.html    
 编译安装:(可能存在缺少 g++ :yum install gcc-c++)     
./configure --prefix=/usr &&make
(若出现-fforce-mem错误, 在MakeFile 中删掉,在执行make)           
   make install
5. ./configure
configure: error: No package 'libavcodec' found
No package 'libavutil' found. Pass --disable-avcodec to ignore this error.

解决:
   把vlc-2.0.6/contrib/src 下的文件夹全部移走(备份后面会用到) 只剩下ffmpeg文件夹 和一些.sh 文件

   cd vlc-2.0.6/contrib
   mikdir tmp
   cd tmp
   ../bootstrap
   make
  进入 ffmepg:
  cd ffmpeg  
./configure --prefix=/usr &&make

err:yasm 错误   安装L yum install yasm
执行:
./configure --prefix=/usr &&make
make install

6. ./configure
err:configure: error: No package 'libpostproc' found. Pass --disable-postproc to ignore this error
解决:
把postproc 文件夹 拷到 vlc-2.0.6/contrib/src 现在文件夹有2个postproc和ffmpeg 
按照上边步骤安装 postproc
7../configure


configure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/.

Alternatively you can use --disable-a52 to disable the a52 plugin.

同上方法

8. ./configure

configure: error: No package 'alsa' found. alsa-lib 1.0.16 or later required.

解决:下载  alsa-lib-1.0.27 
     
     ./configure --prefix=/usr &&make

     make install 


  
9.  ./configure


configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.
步骤同 5 和 6  src文件夹下 只留 gcrypt 文件夹。
中途需安装libgpg-error-1.9

10.  ./configure

libvlc configuration
--------------------
version               : 2.0.6
system                : linux
architecture          : i686 mmx sse sse2
optimizations         : yes
vlc aliases           : cvlc rvlc qvlc

To build vlc and its plugins, type `make', or `./compile' if you like nice colors.


11. make
12   make install

安装完成 目前vlc 的 客户端功能 应该能满足 但作为服务器使用的话 还需要对 configure进行配置 需要知道configure 配置选项,是件头疼的事,而且还会涉及作为
服务器所需要的第三方库的安装,不管还需要什么库  到/contrib/src 里面下载 在用 ./configure --prefix=/usr &&make 和make install 安装。

服务器安装待续。。。。。。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值