complie myplayer on svn source code
一、complie Mplayer
1.下载 mplayer 的最新源码
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk myplayer
2.获取编译mplayer 的所有依赖包
sudo apt-get build-dep mplayer
3.编译 mplayer 前的配置
用 --prefix 来配置自己想要安装到那个目录
cd mplayer // 我把 mplayer 安装在 /usr/local/opt/mplayer 目录下 ./configure --prefix=/usr/local/opt/mplayer --language=zh_CN
或许当你运行这步时和一样有下面的错误信息,那么就根据相应的错误来解决。
##`/mplayer$ ./configure --prefix=/usr/local/opt/mplayer --language=zh_CN
Checking for cc version ... 4.4.5
Detected operating system: Linux
Detected host architecture: i386
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:15:6)
Checking for CPU type ... Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... yes
Checking for ebx availability ... yes
Checking for yasm ...
Error: yasm not found, use --yasm='' if you really want to compile without
Check "config.log" if you do not understand why it failed.
而我这里很明显是缺少 yasm 这个编译器,那么我就去安装一下不就完了。
sudo apt-get install yasm
编译并安装 mplayer
./configure --prefix=/usr/local/opt/mplayer --language=zh_CN
make
sudo make install
4.下载最新的 codecs: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2
5.把下载的 codecs 解压到 /usr/local/opt/mplayer/lib/codecs
tar jxvf all-20100303.tar.bz2
sudo mv all-20100303 /usr/local/opt/mplayer/lib/codecs
complie myplayer on svn source code相关推荐
- Google Chrome Source Code 源码下载
2019独角兽企业重金招聘Python工程师标准>>> Goolgle 于 2008.09.02 发布了浏览器 Google Chrome.Google Chrome 使用的内核源码 ...
- Pyinstaller 打包 torch 后执行失败 OSError: could not get source code
1. 问题现象 系统环境 Python 3.6.9 torch 1.2.0 torchvision 0.4.0 Pyinstaller 4.5.1 Pyinstaller 打包 torch 后执行失败 ...
- Understanding The React Source Code
Understanding The React Source Code - Initial Rendering (Simple Component) I UI updating, in its ess ...
- DevExpress Components16.2.6 Source Code 编译
DevExpress 是一个比较有名的界面控件套件,提供了一系列优秀的界面控件.这篇文章将展示如何在拥有源代码的情况下,对 DevExpress 的程序集进行重新编译. 特别提示:重编译后,已安装好的 ...
- 转: Source Code Lookup in Eclipse(主要讲的是java的)
Source Code Lookup in Eclipse https://www.intertech.com/Blog/source-code-lookup-in-eclipse/
- python3 pycharm 远程调试 启动报错 ValueError: source code string cannot contain null bytes
现象: 启动远程调试时,报错 Traceback (most recent call last):File "/root/.pycharm_helpers/pydev/pydevd.py&q ...
- 退役笔记一#MySQL = lambda sql : sql + #39; Source Code 4 Explain Plan #39;
Mysql 查询运行过程 大致分为4个阶段吧: 语法分析(sql_parse.cc<词法分析, 语法分析, 语义检查 >) >>sql_resolver.cc # JOIN.p ...
- Source Code Collection for Reproducible Research
Source Code Collection for Reproducible Research [ http://www.csee.wvu.edu/~xinl/source.html] " ...
- PyQt5 技巧篇-便于文字排版的等宽字体推荐:Source Code Pro的中文为英文两倍宽字体
推荐字体"Source Code Pro" 英文和数字正好是中文的一半宽. 而且字体很和谐,不像有的等宽字体字母特别宽. self.verticalLayoutWidget.set ...
- source code compiled install mongodb
为什么80%的码农都做不了架构师?>>> 文章来自我的博客:https://www.lwxshow.com/server/source-code-compiled-instal ...
最新文章
- 路由和交换机工作原理
- 每日一皮:这是个有趣的妹子...
- mysql jpa总分数_JPA 查询COUNT示例
- 【算法设计与分析】02 货郎问题与计算复杂性理论
- AngularJS基础入门初探
- ios 网络状态获取_Network Kit X——网络检测工具箱
- gRPC传输协议使用(python教程)
- 消息 15135,级别 16,状态 8,过程 sp_addextendedproperty,对象无效。不允许有扩展属性,或对象不存在。...
- 第一个被赋予公明身份的机器人_机器人索菲亚扬言要消灭人类!曾经狂妄无比,现在过得如何...
- 按钮插件和按钮状态切换
- 设计模式C++(Strategy策略模式)
- iOS核心动画之蒙版
- Matlab绘制折线图详细方法
- 2020超星android测试,2020知到《现代物流学》免费答案超星尔雅《测试作业导入》答案公众号...
- 关于指针赋初值为NULL的问题
- PMP工作绩效数据、信息和报告三者的区别
- 玩客云家庭媒体共享中心使用说明
- oracle查询最新100条数据
- mysql将时间戳转换为年月日格式进行查询
- facetime 来电提醒_Android版FaceTime应用程序? 这是一些适用于Android的替代视频通话应用程序。...