On 9/24/06, Alberto Hernando <[EMAIL PROTECTED]> wrote:
My system is LFS-6.2-3. I'd like to know how do you compile firefox. I followed the instructions in the blfs book (svn version) and well, it compiled fine, but there is something that doesn't work. When I try to log in gmail, it complains that a script is taking too long to run. CPU goes to 99%
I don't know what to say there. I use gmail all the time in firefox. Firefox is certainly pretty resource intensive and can occasionally spike the CPU, but it usually settles down except when there is extremely gratuitous Flash in use. The "script" is Javascript. There are some sites I use where the Javascript implementation is very slow on Firefox, whether in Linux or Windows. I attribute this to sloppy web design where people only test on IE (because I can use IE and see that it behaves much better). I've not had this problem with Google pages using Javascript.
Also, when I'm in the web of my bank (lacaixa.es, in Spain), the logout button doesn't work. At least, you don't see that you're logged out, but you can't do anything else in the bank. So it looks like it has some problems with scripts.
Quite possibly it's poor Javascript. Can you try a Firefox on Windows? I'd like to know if the problem is specific to Firefox in general or our build of Firefox on Linux.
I recompiled with NSS, and the problems are the same. Firefox-1.5.0.6, 1.5.0.7, with gcc-4.1.1 and with gcc-3.4.3 (when I tried long time ago, the same). I don't know what to do. Any tips?
NSS isn't going to change anything. That's the security engine. You _could_ maybe try to build the javascript engine standalone, but I don't know how to link it into the Firefox build. Although, the NSS we use in the book bundles NSPR, and that is used by the Javascript engine. You could try updating to the newest NSS/NSPR implementation that has some bug fixes. http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_3_RTM/src/nss-3.11.3-with-nspr-4.6.3.tar.gz http://www.linuxfromscratch.org/patches/downloads/nss/nss-3.11.3-with-nspr-4.6.3-fedora_fixes-1.patch FWIW, the standalone javascript engine is called spidermonkey, and it's here: http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz You can try to build it and then build elinks which will use it as its javascript implementation. That might tell you whether the issue is in the javascript engine or in the browser/renderer. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
