Firefox
I just uncompressed firefox and when i run it with the ./firefox command i get this error message in the console:
/root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"} What is this??? Please help!!! |
just a shot in the dark here, but are you logged in as normal user, and trying to run this as root in a terminal ?
if so, there is no need to be root to uncompress nor run firefox ... so just try uncompressing it into your users home folder, and then run it .... |
root
I am root all the time because i didn't make another user for me i log in every time as root. Is that bad?
|
Very bad. Besides being a huge security problem, some applications, as Firefox, won't run when logged as root for... well... security problem :p
|
I'm getting the exact same error. I didn't install it as root, I just downloaded it into my home directory. Funny thing is I have another PC with Fedora Core 1, the same as the one with the problem, and it works just fine.
|
/root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"}
This is an error with the shell script (on line 451). Unfortunately, you apparently need to run the script, as otherwise it doesn't detect the shared libs in the same dir. If it weren't for that, I'd tell you to bypass the script and just run the prog directly "firefox-bin", but that won't work that easily. If you're adventurous enough, you might try opening the script in a text editor and see what might be wrong on line 451 (on my system, 451 is simply "fi", so yours is probably different). You might also look into a way of setting up manually whatever the script really does to get the prog to run, and then bypassing the script (I'm considering looking into it). Hope you get something worked out. Don't forget that Firefox is pre-release software (and I'm not so sure about RH's stability either). |
tk,
I looked at that file and I've got the same fi on that line. I ended up making different error messages vi'ing the script so I removed firefox and redownloaded it. I now get the original message. You're right about the beta, but it's such a great beta! Maybe 0.9 will work! Thanks for the ideas! |
Quote:
Quote:
|
Re: root
Quote:
|
I found out that firefox and K6-2 processors have issues and will cause this error. Thanks for the suggestions. Xpiral, do you have a K6 2 or 3 proc?
|
Hooray!
I dug around in bugzilla and found that this problem has been reported and fixed a few times in firebird/firefox's history with Pentium I and K6 processors. So I wondered if I loaded up firebird 0.7 what would happen. I found it and it runs just fine! Just look in Mozilla's ftp site for the firebird folder and load the i686 build there if you have the same problem I had. It's close enough for my taste!
:D :D :D Thanks all! |
Re: Firefox
Quote:
after using strace I found out that several fonts used by some pages are not readable. Code:
open("/usr/X11R6/lib/X11/fonts/TTF/arial.ttf", O_RDONLY) = -1 EACCES (Permission denied) especialy if you copied the Arial True Type Fonts in this folder!!! Cause this killed my firefox once it started, or better say, once i visited a web page wich tryed to use Arial Fonts and many Site use them! This seems to be a problem oft the newer XFT enabled builds. Also check this things: 1.) try to start firefox/mozilla from command line without displaying a page Code:
# firefox about:blank Code:
# firefox about: plugins a) first edit /usr/lib/firefox/run-mozilla.sh around line 444 to show up the paths Code:
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH Code:
echo "export MOZILLA_FIVE_HOME=$MOZILLA_FIVE_HOME LD_LIBRARY_PATH=$LD_LIBRARY_PATH" d) copy the path information with the export statement and paste it to the command line Code:
# export MOZILLA_FIVE_HOME=/home/... Code:
# cd /usr/lib/firefox Code:
# strace ./firefox-bin Code:
open("/usr/X11R6/lib/X11/fonts/TTF/arial.ttf", O_RDONLY) = -1 EACCES (Permission denied) |
All times are GMT -5. The time now is 10:07 AM. |