LinuxQuestions.org
Help answer threads with 0 replies.
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 05-02-2019, 12:14 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 381

Rep: Reputation: 41
Question Build Firefox 66 on Slackware?


How do I build Firefox 66 on Slackware? That version supports extension shortcuts.

Where is its source code?

Last edited by Geremia; 05-02-2019 at 12:17 PM.
 
Old 05-02-2019, 12:24 PM   #2
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 381

Original Poster
Rep: Reputation: 41
I found it here: https://ftp.mozilla.org/pub/firefox/...66.0.3/source/
And there's a SlackBuild here: https://mirror.slackbuilds.org/slack...zilla-firefox/
 
Old 05-02-2019, 12:29 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,796

Rep: Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756Reputation: 3756
If you're okay with just repackaging Mozilla's prebuilt binaries:

https://gist.github.com/ruario/9672798
 
Old 05-02-2019, 12:38 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,757

Rep: Reputation: Disabled
note that you will need some additional dependencies to build it from sources

https://www.linuxquestions.org/quest...9/#post5954459
 
Old 05-02-2019, 01:29 PM   #5
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 381

Original Poster
Rep: Reputation: 41
Wink

Quote:
Originally Posted by ponce View Post
note that you will need some additional dependencies to build it from sources

https://www.linuxquestions.org/quest...9/#post5954459
thanks
I compiled it successfully.
FF 66 is faster, too.

Last edited by Geremia; 05-02-2019 at 05:12 PM.
 
Old 05-03-2019, 02:26 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,162

Rep: Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165
Greetings all.

I hope this isn't too much bother for an apparently tiny niche but I need some information and/or advice. It's become quite a can of worms for me.

Lately I have discovered what a pita obstacle Firefox has created by that one single line that enables ALSA as well as the increasing problem with it working at all with older libraries, effectively making some versions obsolete and unusable for what from my POV is long before their time. For awhile now I have worked around the ALSA issue by using v58 of firefox-fuckpa. Now that even fuckpa is up to v66 I fear problems will develop with it's viability and want to at least rise above v58. Unfortunately and at the very least v66 of fuckpa requires GLIBC-3.4.2 and I, on Slackware 14.2 Multilib, am only at 2.28 and it is my understanding that even Current is only at 2.29.

So my first problem is to discern if that would be an issue building v66 Firefox from source?

The elephant in the room of course is RUST which is in Current but not in 14.2.

Since Geremia reports successfully building Firefox 66 from source my most pressing question then is, Geremia (or anyone else), did you build on 14.2 or Current?
 
Old 05-03-2019, 02:41 PM   #7
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 381

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by enorbet View Post
did you build on 14.2 or Current?
I built on -current.
 
Old 05-03-2019, 05:41 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,695

Rep: Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236
Quote:
Originally Posted by enorbet View Post
Greetings all.

I hope this isn't too much bother for an apparently tiny niche but I need some information and/or advice. It's become quite a can of worms for me.

Lately I have discovered what a pita obstacle Firefox has created by that one single line that enables ALSA as well as the increasing problem with it working at all with older libraries, effectively making some versions obsolete and unusable for what from my POV is long before their time. For awhile now I have worked around the ALSA issue by using v58 of firefox-fuckpa. Now that even fuckpa is up to v66 I fear problems will develop with it's viability and want to at least rise above v58. Unfortunately and at the very least v66 of fuckpa requires GLIBC-3.4.2 and I, on Slackware 14.2 Multilib, am only at 2.28 and it is my understanding that even Current is only at 2.29.
There's no such thing as glibc-3.4.2. Perhaps you mean the GLIBCXX-3.4.2 symbols, which are present in Slackware 14.2's C++ standard library:

strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

Quote:
So my first problem is to discern if that would be an issue building v66 Firefox from source?

The elephant in the room of course is RUST which is in Current but not in 14.2.
The elephant lives in 14.2's /patches, along with a newer version of llvm which you'll also need to compile a more recent Firefox.
 
3 members found this post helpful.
Old 05-03-2019, 06:41 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,162

Rep: Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165
TYVM for the clarification and expanded solution, Patrick... and yes, that's exactly what the error message stated, "GLIBCXX-3.4.2" and the strings command did indeed confirm it is installed. Am I correct in assuming that once Rust and llvm are installed that the error might be satisfied or is there something like a solibs link I am missing? Sorry to bother you with this as I suspect you have had to do a fair bit of cursing yourself over changes for change sake when really not much is different in what can be done. I have nowhere near the depth of understanding of code that you do but much seems like re-inventing the wheel which is often left spinning in place. Either that or I am finally devolving into an actual Luddite ;^)

FWIW this is the full error copy 'n pasted

Code:
 XPCOMGlueLoad error for file /Firefox/fuckpa/firefox/libxul.so:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.23' not found (required by /Firefox/fuckpa/firefox/libxul.so)
