LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-29-2008, 12:01 AM   #1
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Firefox no longer starts in Slackware 12 after doing updates


Hi, I'm working on my friends old AMD K6 with 156 mb and a 4 gb harddrive. I installed Slackware 12 on it, because windows 98 stopped working and it works flawlessly with xfce. So I updated it and now firefox no longer works. When I try to start firefox up it comes up with this error
./run-mozilla.sh: line 131: 27580 Illegal instruction "$prog" ${1+"$@"}
it doesn't matter what version I use, the original version or the new one or the one from mozilla.com. Does anyone have a solution to this?
 
Old 01-29-2008, 12:23 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
How did you update it?

Ideally the new version should be installed to /usr/lib/firefox-VERSION with the symlink at /usr/lib/firefox pointing to that folder.

/usr/bin/firefox should be the output of 'which firefox' and /usr/bin/firefox should be a symlink pointing to /usr/lib/firefox/firefox.

Of course perms are important for these directories.

Try cd'ing to the firefox directory and running it from there (./firefox).

You can also test if there is a problem with your profile by creating another one using the profile manager (run firefox with '-P' switch).

The easiest way to update Firefox in Slackware would be to simply download the newest Slackware package and upgradepkg. I also created a short script to copy over the plugins from the previous installation.

Edit: Here is a link for the newest Slackware Firefox Package as of today

Last edited by shadowsnipes; 01-29-2008 at 12:28 AM. Reason: added link to newest firefox package
 
Old 01-29-2008, 12:32 AM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by shadowsnipes View Post
How did you update it?

Ideally the new version should be installed to /usr/lib/firefox-VERSION with the symlink at /usr/lib/firefox pointing to that folder.

/usr/bin/firefox should be the output of 'which firefox' and /usr/bin/firefox should be a symlink pointing to /usr/lib/firefox/firefox.

Of course perms are important for these directories.

Try cd'ing to the firefox directory and running it from there (./firefox).

You can also test if there is a problem with your profile by creating another one using the profile manager (run firefox with '-P' switch).

The easiest way to update Firefox in Slackware would be to simply download the newest Slackware package and upgradepkg. I also created a short script to copy over the plugins from the previous installation.

Edit: Here is a link for the newest Slackware Firefox Package as of today
I updated via upgradepkg command in slackware, I have tried it in multiple users. Also I tried downloading the one from mozilla.com and executing that in its untarred directory in one of the users home folders
 
Old 01-29-2008, 01:03 AM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Are you doing anything unusual in your environment that would cause the shell script to have errors?

"$prog" is set to $MOZ_PROGRAM which should be firefox-bin.

For the untarred firefox in the home directory you ran ./firefox from that directory, right?
 
Old 01-29-2008, 01:24 AM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by shadowsnipes View Post
Are you doing anything unusual in your environment that would cause the shell script to have errors?

"$prog" is set to $MOZ_PROGRAM which should be firefox-bin.

For the untarred firefox in the home directory you ran ./firefox from that directory, right?
Well I installed abiword and its dependencies. After that firefox was complaining about no gconf and this present error, so I installed gconf and now I'm stuck on this error
as for your second question yes, I ran ./firefox from that directory
 
Old 01-29-2008, 01:31 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
That's why people who use current need to update whole distro and not separate packages. Can you start /usr/lib/firefox/firefox without using the wrapper in bin?
 
Old 01-29-2008, 02:17 AM   #7
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
here's another source of info
http://www.linuxquestions.org/questi...irefox-153830/
 
Old 01-29-2008, 02:28 AM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by Alien_Hominid View Post
That's why people who use current need to update whole distro and not separate packages. Can you start /usr/lib/firefox/firefox without using the wrapper in bin?
I'm actually not using current, I updated all the packages that I was supposed to. I'm just trying to make a working system for my friend that just does web browsing, instant messsaging and some word processing that will work for hopefully as long as he has the computer
I tried that command, and it comes up with the same error
 
Old 01-29-2008, 02:31 AM   #9
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by j-ray View Post
thanks, the odd thing is it was working properly before I did any updates or installed abiword and its depenedencies
 
Old 01-29-2008, 11:35 AM   #10
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
I'm going to try Seamonkey and see if that works, if it does, then I will probably stick with that
 
Old 01-29-2008, 12:50 PM   #11
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
It seems that even Seamonkey won't work, I'm going to try Opera, that should work, if it doesn't I guess I'm back to square one
 
Old 01-29-2008, 01:38 PM   #12
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Did you try using strace as it says to in the thread j-ray linked to?

How did you install abiword, its dependencies, and gconf? Perhaps you should try building and installing them using the slackbuilds at slackbuilds.org.

GCONF slackbuild
abiword slackbuild
The abiword and gconf dependencies are listed on those pages. You can find them by searching slackbuilds.org.
 
Old 01-29-2008, 01:53 PM   #13
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by shadowsnipes View Post
Did you try using strace as it says to in the thread j-ray linked to?

How did you install abiword, its dependencies, and gconf? Perhaps you should try building and installing them using the slackbuilds at slackbuilds.org.

GCONF slackbuild
abiword slackbuild
The abiword and gconf dependencies are listed on those pages. You can find them by searching slackbuilds.org.
I don't have strace installed on the k6 as of yet. I just installed abiword via the package at linuxpackages.net and I got the dependencies via rpm.pbone.net(used rpm2tgz) and linuxpackages.net, it probably wasn't the best or easiest way but it worked, eventually. I installed gconfd from the dropline gnome packages(I think)
Opera works on it, but I would like to try to get firefox to work on it, I'll install strace and try running it and see what happens
 
Old 01-29-2008, 02:19 PM   #14
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Original Poster
Rep: Reputation: 58
Ok, I ran strace on it and here is the last bit of the output from it
Code:
waitpid(-1, 0xbfb7408c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807b8d0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "exitcode=$?\n\n## Stop addon scrip"..., 5286) = 91
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/home/kyle/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/home/kyle/.mozilla/firefox/init.d/K*", 0xbfb737e4) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("firefox/init.d/K*", 0xbfb737e4) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(132)                         = ?
Process 30196 detached
it doesn't look like anything in that post j-ray linked me to
 
Old 01-29-2008, 03:10 PM   #15
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
did you do the strace on firefox-bin after exporting the paths like the post in the linked thread?

I wonder why it is trying to open firefox/init.d...
 
  


Reply



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
cups no longer starts on port 631 BCarey Slackware 2 11-04-2007 11:17 AM
After dist-upgrade, X no longer starts. Dan04 Linux - Software 2 06-19-2006 12:19 AM
FireFox no longer starts Wakim Linux - Software 11 01-31-2005 10:35 PM
X server do not longer starts restrepo Linux - Software 3 07-14-2004 11:01 PM
Help! My SuSe no longer starts! J_Szucs Linux - General 4 05-18-2003 04:27 PM

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

All times are GMT -5. The time now is 01:46 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
Open Source Consulting | Domain Registration