flash plugin 安裝記錄 - BBS

By Quintina
at 2008-04-12T13:34
at 2008-04-12T13:34
Table of Contents
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
連線到 http://www.youtube.com 播放看看是否成功
第五個步驟如果沒有加的話,在這些軟體版號下 flash 會出不來,
只秀出一塊灰色的區塊,試過裝 flash9,不用額外加第五步驟,
但結果是會跑出好幾支 npviewer.bin 吃光 CPU 資源,於是馬上就移除掉換 flash7
以上 linux_base-fc6 換裝 linux_base-f8 目前看起來也正常運作,
本篇非教學只是記錄,有錯請指正,謝謝...
--
(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
連線到 http://www.youtube.com 播放看看是否成功
第五個步驟如果沒有加的話,在這些軟體版號下 flash 會出不來,
只秀出一塊灰色的區塊,試過裝 flash9,不用額外加第五步驟,
但結果是會跑出好幾支 npviewer.bin 吃光 CPU 資源,於是馬上就移除掉換 flash7
以上 linux_base-fc6 換裝 linux_base-f8 目前看起來也正常運作,
本篇非教學只是記錄,有錯請指正,謝謝...
--
Tags:
BBS
All Comments
Related Posts
qouta

By Hedda
at 2008-04-10T23:59
at 2008-04-10T23:59
qouta

By Mary
at 2008-04-10T18:39
at 2008-04-10T18:39
Shell Script 撰寫上的問題 (和 mail ꘠…

By Belly
at 2008-04-10T15:38
at 2008-04-10T15:38
qouta

By Kristin
at 2008-04-10T03:30
at 2008-04-10T03:30
Shell Script 撰寫上的問題 (和 mail 有關)

By Hardy
at 2008-04-10T00:50
at 2008-04-10T00:50