LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: crazysm

FreeBSD 5.1 falsh plugins的问题

[复制链接]
发表于 2003-12-24 15:19:20 | 显示全部楼层

搞定

15.2.2 Mozilla, Java™, and Macromedia® Flash™
Contributed by Tom Rhodes.
Installing Mozilla is simple, but unfortunately installing Mozilla with support for add-ons like Java™ and Macromedia® Flash™ consumes both time and disk space.

The first thing is to download the files which will be used with Mozilla. Take your current web browser up to http://www.sun.com/software/java2/download.html and create an account on their website. Remember to save the username and password from here as it may be needed in the future. Download a copy of the file j2sdk-1_3_1-src.tar.gz and place this in /usr/ports/distfiles/ as the port will not fetch it automatically. This is due to license restrictions. While we are here, download the ``java environment'' from http://java.sun.com/webapps/download/Display?BundleId=7905. The filename is j2sdk-1_3_1_08-linux-i586.bin and is large (about 25 megabytes!). Like before, this file must be placed into /usr/ports/distfiles/. Finally download a copy of the ``java patchkit'' from http://www.eyesbeyond.com/freebsddom/java/ and place it into /usr/ports/distfiles/.

Install the java/jdk13 port with the standard make install clean and then install the www/flashpluginwrapper port. This port requires emulators/linux_base which is a large port. True that other Flash plugins exist, however they have not worked for me.

Install the www/mozilla port, if Mozilla is not already installed.

Now copy the Flash plug-in files with:

# cp /usr/local/lib/flash/libflashplayer.so \
    /usr/X11R6/lib/browser_plugins/libflashplayer_linux.so
# cp /usr/local/lib/flash/ShockwaveFlash.class \
    /usr/X11R6/lib/browser_plugins/
Note: If you are using www/mozilla-devel, the destination directories will be different.

Now add the following lines to the top of (but right under #!/bin/sh) Mozilla startup script: /usr/X11R6/bin/mozilla.

LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
This will enable the Flash plug-in.

Now just start Mozilla with:

% mozilla &
And access the About Plug-ins option from the Help menu. A list should appear with all the currently available plugins. Java and Shockwave® Flash should both be listed.
发表于 2004-1-14 08:35:55 | 显示全部楼层
怎么在5.2下又不能用了,
===>  flashpluginwrapper-0.20021113 Please use www/linuxpluginwrapper. This port should be obsolated. But, if you cannot use it by any reason, please set NO_IGNORE and you can use this..
找不见要拷贝的文件
发表于 2004-1-14 18:07:25 | 显示全部楼层
切/....
我在XFCE4中PORTS安装MOZILLA安装好后...就有了...
4.9BSD
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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