热门标签 | HotTags
当前位置:  开发笔记 > 前端 > 正文

linux下为firefox安装多媒体(音乐)插件

linux下为firefox安装多媒体(音乐)插件--Linux通用技术-Linux技术与应用信息,下面是详情阅读。
出自:那个下午有风在轻轻流淌

Debian下没有firefox,只有Iceweasel,但是这个东西我第一看过去便非常不喜欢它,我把它删了,自己下载了一个官方的mozilla firefox,可没有想到的是,我在用这个firefox的时候遇到了一个比较麻烦的问题。我在baidu mp3里想听一听刘若英的<当爱在靠近>,可不想firefox怎么也找不到插件,服了。选择手动查找,它把我带到一个极其愚蠢的地方,没办法了,只好按以前的经验装mplayer吧。

mplayer是linux下一个强大的firefox多媒体插件,我到官网下了它的源码,准备装上去,没有想到上来就给我一个下马威。./configure报错了。

error: Unable to find mozilla or firefox development files

原来是要装firefox的开发包才能config成功,于是乎。。。

apt-get install firefox-dev 失败
apt-get install iceweasel-dev 失败
apt-get install firefox-devel 失败
apt-get install iceweasel-devel 失败
apt-get install mozilla-dev 失败

没办法了,就去新立得找吧,上新立得用放大镜看,iceweasel上下都没有带dev的东西,心里真是凉了半截。再搜mozilla,这一回终于找到了mozilla-mplayer。功夫不负有心人啊。

apt-get build-dep mozilla-mplayer

把依赖包装好以后,再执行./configure这一回顺利通过了。然后make,成功。再按照INSTALLj里所讲的:

If you use mozilla:
cp mplayerplug-in*.so /usr/lib/mozilla/plugins
cp mplayerplug-in*.xpt /usr/lib/mozilla/components

If you use firebird:
cp mplayerplug-in*.so /usr/lib/mozilla-firebird/plugins
cp mplayerplug-in*.xpt /usr/lib/mozilla-firebird/components

If you use firefox:
cp mplayerplug-in*.so /usr/lib/firefox/plugins
cp mplayerplug-in*.xpt /usr/lib/firefox/components

or run 'make install' as root

执行命令:

ls *.so

出来一堆东西
mplayerplug-in-dvx.so mplayerplug-in-rm.so mplayerplug-in-wmp.so
mplayerplug-in-qt.so mplayerplug-in.so

再做INSTALL所讲的步骤

cp mplayerplug-in*.so /home/smith/firefox/plugins/

cp mplayerplug-in*.xpt /home/smith/firefox/components/

关掉firefox,再重新找开刚才的页面,这一回可以听歌了。笔录这个过程,以供与我一样用Debian却装不上firefox插件的同志们共勉。
推荐阅读
author-avatar
清露1122_664
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有