网上很多是vlc for android的编译步骤,这边是linux的编译步骤:

1 下载vlc for linux:

https://github.com/videolan/vlc

这里用github下载最新的zip包

2 生成makefile 和配置文件

work01@ubuntu:~/vlc_source_debug/vlc-master$ ./bootstrap

报错1:

NOTE: GNU gettext appears to be missing or out-of-date.

Please install or update GNU gettext.

Also check if you have cvs, a dependency of autopoint.

Otherwise, you will not be able to build a source tarball.

==============================================================

generating modules/**/Makefile.am

.................

+ autoreconf --install --force --verbose -I m4

./bootstrap: line 78: autoreconf: command not found

解决:

.1

sudo apt-get install gettext

sudo apt-get install cvs

sudo apt-get install autoconf  automake  libtool

work01@ubuntu:~/vlc_source_debug/vlc-master$ ./bootstrap

NOTE: GNU gettext appears to be missing or out-of-date.

Please install or update GNU gettext.

Also check if you have cvs, a dependency of autopoint.

Otherwise, you will not be able to build a source tarball.

==============================================================

generating modules/**/Makefile.am

.................

+ autoreconf --install --force --verbose -I m4

autoreconf: Entering directory `.'

autoreconf: running: true --force

autoreconf: running: aclocal -I m4 --force -I m4

autoreconf: configure.ac: tracing

autoreconf: running: libtoolize --copy --force

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.

libtoolize: copying file `autotools/ltmain.sh'

libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.

libtoolize: copying file `m4/libtool.m4'

libtoolize: copying file `m4/ltoptions.m4'

libtoolize: copying file `m4/ltsugar.m4'

libtoolize: copying file `m4/ltversion.m4'

libtoolize: copying file `m4/lt~obsolete.m4'

autoreconf: running: /usr/bin/autoconf --include=m4 --force

autoreconf: running: /usr/bin/autoheader --include=m4 --force

autoreconf: running: automake --add-missing --copy --force-missing

configure.ac:55: installing 'autotools/compile'

configure.ac:23: installing 'autotools/config.guess'

configure.ac:23: installing 'autotools/config.sub'

configure.ac:27: installing 'autotools/install-sh'

configure.ac:27: installing 'autotools/missing'

parallel-tests: installing 'autotools/test-driver'

bin/Makefile.am: installing 'autotools/depcomp'

autoreconf: Leaving directory `.'

+ rm -f po/Makevars.template

+ rm -f 'stamp-h*'

+ set +x

Successfully bootstrapped

3 配置环境:

work01@ubuntu:~/vlc_source_debug/vlc-master$ ./configure --prefix=/mnt/share/vlc报错1:

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.

解决:

sudo apt-get install lua5.1 liblua5.1-dev

报错2:

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.

报错3:

configure: error: No package 'libavcodec' found

No package 'libavutil' found. Pass --disable-avcodec to ignore this error.

解决上诉各种丢失开发包问题:

sudo apt-get build-dep vlc

最后如下:

libvlc configuration

--------------------

version : 3.0.0-git

system : linux

architecture : x86_64 mmx sse sse2

optimizations : yes

vlc aliases : cvlc rvlc qvlc svlc nvlc

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

4 编译:

./compile

编译结果如下:

bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias cvlc dummy

bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias rvlc rc

bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias qvlc qt4

bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias svlc skins2

bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias nvlc ncurses

目录在配置的时候已经设定好了:

'

ref:

http://blog.csdn.net/vblittleboy/article/details/12905251

vlc linux静态版本,vlc 在ubuntu 14下的linux版本编译相关推荐

  1. kodi linux版本,如何在 Ubuntu 14.04 和 Linux Mint 17 中安装 Kodi14(XBMC)

    Kodi,原名就是大名鼎鼎的XBMC,发布了开发代号为Helix的最新版本14.感谢官方XMBC提供的PPA,现在可以很简单地在Ubuntu 14.04中安装了. 有些人可能还不了解Kodi,它是一个 ...

  2. vlc 在ubuntu 14下的linux版本编译

    网上很多是vlc for android的编译步骤,这边是linux的编译步骤: 1 下载vlc for linux: https://github.com/videolan/vlc 这里用githu ...

  3. Linux系统编程及应用——ubuntu环境下

    Linux系统编程及应用--ubuntu环境下 程序由业务逻辑和系统访问两部分构成的.其中,业务逻辑是根据业务需求,按照设计好的逻辑规则,处理信息,与系统(平台)无关的:而系统访问则是利用操作系统所提 ...

  4. Ubuntu环境下基于Linux进行DOL配置

    Ubuntu环境下基于Linux进行DOL配置 Description The distributed operation layer (DOL) is a framework that enable ...

  5. linux桌面服务器系统下载,Ubuntu 14.10 中文桌面版/服务器正式版下载

    一说到 Linux,就不得不提目前最红火的 Ubuntu 发行版了!它拥有绚丽的界面,甚至跟以时尚为卖点的 Mac OSX 相比也有过之而无不及,相信当你试过这款操作系统之后,你会对 Linux 的印 ...

  6. ubuntu 改linux密码忘了怎么办,Ubuntu 14.04忘记root密码的解决方法

    电脑20多天没用,忘记Ubuntu 14.04 root密码了,下面是在网上找到的一个解决办法,其它的和这个也大概相同.因为其中有些缺漏,没能给我解决问题.通过分析最终问题还是解决了,现解决方案的关键 ...

  7. linux qt4 音乐播放器,Ubuntu 14.04下安装音乐播放器 Clementine 1.2.3

    Clementine 是一款非常不错的自由开源音乐播放器,支持很多国外的云空间,比如box.com.Clementine使用qt4编写,灵感来自Amarok 1.4.Clementine还是一款跨平台 ...

  8. 安装Ubuntu 14.04系统Linux微信开发工具的笔记

    安装Ubuntu 14.04系统&微信开发工具的笔记 Ubuntu 14.04系统所需硬件配置低,我所使用的1.9GRAM笔电上正是安装的此系统. 最近因为崩溃重装了一次,并接着安装了linu ...

  9. linux中文系统装offci,Ubuntu 14.04 LTS中安装fcitx中文输入法的教程

    Ubuntu 14.04 LTS中自带的iBus输入法有多么的难用,这个不用我来说,今后你会看到各种吐嘈会像滔滔江水连绵不绝的.这里我们不抱怨,我们自己来着手解决中国人自己的Linux中文输入法问题. ...

  10. linux命令行安装libxml,Ubuntu 14.04下libxml2的安装和使用

    Ubuntu 14.04下libxml2库的安装方法: sudo apt-get install libxml2 sudo apt-get install libxml2-dev 利用以上命令安装完软 ...

最新文章

  1. php团队规范,简单的PHP团队编程规范与习惯
  2. Python编程语言学习:for循环中常用方法经验技巧(利用enumerate函数对列表实现自带索引等)之详细攻略
  3. 微前端在网易七鱼的实践
  4. 数组任意取三个数中乘积最大值
  5. Helm 3 完整教程(二十一):Helm 创建和引用子模板
  6. cisco 模拟器安装及交换机的基本配置实验心得_看完这份1113页的TCP/IP协议+路由与交换机,成功上岸字节跳动...
  7. 测试linux内核工具,多种测试linux内核的方法
  8. 启动多个SlickEdit实例
  9. iOS 强制屏幕旋转
  10. 高精度地图Lanelet的基本结构
  11. 性能测试模型之曲线拐点模型——压力曲线分析图
  12. HyperLedger Fabric 查询机制
  13. 2000门课程名称翻译大全,写英文简历时用得着的
  14. 我的家用户外监控摄像头的选购和安装记录
  15. 第八章 高级搜索树 (b4)B-树: 插入
  16. Unexpected Exception caught setting '' on 'class com.: Error setting expression '' with value ['', ]
  17. 算力网络发展中的若干关键技术问题分析
  18. 李子柒:不希望年轻人当网红...
  19. RxJava过滤操作符
  20. STC89C52的四个 外部中断 基本使用方法

热门文章

  1. 《XHTML》pdf
  2. 怎么快速了解自己的MySQL服务器
  3. freemarker 标签循环list 以及获取下标值
  4. 动态规划时间复杂度_算法分析与设计之动态规划
  5. 【数据分享】学生受欢迎程度评价数据集
  6. 拓端tecdat|基于keras平台CNN神经网络模型的服装识别分析
  7. python np数组中括号里面‘:n‘与‘n:‘什么意思
  8. Android入门笔记06
  9. 基于移动最小二乘的图像变形
  10. Caffe中deploy.prototxt 和 train_val.prototxt 区别