Couldn't load XPCOM.
Oh crap now I see... "strings" reveals only up to 3.4.21. I must be having one of those brain freeze days to have paid so little attention to the specifics in the error message. I'll leave my fault up in case anyone else has such a day and to keep my sincere thanks posted and wrestle some more but perhaps tomorrow might be wise. My brain seems to be "enorbet" today.

Last edited by enorbet; 05-03-2019 at 06:46 PM.
 
Old 05-03-2019, 09:00 PM   #10
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,695

Rep: Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236Reputation: 5236
That error message leads me to suspect that firefox-fuckpa (which I'd not previously heard of) is shipped partially compiled, with the libxul.so having been linked on a machine with a newer version of libstdc++.

You're trying to get a Firefox above v59, and built with --enable-alsa? Because the mozilla-firefox-60.6.1esr-x86_64-1_slack14.2.txz in Slackware 14.2's /patches meets both of those requirements.
 
Old 05-03-2019, 10:54 PM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,162

Rep: Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165
Thanks, Patrick. I had tried an ESR several months ago and I wish I could recall the problem I had but it is very possible it is because after a new initial install, I have always upgraded firefox from binary blobs which I just copy into /usr/lib/64/firefox-version and replace the link to /usr/lib64/firefox. In any case with just a minor tweak 60.6.1 esr installed and not only works but seems snappier and most importantly works a treat with alsa-only.

I also installed rust and zlib from /Patches so I can begin getting some experience with compiling new firefox from source. I have tried to convert and I rather like Opera while Palemoon seems to fall a bit short. Vivaldi is OK but a bit more minimal than I'm used to. Since I began with OS/2 using Netscape and moved up to Firefox as soon as it was released I guess I'm an old dog somewhat resistant to new tricks. Firefox is an old pair of sneakers.

Thanks again. ESR is pretty sweet.
 
Old 05-03-2019, 11:59 PM   #12
LuckyCyborg
Member
 
Registered: Mar 2010
Posts: 426

Rep: Reputation: 222Reputation: 222Reputation: 222
Angry

Quote:
Originally Posted by enorbet View Post
ESR is pretty sweet.
Certainly. But I think that it is even sweeter for advertisers, web miners and spammers, considering that it now refuse to run the single extensions which I use: Adblock Plus and NoMiner, as you see in the attached screenshot.

So, I compile Firefox 66.0.3 as I write, but probably I should have quite a patience for compiling Firefox with an Athlon 5350, which basically is a laptop CPU of 25W, from Kabini family, but socketed on an AM1 package for desktop usage.
Attached Thumbnails
Click image for larger version

Name:	firefox.png
Views:	25
Size:	211.6 KB
ID:	30468  

Last edited by LuckyCyborg; 05-04-2019 at 12:05 AM.
 
Old 05-04-2019, 12:11 AM   #13
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,757

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Certainly. But I think that it is even sweeter for advertisers, web miners and spammers, considering that it now refuse to run the single extensions which I use: Adblock Plus and NoMiner, as you see in the attached screenshot.

So, I compile Firefox 66.0.3 as I write, but probably I should have quite a patience for compiling Firefox with an Athlon 5350, which basically is a laptop CPU of 25W, from Kabini family, but socketed on an AM1 package for desktop usage.
as an alternative to Adblock Plus I can suggest using uBlock Origin.
regarding NoMiner, you can try switching to minerBlock...
 
1 members found this post helpful.
Old 05-04-2019, 12:17 AM   #14
LuckyCyborg
Member
 
Registered: Mar 2010
Posts: 426

Rep: Reputation: 222Reputation: 222Reputation: 222
Nope. Firefox does not want to download and install that uBlock Origin, as you can see in the attached screenshot.

And same it does for several other extensions which I tried randomly to install.

I think that the Firefox ESR from -current is now broken. Please note that I use a careful updated -current, with the only customization being Plasma5 and Chromium addition.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190504_081430.png
Views:	19
Size:	207.3 KB
ID:	30469  

Last edited by LuckyCyborg; 05-04-2019 at 12:33 AM.
 
Old 05-04-2019, 12:44 AM   #15
LuckyCyborg
Member
 
Registered: Mar 2010
Posts: 426

Rep: Reputation: 222Reputation: 222Reputation: 222
Strange is that even the pre-compiled Firefox 66.0.3 is broken in my system, after re-packaging it with https://gist.github.com/ruario/9672798
 
  


Reply

Tags
firefox, slackbuild, slackbuilds


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
LXer: Slackware-Based Zenwalk Linux Gets New ISO Snapshot with GTK3 Build of Firefox LXer Syndicated Linux News 0 02-26-2017 01:40 AM
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
unable to build firefox 25 on slackware 14.0 vonbiber Slackware 3 11-05-2013 07:12 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

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

All times are GMT -5. The time now is 12:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration