LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2009, 11:44 PM   #1
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
Thumbs up Firefox 3.5 Not Loading [SOLVED]


Hi All,

I am using -Current and i am using Firefox directly from Mozilla.org, not from -Current package. I upgraded my Firefox using the Automatic Updates and it worked, but when i restarted the browser, it won't load up.

It happened only on my laptop. I have successfully upgraded to Firefox 3.5 on my desktop at home and my workstation at office with the same way.

Any clues on this?

PS: The process is active and it has been granted an PID, but now window showed up.

Thanks

Last edited by willysr; 07-08-2009 at 06:06 AM.
 
Old 07-01-2009, 12:48 AM   #2
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Do you get any messages when running from a terminal?
 
Old 07-01-2009, 01:48 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
no, that is what confused me
as i said, the PID is there and running, but no output
 
Old 07-01-2009, 03:00 AM   #4
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 915
Blog Entries: 5

Rep: Reputation: 145Reputation: 145
Hello,

Did you try to kill the active process and start Firefox again?

It could be that the "restart Firefox" option just after the upgrade didn't work well.
 
Old 07-01-2009, 03:12 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Try creating a new profile for FF, just to rule out a corrupted profile as the source of the problem.
Also, perhaps some of your addons / extensions are problematic in FF 3.5. Creating a new profile would rule that out as well.

Last edited by tommcd; 07-01-2009 at 03:13 AM.
 
Old 07-01-2009, 08:53 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
i have tried to run FF on safe mode and rename .mozilla into other name, but still it won't work either.

Creating a new profile requires to start the Firefox, but no window showed up when i ran the firefox application.
 
Old 07-01-2009, 09:04 AM   #7
slaxative
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Check from terminal ....

Have you tried just launching firefox from a terminal to see if any errors are coming up as it attempts to launch?
 
Old 07-02-2009, 12:23 AM   #8
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
Quote:
Originally Posted by willysr View Post
Hi All,

I am using -Current and i am using Firefox directly from Mozilla.org, not from -Current package. I upgraded my Firefox using the Automatic Updates and it worked, but when i restarted the browser, it won't load up.
You run firefox as root to do this? Or do you have it installed under your users profile? You should not be able to use the auto update unless your user have correct write perms to the installation folder. If you autoupdated a packaged firefox you just made yourself a tiny mess (easily cleaned up).

For a quick test try untarring the mozilla binary source into your home directory and run firefox from there with a fresh profile. If that works then try the old profile. Assuming that works a global install should work as well. For that remove the old installation, including the misc unpackaged files that may be in there. Then modify the firefox slackBuild to create yourself a package, or just make the package manually.

My firefox slackBuild is a slightly modified version of the official. It works across different Slackware versions.
 
Old 07-02-2009, 06:22 AM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
I used to use binary package from Mozilla and use Automatic Updates after changing the ownership to my own user and group over /opt/firefox directory. This works up to 3.0.11.


i have tried to unpack the binary from mozilla into my own home dir and run it and i got exactly the same results, no output, but a new Firefox process is created.

I will probably wait until Pat releases 3.5 on -Current
 
Old 07-02-2009, 06:23 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
Quote:
Originally Posted by slaxative View Post
Have you tried just launching firefox from a terminal to see if any errors are coming up as it attempts to launch?
Yes, i did that and still, no output from the console at all
 
Old 07-02-2009, 06:25 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
It seems that i'm not the only one who had this problem on a laptop. Someone posted the same problem on his laptop, but i don't know if he's using Linux or most specifically, Slackware.

It does work on my two desktops
 
Old 07-02-2009, 08:35 AM   #12
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
I finally find out the reason --- the tarball downloaded from www.mozilla.com is for i686, not x86_64! So it won't lunch on 64current! We have to compile it from source(it may become a nightmare according to my previous experience) or wait for Pat to have a package for it. Wish it won't be long...
 
Old 07-02-2009, 12:50 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,982

Original Poster
Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
I'm using x86, not x86_64
 
Old 07-02-2009, 05:31 PM   #14
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 542

Rep: Reputation: 120Reputation: 120
Download 3.0.11 slackbuild files and firefox-3.5.tar.bz2:

Edit -> mozilla-firefox-simple.diff.gz (replace 3.0.11 for 3.5)*

Keep only:

firefox-3.5.tar.bz2
firefox.moz_plugin_path.diff.gz
firefox.png
mozilla-firefox-simple.diff.gz
mozilla-firefox.SlackBuild
mozilla-firefox.desktop
slack-desc

