LinuxQuestions.org
Review your favorite Linux distribution.
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 10-05-2013, 02:45 PM   #1
jon lee
Member
 
Registered: Jul 2013
Posts: 81

Rep: Reputation: Disabled
Random thoughts on browser choices/Firefox.


I was having some minor dbus issues between clementine and firefox. This prompted me to attempt to compile Firefox without dbus.
I found the mozilla esr17.0.9 source in slackbuilds. I made it through that with some fighting with some apparent memory problems on the final linking.

It works OK/Good, but it is branded nightly. I decided I wanted a real firefox brand and started searching for different source. Immediately I noticed that starting with version 18 and higher, two more modules are included in IPC (interprocess communication), 'unixsocket' and 'netd'. Not knowing what these are and how they effect security, I wonder if they should be included in the build (simple enough to strip them from the makefile)?

I also found that it's easy to eliminate some extraneous build options in configure:
Code:
./configure --prefix=/usr --disable-dbus --disable-gconf --disable-gnomevfs --enable-gstreamer
I know the above works. I would eventually like to test some other options. Which of these would be useful (or mess things up)?
Code:
./configure --prefix=/usr --disable-dbus --disable-gconf --disable-gnomevfs --disable-dbm --enable-gstreamer --enable-address-sanitizer --enable-llvm-hacks --enable-faststripe --disable-logging --enable-strip --enable-install-strip
I decided to try and compile v24 to see if it could be done and also gstreamer is supposed to work to give h.264/html5 support in this version.

1 gig of memory (and 1 gig of swap) isn't enough to compile v24. I finally got a straight answer out of ld, after fighting with it the same as v17.

I would usually get this:
Code:
    INPUT("../../media/webrtc/signaling/signaling_sipcc/src/sipcc/cpr/linux/cpr_linux_string.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/src/sipcc/cpr/linux/cpr_linux_threads.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/src/sipcc/cpr/linux/cpr_linux_timers_using_select.o")

collect2: error: ld terminated with signal 9 [Killed]
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/slackjack/mozilla-release/toolkit/library'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/home/slackjack/mozilla-release'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/home/slackjack/mozilla-release'
make: *** [default] Error 2
Or it would complain about some_file.o being truncated. I had this happening with v17 as well (had to finish compile in a straight terminal with no windows manager running). This isn't enough for v24.

It finally coughed up the real reason:
Code:
    INPUT("../../media/webrtc/signaling/signaling_sipcc/src/sipcc/cpr/linux/cpr_linux_threads.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/src/sipcc/cpr/linux/cpr_linux_timers_using_select.o")

../../dist/lib/libjs_static.a: could not read symbols: Memory exhausted
collect2: error: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/slackjack/mozilla-release/toolkit/library'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/home/slackjack/mozilla-release'
make[1]: *** [tier_platform] Error 2
There was also a plain syntax error in the javascript code (rawSource when it was supposed to be raw_source).. rawSource not defined, raw_source warning defined in header but not used). That didn't give me much confidence. Made it through that and the stripping of the .def files.
Anyway, I can't make it through the final linking on v24 with 1 gig of mem... and barely made it through v17 (with the same issues).

This means I'm apparently stuck with v17. Is there a better browser choice out there? I was looking at icecat which explains the branding issue.
https://en.wikipedia.org/wiki/GNU_IceCat
Or perhaps Midori browser?

Does anyone prefer one of these over Firefox? Any potential security issues with one or another?
 
Old 10-06-2013, 09:05 AM   #2
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Form BLFS
Quote:
...Xulrunner's build uses large amount of memory. On some systems, the RAM/Swap combination needs 6 GB available.
The Xulrunner buld is basically the same as firefox.

Have a look at BLFS if you are building from source as it has a lot of useful build/dependency info.
http://www.linuxfromscratch.org/blfs...xulrunner.html
http://www.linuxfromscratch.org/blfs...t/firefox.html
http://www.linuxfromscratch.org/blfs...svn/index.html
 
Old 10-06-2013, 04:09 PM   #3
YellowApple
Member
 
Registered: Mar 2013
Location: Truckee, California, United States
Distribution: Slackware, openSUSE, Debian,Slackware, openSUSE, OpenBSD
Posts: 91

Rep: Reputation: 33
Quote:
Originally Posted by jon lee View Post
1 gig of mem
Upgrade your RAM and/or start adding swap; Firefox is notorious for exhausting RAM during compilation.

That said, Chromium works pretty well on Slackware. Might be worth a shot if you haven't already considered/tried it.
 
Old 10-06-2013, 08:16 PM   #4
jon lee
Member
 
Registered: Jul 2013
Posts: 81

Original Poster
Rep: Reputation: Disabled
Thanks for the links. I didn't think to look at LFS.
I made it through v17 again a second time. This time all the way through without any problems at all.
I'm tempted to try v24 with the separate libxul and see if that makes a difference.
It's about a 10-12 hour compile for me, so I have to build up motivation.

About Chromium... parts are built into firefox already.. under IPC - components. In fact it was through a strace that I tried to eliminate Chromium to begin with (Can't. Too many dependencies.)
 
Old 10-06-2013, 08:28 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
Hi
I am blunter

Instead of paying more money to buy more RAM, pls consider going to a distro that is more related to x386
and see if they have web browsers that might suit your needs
http://distrowatch.com/search.php?os...&status=Active

I suspect some on that list are more intensive for RAM than I would prefer but thats your decision. But Slackware is not a hit which appears to be 486 and higher

While I am at it, I might as well advise you to look for smaller graphical engines
depending on your needs, LXDE springs to mind
but there a ton of DEs smaller than LXDE

good luck


ahh this might be easier to use, If interested
http://tuxradar.com/content/distro-picker-0

Last edited by aus9; 10-06-2013 at 08:34 PM. Reason: add link
 
Old 10-06-2013, 11:40 PM   #6
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware
Posts: 253
Blog Entries: 13

Rep: Reputation: 215Reputation: 215Reputation: 215
Have you tried firefox v16.0.2? It's been the most stable for me, of all the versions before and since. It's the first (and only) to prove more stable than v3.6, staying up for 45 days (give or take).
 
  


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
Internet Browser Choices TigerLinux Linux - General 3 01-16-2011 03:37 AM
LXer: Article ZFS data integrity testing and more random ZFS thoughts. LXer Syndicated Linux News 0 05-15-2010 01:51 PM
Where are the random thoughts? JoannesX Slackware 3 05-02-2005 09:53 PM
Some [random] newbie thoughts: Where to start? southsibling LinuxQuestions.org Member Success Stories 2 08-22-2004 02:44 PM
Choices for web browser/email client jrdioko Linux - Software 1 06-14-2004 12:33 AM


All times are GMT -5. The time now is 05:49 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration