gr1ml0ck said:I believe that you require linux compat8 or higher for this to work. I'm using linux compat f10 and it worked fine first time.
If you need to update your linux compat then just google or search the forums.
As a rule of thumb for me when doing a fresh install... I always immediately add the following lines to /etc/make.conf before adding ANY ports:
Code:OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10
From then on, when I build any linux ports they will depend automatically on the fedora 10 core.
And that all I'm going to cover on linux compatibility other than MAKE SURE ITS RUNNING!!! add 'linux_enable="YES"' to your /etc.rc.conf file.
1: check the above.
2: add this line to your /etc/fstab
Code:linproc /usr/compat/linux/proc linprocfs rw 0 0
3: mount your linprocfs by typing the following at the terminal as root:
Code:mount /usr/compat/linux/proc
NOTE: If /usr/compat/linux/proc does not exist you made need to create it using the '-p' option!
4: start some additional linux services (this can also be set in rc.conf) by typing the following at the terminal as root.
Code:/etc/rc.d/abi start /etc/rc.d/sysctl start
5: if you havnt already.. (tsk tsk!) update your ports and install the following ports:
Code:cd /usr/ports/www/linux-f10-flashplugin10 && make install clean cd /usr/ports/www/nspluginwrapper && make install clean
NOTE: As I am using the fedora 10 core emulation layer.. i am therefore using the f10 linux plugin. f8 users will want to use the f8-flashplugin10 port....obvioulsy.
6: close down firefox3 and find the file "libflashplayer.so" by typing the following at the terminal.
Code:# find / -name libflashplayer.so /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
Here is mine above in the npapi directory.
7: IMPORTANT.. at least I thought i was..... exit from super user mode and type the following command at the terminal:
Code:nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
8: Open up firefox3 and type "aboutlugins" into the address bar and hit enter. voila! your plugins should appear as Shockwave Flash.
9: Go back to Youtube!!!
# nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Install plugin /usr/local/lib/browser_plugins/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
DutchDaemon said:The # sign appears to say you're running this command as root. You'll have to use it as the user who's actually using X/Firefox.
gr1ml0ck said:Sremick... Yup.. for each user that uses FF on your system you must add the relevant plugin manualy AS THAT USER! Maybe I should clarify that on my previous posts.
$ nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Install plugin /usr/local/lib/browser_plugins/libflashplayer.so
... already installed system-wide, skipping
Auto-install plugins from /home/scott/.mozilla/plugins
Looking for plugins in /home/scott/.mozilla/plugins
$
cd ~/.mozilla/plugins
ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
nspluginwrapper -a -v -i
DutchDaemon said:This sometimes seems to help:
Code:cd ~/.mozilla/plugins ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so nspluginwrapper -a -v -i
#nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
$ nspluginwrapper -v -a -i
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Auto-install plugins from /usr/local/lib/linux-mozilla/plugins
Looking for plugins in /usr/local/lib/linux-mozilla/plugins
Auto-install plugins from /home/fawz/.mozilla/plugins
Looking for plugins in /home/fawz/.mozilla/plugins
fawz said:error while loading shared libraries: libwhatever-x.x
gr1ml0ck said:Jatawski.. you may of course share this information with as many people as you possibly can and get them onto what is possibly the best OS this side of mars lol.
Sremick... Yup.. for each user that uses FF on your system you must add the relevant plugin manualy AS THAT USER! Maybe I should clarify that on my previous posts.
achix said:Hi, i wanted to ask, in my FreeBSD 8.0 System @work with flash10, i can no longer see the time (seconds) of the video as it is played.
In my flash9 installation @home it shows this ok.
Any hints?
# cd /usr/ports/www/linux-f10-flashplugin10 && make install clean
=> Attempting to fetch from [url]http://fpdownload.macromedia.com/get/flashplayer/current/[/url].
fetch: [url]http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz:[/url] size mismatch: expected
4044751, actual 4050435
=> Attempting to fetch from [url]ftp://ftp.se.freebsd.org/pub/FreeBSD/ports/distfiles/flashplugin/10.0r32/[/url].
fetch: [url]ftp://ftp.se.freebsd.org/pub/FreeBSD/ports/distfiles/flashplugin/10.0r32/install_flash_player_10_linux.tar.gz:[/url] File
unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/flashplugin/10.0r32 and try again.
cd /usr/ports/www/linux-f10-flashplugin10 && make install clean
===> Extracting for linux-f10-flashplugin-10.0r32
=> MD5 Checksum mismatch for flashplugin/10.0r32/install_flash_player_10_linux.tar.gz.
=> SHA256 Checksum mismatch for flashplugin/10.0r32/install_flash_player_10_linux.tar.gz.
=> MD5 Checksum OK for flashplugin/10.0r32/linux-f10-flashsupport-9.0.1.i386.tar.gz.
=> SHA256 Checksum OK for flashplugin/10.0r32/linux-f10-flashsupport-9.0.1.i386.tar.gz.
===> Refetch for 1 more times files: flashplugin/10.0r32/install_flash_player_10_linux.tar.gz flashplugin/10.0r32/install_flash_player_10_linux.tar.gz
... and those errors that I got before, about file not found eg.
Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. Get the latest Flash player.
/etc/rc.d/abi start
/etc/rc.d/sysctl start
File: libswfdecmozilla.so
Version:
Shockwave Flash 9.0 r999
File: npwrapper.libflashplayer.so
Version:
Shockwave Flash 10.0 r45
# killall npviewer.bin
. If I go to, say, youtube, I'll get sound but no video. This happened around the same time I updated all my ports for the jpeg revision bump, which included nspluginwrapper. I don't know if it's the flash plugin itself or the wrapper, but it was working fine before that.