安装MPlayer时configure 和 make 遇到的问题
时间:2009-03-04
来源:互联网
从网上找到的方法,(http://www.svn8.com/linux/20080425/567.html)把all-*** 和 essential- ** 和主程序什么的一堆都按照他说的放在指定目录下后,输入:
./configure --enable-gui --enable-largefiles --enable-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc32
提示说gcc32找不到,用gcc4.3编译的,然后再make就不成了,出错如下:
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/nifei/Desktop/Mplyer Setup/3.2 download/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] Error 2
那个帖子讲的是FC4下安装mplayer的方法,说gcc32一定要指定的,也见过有说在OpenSuse下不用指定gcc版本。嗯,还说要先确定几个rpm包是否安装了,在OpenSuse下也要这样么?
PS: 论坛搜索为虾米有时候可以跳转,有时候就在搜索设置页面不动呢/?
作者: nifeinifei 发布时间: 2009-03-04
pre_install:
- You need a working development environment that can compile programs.
On popular Linux distributions, this means having the glibc development
package(s) installed.(你的以上原因是否是glibc-dev这个包没有安装)
- To compile MPlayer with X11 support, you need to have the X Window System
development packages (like for XFree86 or X.Org) installed.
- For the GUI you need the GTK development packages.(means GTK-dev)
-get the source code:
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
(个人以为这一步是必要的,因为我试过从别的地方的code,都不好用,于是下载最新的果然好用)
1.install the binaray codes
untar or (unzip) the codes files into one file which should be used in step 2.
- make sure they have the right user and group ID.
- chmod +x codes
2. ./configure --prefix=/opt/mplayer \ #for examples
--codecsdir=/opt/mplayer/codes \ #the binary codoes you installed in step 1
--enable-gui --enable-menu #maybe useless
3.make ,
4.make install.
作者: zpcat 发布时间: 2009-03-05
http://www.linuxsir.org/bbs/archive/...hp/t-3471.html
可是所有http://www2.mplayerhq.hu/MPlayer/cvs...urrent.tar.bz2
的链接都无效,mplayer下没有cvs这一级,这是怎么回事呢?
作者: nifeinifei 发布时间: 2009-03-05
作者: zpcat 发布时间: 2009-03-05
作者: chanshun8 发布时间: 2009-03-05
作者: Thruth 发布时间: 2009-03-05
作者: Thruth
用不用我给你发一个 src.rpm 你直接 rpmbuild 就行了。
|
家里没有网络,每天下一点东西回去做试验,就是make不过。。。
作者: nifeinifei 发布时间: 2009-03-05
作者: zpcat
不如我的方法简单,其实那个gui我也安装了但是没有什么用处!还是返朴归真的好用。对了没有府上那个解码的codes的下载,自己搜搜把,在mplayer的官方网站,如果是amd64的用户,也要下载amd_essential,一般all-***,和windows-all-***就搞定所以格式的影音了。
|
作者: nifeinifei 发布时间: 2009-03-05
作者: chanshun8
用Opensuse就没有必要自己编译安装Mplayer加源安装就可以了。
|
作者: nifeinifei 发布时间: 2009-03-05
作者: Thruth 发布时间: 2009-03-05
作者: zpcat 发布时间: 2009-03-05
作者: zpcat
我按过源里的,还不如自己编译的好用呢?有一些毛病。
|
作者: nifeinifei 发布时间: 2009-03-05
网上有一键安装的 yum文件
还有什么包的源,到yast里面去添加
我是新手现在还没搞明白这些东西~~
作者: xjh312 发布时间: 2009-03-05
另外,suse有一件安装的方法安装软件http://software.opensuse.org/search
到此网页搜索mplayer,有一键安装的快捷方式完成以上的动作。
作者: zpcat 发布时间: 2009-03-05
作者: nifeinifei
不太清楚加源安装和编译安装的区别,刚google了一下,加源安装是不是有网络呢?
|
作者: chanshun8 发布时间: 2009-03-06
整个新版本的mplayer,建rpm或编译随人啦。编译时可以加中文语言参数
作者: fanb 发布时间: 2009-03-06
作者: nifeinifei
还不太看得懂呢。请大大们指教一下。
从网上找到的方法,(http://www.svn8.com/linux/20080425/567.html)把all-*** 和 essential- ** 和主程序什么的一堆都按照他说的放在指定目录下后,输入: ./configure --enable-gui --enable-largefiles --enable-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc32 提示说gcc32找不到,用gcc4.3编译的,然后再make就不成了,出错如下: vo_ivtv.c:79: error: storage size of 'sd' isn't known vo_ivtv.c:80: error: storage size of 'sd1' isn't known vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function) vo_ivtv.c:84: error: (Each undeclared identifier is reported only once vo_ivtv.c:84: error: for each function it appears in.) vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function) vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function) vo_ivtv.c:80: warning: unused variable 'sd1' vo_ivtv.c:79: warning: unused variable 'sd' make[1]: *** [vo_ivtv.o] Error 1 make[1]: Leaving directory `/home/nifei/Desktop/Mplyer Setup/3.2 download/MPlayer-1.0rc2/libvo' make: *** [libvo/libvo.a] Error 2 那个帖子讲的是FC4下安装mplayer的方法,说gcc32一定要指定的,也见过有说在OpenSuse下不用指定gcc版本。嗯,还说要先确定几个rpm包是否安装了,在OpenSuse下也要这样么? PS: 论坛搜索为虾米有时候可以跳转,有时候就在搜索设置页面不动呢/? |
./configure 加上参数: --disable-ivtv 在试试看。
作者: tideice 发布时间: 2009-03-06
作者: tideice
LZ后来的问题应该是ivtv的问题。
./configure 加上参数: --disable-ivtv 在试试看。 |
作者: nifeinifei 发布时间: 2009-03-06
作者: fanb
$ svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
整个新版本的mplayer,建rpm或编译随人啦。编译时可以加中文语言参数 |
作者: nifeinifei 发布时间: 2009-03-06
作者: nifeinifei
我想问用rpmbuild需不需要有网络,鄙视我吧。。。
|
作者: nifeinifei 发布时间: 2009-03-06
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28