Page 3 of 11

Posted: Mon 28 Nov 2011, 10:42
by parishilton
Geoffrey, I had the same problem after my browser updated from 7.0.1 to 8.0.1. I disabled the shockwave flash plugin and the stalling before eventually loading certain pages stopped. Worked fine for me with flash disabled... until I needed flash :roll: Found the solution here, so thank you everyone!

Posted: Wed 30 Nov 2011, 14:23
by swiatmar
If your Firefox does not show flash after update to the version 8.01, please follow this :
Okey this seems to be very important to symlinking the files from the firefox folder with the files in /usr/lib/
simple copy the files listed on dependentlibs.list from firefox folder to /usr/lib/ and it works
http://murga-linux.com/puppy/viewtopic.php?t=73742

Posted: Sat 03 Dec 2011, 00:51
by playdayz
It is hard to imagine why Firefox does not use its own libnss by preference. This pet has the fix built-in. BTW, i just noted there is an 8.0.1 that will download.

Firefox 8.0 -> ftp://distro.ibiblio.org/puppylinux/pet ... -Lucid.pet

Concerning Flashplayer, This version seems to play video on youtube fine with the current flashplayer. The old programs do not download flashplayer correctly. I recommend this one -> ftp://distro.ibiblio.org/puppylinux/pet ... ll-0.1.pet In the menu as Internet -> Install Flashplayer.

Posted: Sat 03 Dec 2011, 05:48
by Tman
I never really mentioned it in this forum, but my Firefox pets have had the symlinks to libnss all along, It seems that forum members are getting Firefox elsewhere and posting the problems here... not that I really mind.

EDIT:The info above is now obsolete. Thanks to some enlightening info from 01micko, I've modified my Firefox pets. Symlinking libs from /usr/lib/firefox to /usr/lib is no longer needed.

Posted: Mon 05 Dec 2011, 05:58
by Geoffrey
Tman wrote:I never really mentioned it in this forum, but my Firefox pets have had the symlinks to libnss all along, It seems that forum members are getting Firefox elsewhere and posting the problems here... not that I really mind.
I think most were like me, let a previous version of firefox that worked ok update, thats where all the problems started, at lest we know what the problem is now.

I generally just download the firefox.tar.bz2 and replace firefox in /usr/lib and it works, but not this time :wink:

Posted: Thu 08 Dec 2011, 20:24
by hanzf
I recently upgraded to FF 8.0.1 using the method described above, and now I found that the CUPS printing manager doesn't start anymore. typing "cups_shell" in a command line, I get these error messages:

Code: Select all

# cups_shell
find: `/root/.mozilla/default/*.slt': No such file or directory
helpviewer
./PuppyBrowser: symbol lookup error: /usr/lib/seamonkey/libgtkembedmoz.so: undefined symbol: NS_InitXPCOM3
What's wrong here?

Posted: Fri 09 Dec 2011, 20:11
by Tman
hanzf,

Cups_shell works fine for me. I don't know why it is searching for Seamonkey files. Did you have Seamonkey on it before and uninstalled it? Please check your /usr/local/bin/defaultbrowser file. Open it up with a texteditor to see what it says. Or just type in the terminal: cat /usr/local/bin/defaultbrowser
This is what it is supposed to be:

Code: Select all

#!/bin/sh
exec firefox "$@"
Also, it would be good to know what version of Puppy you are running it in.

Posted: Sat 10 Dec 2011, 18:17
by hanzf
thank you Tman, usr/local/bin/defaultbrowser looks exactly like your description:

Code: Select all

#!/bin/sh
exec firefox "$@"
I have LuPu 5.0.0 on my computer.

Posted: Sat 10 Dec 2011, 20:56
by Tman
hanzf,

Strange, all I can suggest for you is to try this updated cups_shell. If that doesn't work, then I cannot help you in this matter.

Posted: Mon 26 Dec 2011, 17:39
by RetroTechGuy
Geoffrey wrote:
RetroTechGuy wrote:
Geoffrey wrote:I'm having a problem with FF8, hangs for ages , it was 7.01 that upgraded itself, put on another copy of 7.01 and it runs fine, I'm running lucid 5.2.8.

anyone else having this happen, is there a solution?
Yes, I had the same problem ("upgrade"). You found the solution... ;-)
I found how to fix it, replace libnss3.so that's in /usr/lib with the one that comes with FF8 in /usr/lib/firefox

then no errors, it was doing this this in the terminal

Code: Select all

(firefox:22314): Pango-WARNING **: libthai.so.0: cannot open shared object file: No such file or directory

/usr/lib/firefox/plugin-container: /usr/lib/libnss3.so: version `NSS_3.12.10' not found (required by /usr/lib/firefox/libxul.so)
/usr/lib/firefox/plugin-container: /usr/lib/libnss3.so: version `NSS_3.12.9' not found (required by /usr/lib/firefox/libxul.so)

now it's all good 8)
So this time, Firefox 8 upgraded to Firefox 9...and once again broke the libs.

I'm running lupu 5.28, had installed Playdayz FF8 pet:

http://www.murga-linux.com/puppy/viewto ... 657#586657

This time the "fix" seems to be to rename /usr/lib/libnssutil3.so to "libnssutil3.so.old", and symbolically link the file from /usr/lib/firefox//libnssutil3.so back to that /usr/lib/...

Posted: Mon 26 Dec 2011, 18:02
by pemasu
I have symlinked all the /usr/lib/firefox folder libs to the /usr/lib and removed all previous versions. Seems to work. And it is also more foolproof for next lib dependency.

Posted: Mon 26 Dec 2011, 18:04
by RetroTechGuy
pemasu wrote:I have symlinked all the /usr/lib/firefox folder libs to the /usr/lib and removed all previous versions. Seems to work. And it is also more foolproof for next lib dependency.
Probably a good idea. It took me several tries before Firefox reported the missing/outdated lib (until then, I couldn't determine if that was the problem, or if it was something else).

Posted: Tue 27 Dec 2011, 03:21
by RetroTechGuy
RetroTechGuy wrote: So this time, Firefox 8 upgraded to Firefox 9...and once again broke the libs.

I'm running lupu 5.28, had installed Playdayz FF8 pet:

http://www.murga-linux.com/puppy/viewto ... 657#586657

This time the "fix" seems to be to rename /usr/lib/libnssutil3.so to "libnssutil3.so.old", and symbolically link the file from /usr/lib/firefox//libnssutil3.so back to that /usr/lib/...
OK, it looks like 01micko's solution here works better:

http://www.murga-linux.com/puppy/viewto ... 861#591861

Just patching the single lib resulted in Youtube not working... (functionality was restored using this patch).

Posted: Tue 27 Dec 2011, 16:49
by seaside
Here's another approach that might be useful.

http://murga-linux.com/puppy/viewtopic. ... 001#592001

Cheers,
s

Posted: Mon 02 Jan 2012, 03:11
by Tman
Edit: Removed info that is no longer relevant becuase the way I have packaged Firefox has changed.

If using the Firefox.sfs, it is recommended that you change /usr/local/bin/defaultbrowser to the following:

Code: Select all

#!/bin/sh
killall firefox
exec firefox "$@"
This will allow only one instance of Firefox to run at a time and you will no longer need to type killall firefox if it crashes.

Edit: The updated Firefox.sfs will change the defaultbrowser settings automatically after it is run once.

Posted: Mon 02 Jan 2012, 18:54
by RetroTechGuy
Tman wrote: If using the Firefox.sfs, it is recommended that you change /usr/local/bin/defaultbrowser to the following:

Code: Select all

#!/bin/sh
killall firefox
exec firefox "$@"
This will allow only one instance of Firefox to run at a time and you will no longer need to type killall firefox if it crashes.
Thanks Tman... I think that I'm going to try the .sfs (I'm assuming that will probably make it difficult for Firefox to update itself... :wink: )

Posted: Fri 06 Jan 2012, 17:37
by Tman
No problem Retrotech,

Actually, you can still update Firefox with the sfs but, I have turned automatic updating off. Same goes with the pets. You can update by going to the 'Help' tab and click on About Firefox -> Check for Updates

Posted: Fri 06 Jan 2012, 17:52
by RetroTechGuy
Tman wrote:No problem Retrotech,

Actually, you can still update Firefox with the sfs but, I have turned automatic updating off. Same goes with the pets. You can update by going to the 'Help' tab and click on About Firefox -> Check for Updates
I've found that on some versions that didn't help (I use the default of "ask"). In at least one case, despite the "ask" option, when I checked the version number, it started downloading the newest Firefox (without asking)... Grrrrrr....

Do you know if your .sfs is compatible with 5.25?

My main 5.28 save file just took a dump, and I'm not convinced that the version is completely stable (I'm also not convinced that some of the Firefox problems aren't somehow involved).

I'm thinking about 5.25, which seems far less hardware intensive (even though this tower has a 2200 Athlon with 1GB RAM, it sometimes seems sluggish under 5.28 -- I had been running 5.20 prior to this, and it was very good...until a clean-up operation went rogue and wiped my icons out.. :lol: )

Posted: Sun 08 Jan 2012, 02:37
by Tman
RetroTechGuy wrote:...
Do you know if your .sfs is compatible with 5.25?

My main 5.28 save file just took a dump, and I'm not convinced that the version is completely stable (I'm also not convinced that some of the Firefox problems aren't somehow involved).

I'm thinking about 5.25, which seems far less hardware intensive (even though this tower has a 2200 Athlon with 1GB RAM, it sometimes seems sluggish under 5.28 -- I had been running 5.20 prior to this, and it was very good...until a clean-up operation went rogue and wiped my icons out.. :lol: )
The sfs works fine for me in Slickpup 5.2.5, which I still use occasionally for testing.
Before switching to Lucid 5.2.5, perhaps you might want to see if my Firefox.sfs works with a fresh Lucid 5.2.8 save file.

Edit: I removed some outdated info. libdbus and libdbus-glib files are fine the way I have set them up now. If they are found to be already present in the usr/lib folder, then the original libdbus files will be used. If they are found not to be present, then the ones I have included will be used. This should make Firefox compatible with all major versions of Puppy, so long as they are not other missing dependencies.

Posted: Sun 22 Jan 2012, 04:39
by Tman
I have modified the Firefox packages. Changes are as follows:

- prepare-firefox.pet functions have been integrated
- firefox becomes the defaultbrowser upon the first run of the sfs
- if old saved settings are found on first run, you will have the option to remove them
- firefox-8 and firefox-9 packages have a few addons (extensions), while firefox-7 doesn't
- if libdbus-glib files are not found in /usr/lib folder, they will be put there
-- if they are already there, then the original files will not be overwritten