Just for precaution, replace the variable for fixed 3.5 version and look your lib path -> mozilla-firefox.SlackBuild

example:

Quote:
#!/bin/sh
CWD=`pwd`
TMP=${TMP:-/tmp}
PKG=$TMP/package-mozilla-firefox

# This is not a source build script. Rather, it builds a Slackware
# package from the official binary tarball available from mozilla.org.
# Using the official binaries seems like the most direct way to satify
# the Mozilla project's concerns about quality control (and thus to
# provide the most quality-certified package possible), and therefore
# be able to use the official trademarks and logos.
#
# Thanks to the folks at the Mozilla Foundation for permission to
# distribute this, and for all the great work! :-)

VERSION=3.5
ARCH=${ARCH:-i686}
BUILD=1

if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
rm -rf $PKG
mkdir -p $PKG/usr/lib
( cd $PKG/usr/lib
tar xf $CWD/firefox-3.5.tar.bz2 || exit 1
mv firefox firefox-3.5
ln -sf firefox-3.5 firefox
cd firefox-3.5
zcat $CWD/mozilla-firefox-simple.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
if [ ! $? = 0 ]; then
exit 1
fi
zcat $CWD/mozilla-firefox-mimeTypes-fix.diff.gz | patch -p1 --verbose --suffix=.orig || exit 1
if [ ! $? = 0 ]; then
exit 1
fi
zcat $CWD/firefox.moz_plugin_path.diff.gz | patch -p1 --verbose --suffix=.orig || exit 1
if [ ! $? = 0 ]; then
exit 1
fi
rm -f defaults/pref/firefox.js.orig
)
if [ ! $? = 0 ]; then
exit 1
fi
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
ln -sf /usr/lib/firefox-3.5/firefox .
)
mkdir -p $PKG/usr/lib/mozilla/plugins
mkdir -p $PKG/usr/share/applications
cat $CWD/mozilla-firefox.desktop > $PKG/usr/share/applications/mozilla-firefox.desktop
mkdir -p $PKG/usr/share/pixmaps
cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png

# These files/directories are usually created if Firefox is run as root, which on many
# systems might (and possibly should) be never. Therefore, if we don't see them we'll
# put stubs in place to prevent startup errors.
( cd $PKG/usr/lib/firefox-3.5
if [ -d extensions/talkback\@mozilla.org ]; then
if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then
echo > extensions/talkback\@mozilla.org/chrome.manifest
fi
fi
if [ ! -d updates ]; then
mkdir -p updates/0
fi
)

mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
makepkg -l y -c n $TMP/mozilla-firefox-3.5_SBo_rc1.txz
It's crude but should work on current x86_32. Copy old 3.0.11 flash plugin and don't forget to reinstall when Firefox 3.5 goes official...
 
Old 07-04-2009, 02:58 AM   #15
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 73
Quote:
Originally Posted by BrZ View Post
Download 3.0.11 slackbuild files and firefox-3.5.tar.bz2:

Edit -> mozilla-firefox-simple.diff.gz (replace 3.0.11 for 3.5)*

Keep only:

firefox-3.5.tar.bz2
firefox.moz_plugin_path.diff.gz
firefox.png
mozilla-firefox-simple.diff.gz
mozilla-firefox.SlackBuild
mozilla-firefox.desktop
slack-desc

Just for precaution, replace the variable for fixed 3.5 version and look your lib path -> mozilla-firefox.SlackBuild

example:



It's crude but should work on current x86_32. Copy old 3.0.11 flash plugin and don't forget to reinstall when Firefox 3.5 goes official...
The mozilla-firefox-mimeTypes-fix.diff needed a minor update before you can use the old 3.0 SlackBuild. I really don't like changing the version numbers with each update so I prefer to sed the patches.

A post for a copy of my current SlackBuild

I might drop the Feed patch in the future if I ever take the time to write an external handler script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
images not loading on firefox divyashree Linux - Newbie 12 05-07-2009 12:13 AM
Java VM not loading on FreeBSD 7.0 + firefox 2.0 jkmreyes *BSD 11 03-28-2009 12:38 AM
Firefox not loading videos. vwvr9 Linux - Desktop 1 02-19-2008 09:51 AM
error wHile loading firefox and gaim and77 Linux - General 2 01-12-2007 12:18 PM
Firefox. Unzipping and loading leonardo38 Linux - Software 4 02-08-2006 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration