Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Da Rock
On Fri, 2009-02-06 at 05:43 +, dhaneshk k wrote:
 Hi  list, 
 
 
  I followed  http://freebsd.langhans.com.pl/af/index.html
 
 To enable  flash9   support for FreeBSD7.0
 
 
 
 
 I  installed FreeBSD7.0 with Linux compatibility
 
 so the first step (1.3 ) I skipped   
 
 
 
 second step I followed and installed  latestfirefox-devel
 
 
 then I installed nspluginwrapper
 
 
 
 next step I downloaded this  
 ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz
 
 from this link 
 http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html
   as adobe.com not allowing me to download it.
 
 
 then I untarred itand copied  libflashplayer.so  to   
 ~/.mozilla/plugins  ( I created plugins directory as there is no
 default plugins directory  in  ~/.mozilla/
   and I invoked the nspluginwrapper $ nspluginwrapper  -v -a -i   
   and  observed that it created nswrapper.libflashplayer.so   
 
 
 
 but   $  nspluginwrapper -l  given me  the   the message  segmentation 
 fault  core dumped   sig 11 
 
 what I made wrong ?
 
 
  I tried to restart  the firefox and   it restarted and showing message  you 
 updated to the latest fiefox version .
 
 
 but when I accessed the   http://www.adobe.com/shockwave/welcome/   URL I am 
 getting message in the   console as 
 
 
 LoadPlugin: failed to initialize shared library 
 /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object libdl.so.2 
 not found, required by libflashplayer.so]
 
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 LoadPlugin: failed to initialize shared library 
 /home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object libdl.so.2 
 not found, required by libflashplayer.so]
 
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 
 
 
 but find commad showing that   libdl.so.2 is ther in
 /usr/compat/linux/lib/libdl.so.2
 
 
 
 # find / -name libdl.so.2
 /usr/compat/linux/lib/libdl.so.2
 
 
 [dhanesh]$ sysctl compat.linux.osrelease
 compat.linux.osrelease: 2.4.2
 
 [dhanesh$ uname -a
 FreeBSD  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 
  any hints to  make it work most welcome..  please see this paste also  
 http://rafb.net/p/Yz7dBS79.html
 
 thanks in advance 

Been where you are, done all that.

First, deinstall from ports emulators/linux_base-fc4 and make install
linux_base-f8. Then make install from ports www/linux-firefox,
www/nspluginwrapper and www/linux-flashplugin9. kldload linux, and mount
-t linprocfs linproc /compat/linux/proc.

Run nspluginwrapper and then run linux-firefox. Tada! All should work
now, but it can be a little unstable.

HTH.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Jan Henrik Sylvester

dhaneshk k wrote:
 I followed  http://freebsd.langhans.com.pl/af/index.html

 To enable  flash9   support for FreeBSD7.0

In contrast to the other replies, I have flash9 running with 
linux_base-fc-4_14 using compat.linux.osrelease=2.4.2 in a native 
firefox3 (not the linux version).


It runs ok. Occasionally, the plugin crashes for a new page with flash, 
but it does not take firefox with it. Reloading the page usually fixes it.


The important difference to your setup is that I run FreeBSD 7.1.

Since the main bug rendering flash9 unstable was fixed in 7-STABLE 
between 7.1-RC1 and 7.1-RC2, I do not think anything will fix flash9 on 
FreeBSD 7.0.


Maybe you get better results with osrelease=2.6.16 _and_ a newer 
linux_base, but that is not necessary. Updating to 7.1 is.


noscript or at least flashblock is a must...

The procedure: Get firefox3, flash9, and nspluginwrapper up to date, 
remove everything with nspluginwrapper as root and as your user, auto 
install every plugin as root (-a -i -v), and put links in your 
~/.mozilla/plugins:


cd ~/.mozilla/plugins/
ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so

You need linprocfs mounted to /usr/compat/linux/proc -- see the manpage 
of linprocfs.


Cheers,
Jan Henrik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Warren Block

On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote:


The procedure: Get firefox3, flash9, and nspluginwrapper up to date,


Likewise.  That's FreeBSD 7.1 or later, native Firefox 3, 
linux_base-fc4, linux-flashplugin9, and nspluginwrapper.


remove everything with nspluginwrapper as root and as your user, auto 
install every plugin as root (-a -i -v), and put links in your 
~/.mozilla/plugins:


Or just run nspluginwrapper -a -i as your web browser user.  The only 
link I had to create by hand was for Java.


npviewer.bin leaves core dumps in my home directory way too often, and 
often makes the browser do nothing for seconds at a time.


gnash runs better but still doesn't quite do all the Flash stuff.  Maybe 
next release.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Flash9 and FreeBSD7.0 isssue

2009-02-06 Thread Jan Henrik Sylvester

Warren Block wrote:

On Fri, 6 Feb 2009, Jan Henrik Sylvester wrote:
remove everything with nspluginwrapper as root and as your user, auto 
install every plugin as root (-a -i -v), and put links in your 
~/.mozilla/plugins:


Or just run nspluginwrapper -a -i as your web browser user.  The only 
link I had to create by hand was for Java.


The reason I recommended removing everything as root is that there could 
be an old version left from an old version of flash. For example, if you 
have 9.0r151 and 9.0r152 both wrapped in different directories, both 
will be picked up, which confuses firefox -- and you probably still have 
the vulnerability that was fixed with the upgrade.


If there is just one wrapped version that all users link to 
symbolically, you just have to remember updating that after a 
portupgrade and everyone is up to date again.


Of course, if you are the only user of your computer, keeping the 
wrapped versions in your home directory makes sense, too -- just avoid 
doing both.


Cheers,
Jan Henrik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org