作者higoodman (我是正好人)
看板FreeBSD
标题flash plugin 安装记录
时间Sat Apr 12 13:34:12 2008
FreeBSD 7.0R + Xorg 7.3 + FireFox 2.0.0.12 + flash7 plugin
(Xorg 和 FF 都是偷懒直接拿 package 装的)
ref:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
安装套件:
1) emulators/linux_base-fc6
2) www/nspluginwrapper
3) www/linux-flashplugin7
1) 安装前要先载入 linux.ko 并设定 compat.linux.osrelease 为 2.6.16
# kldload linux.ko
# echo 'linux_enable="YES"' >> /etc/rc.conf
# sysctl compat.linux.osrelease=2.6.16
# echo 'compat.linux.osrelease=2.6.16' >> /etc/sysctl.conf
# cd /usr/ports/emulators/linux_base-fc6
# make install clean
# echo "OVERRIDE_LINUX_BASE_PORT=fc6" >> /etc/make.conf
2) handbook 里说装 www/linuxpluginwrapper,但会吐 error 装不起来
doesn't support ELF symbol versioning, yet..於是改装 www/nspluginwrapper
# cd /usr/ports/www/nspluginwrapper
# make install clean
中间若有遇到 error 说 cannot find -lgio-2.0,去更新一下 devel/glib20
3) 这没特别要注意的,就是 make install
4) 执行 nspluginwrapper 做 auto install
# nspluginwrapper -a -v -i
# nspluginwrapper -l 可以看看装了哪些 plugin
5) 编辑 xorg.conf (通常在 /usr/local/etc/X11 或 /etc/X11),加入以下区段
Section "Extensions"
Option "Composite" "Disable"
EndSection
进 X window 後在 FF 网址列输入 about:plugins 应该会看到两个载入的 plugin
连线到
https://www.youtube.com 播放看看是否成功
第五个步骤如果没有加的话,在这些软体版号下 flash 会出不来,
只秀出一块灰色的区块,试过装 flash9,不用额外加第五步骤,
但结果是会跑出好几支 npviewer.bin 吃光 CPU 资源,於是马上就移除掉换 flash7
以上 linux_base-fc6 换装 linux_base-f8 目前看起来也正常运作,
本篇非教学只是记录,有错请指正,谢谢...
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.161.55.246
※ 编辑: higoodman 来自: 118.161.55.246 (04/12 13:35)