FreeBSD 7.1 Flash Player

February 24, 2010

Scripts

Enable Linux compatibility and linprocfs

Add linux_enable=”YES” to /etc/rc.conf. Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf. Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf. Add this line to /etc/fstab:

linproc /usr/compat/linux/proc linprocfs rw 0 0

After run these commands:

mkdir -p /usr/compat/linux/proc
mount /usr/compat/linux/proc
/etc/rc.d/abi start
/etc/rc.d/sysctl start

Update ports and install all the needed software

Now you need to install the following ports and their dependencies:

cd /usr/ports/emulators/linux_base-f8 && make install clean
cd /usr/ports/www/linux-flashplugin9 && make install clean
cd /usr/ports/www/nspluginwrapper && make install clean

Follow the nspluginwrapper instructions to enable all available plugins:

# nspluginwrapper -v -a -i
Auto-install plugins from /usr/X11R6/lib/browser_plugins
Looking for plugins in /usr/X11R6/lib/browser_plugins
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins

Now you can Open Firefox 3 and enter about:plugins into your address bar. You can see the output here

If your browser doesnt register the Shockwave Flash Plugin as pictured above, you need to do this:

cd /usr/local/lib/firefox3/plugins && ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so npwrapper.libflashplayer.so

, , , , ,

Subscribe

Subscribe to our e-mail newsletter to receive updates.

Trackbacks/Pingbacks

  1. FreeBSD 7.1 Flash Player | Flash tutorials | Flash video | Flash … | Just linux! - February 24, 2010

    [...] View post:  FreeBSD 7.1 Flash Player | Flash tutorials | Flash video | Flash … [...]

  2. FreeBSD 7.1 Flash Player | Flash tutorials | Flash video | Flash … at Flash Designers - February 25, 2010

    [...] post:  FreeBSD 7.1 Flash Player | Flash tutorials | Flash video | Flash … [...]

Leave a Reply