LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1686|回复: 5

amd64位debian下用直接下载的firefox在线听音乐安装mplayerplug-in的问题

[复制链接]
发表于 2008-11-16 23:36:51 | 显示全部楼层 |阅读模式
我在红联看到这样的安装过程:
  linux下为firefox安装多媒体(音乐)插件
作者: Spetrain  发布日期: 2008-10-13    查看数:    出自: http://www.linuxdiyf.com
出自:那个下午有风在轻轻流淌

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插件的同志们共勉。


发现需要下载的软件包约有140M,就没有敢下载,觉得还不如装一个firefox的扩展:mediaplayerconnectivity,直接调用系统已安装的mplayer播放。看来amd64位的操作系统还是不占主流呀!
发表于 2009-3-6 23:00:50 | 显示全部楼层
不错,收藏
还要6个字呀
回复 支持 反对

使用道具 举报

发表于 2010-3-5 22:37:48 | 显示全部楼层
上网去下载 mozilla-mplayer_1%3a3.55-0.0_i386.deb 就行了,那用楼主那么麻烦,在百度MP3里播放界面是显示出来了,可播放按钮是灰色的,播放不了音乐,挺操蛋的,而我在“谷歌音乐“里却能正常播放,楼主能否讲得清楚点,看得挺晕的,还是播放不了
回复 支持 反对

使用道具 举报

发表于 2010-3-5 23:05:26 | 显示全部楼层
??现在百度音乐和google音乐都是flash插件,早就用不上楼主说的东西了
回复 支持 反对

使用道具 举报

发表于 2010-3-5 23:14:13 | 显示全部楼层
Post by 老谢N;2073402
上网去下载 mozilla-mplayer_1%3a3.55-0.0_i386.deb 就行了,那用楼主那么麻烦,在百度MP3里播放界面是显示出来了,可播放按钮是灰色的,播放不了音乐,挺操蛋的,而我在“谷歌音乐“里却能正常播放,楼主能否讲得清楚点,看得挺晕的,还是播放不了

不是不能播,是你网速太慢,歌还没缓冲完
回复 支持 反对

使用道具 举报

发表于 2010-3-6 08:16:23 | 显示全部楼层
我的方法是使用gecko-mplayer,不过源里的gecko-mplayer依赖iceweasel
所以只安装gnome-mplayer,然后去下载最新的gecko-mplayer,gecko-mplayer会自动调用gnome-mplayer
http://code.google.com/p/gecko-mediaplayer/downloads/list
解压
./configure
make
既然要绕开包管理器,那么干脆不安装,直接cp src/*.so /home/stesen/.mozilla/plugins/即可
过上一年半载,也许这个版本的gecko-mplayer太老了,就再编译新版本就行了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表