LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-21-2017, 08:53 AM   #1
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
Does Firfox not support gtk-2 anymore?


Im trying to compile Firefox 53.0, and I got this error:
Code:
mozbuild.configure.options.InvalidOptionError: 'cairo-gtk2' is not one of 'cairo-windows', 'cairo-gtk3', 'cairo-cocoa', 'cairo-uikit', 'cairo-android', 'cairo-gonk'
I have the line
Code:
ac_add_options --enable-default-toolkit=cairo-gtk2
as it says as an option in the book. This is the only place in my mozconfig where it says cairo-gtk2.
 
Old 04-21-2017, 08:07 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
According to this link, which is specific to Firefox v. 53, that version needs "GTK+ 3.4 or higher." The page notes that

Quote:
Please note that GNU/Linux distributors may provide packages for your distribution which have different requirements.
You might also want to take a look at Mozila's Firefox compatibility chart, but it looks to me that it needs updating.
https://developer.mozilla.org/en-US/...ibility_matrix
 
Old 04-22-2017, 06:40 AM   #3
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
Those links were about precompiled packages. I'm compiling it from source, as I wrote in my first post...
 
Old 04-22-2017, 07:47 AM   #4
Case_Of
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
@Lennie:

Mozilla has effectively dropped gtk2 support from version 53. You can still build Firefox with gtk2 support by getting the 52 ESR version.
 
1 members found this post helpful.
Old 04-22-2017, 08:09 AM   #5
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
Thanks. Then I'll do that.
 
Old 04-22-2017, 09:33 AM   #6
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
The bigger problem is that firefox v53 requires rust and its underlying infrastructure, cargo and llvm 3.x. If you are a llvm 4.x user, you still have to compile llvm 3.x. This is a lot of disk space just to be able to compile firefox.

Since I don't use llvm/rust, I compiled firefox v53 using --disable-rust. So far, it seems to be working.

The mozilla website states that, starting with firefox 55, rust will be mandatory.

There is also the debate going on between Stallman and the llvm people concerning GPL (Gnu C/C++) vs non-GPL (llvm/clang). Stallman does not like llvm because it is non-GPL and is being backed by Apple.

Maybe time to switch to chromium.
 
Old 04-22-2017, 09:45 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Switched to chromium permanantly couple of years ago, very stable much better than firefox, bit of a pain to compile though, but then so is ff
 
Old 04-26-2017, 03:38 PM   #8
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
A complete and utter disregard for backwards compatibility is one of the core issues with Linux on the desktop. Strangely, I never see it mentioned in presentations and whitepapers purporting to explain why Linux never claimed significant desktop share. Personally, I think it is a top 5 reason business software developers look at the Linux desktop and think, "nope." There's few things more annoying than having the rug pulled out of from under you without a good reason, or even a reason given at all. It's hard enough dealing with developers in your own company making changes that f' things up without relying on an external ecosystem where design decisions are made based on the moods of cliques and popularity. There's just too much chaos in The Bazaar and I'll wager 3/4 of it is prompted for reasons other than those that are logical or engineering in nature. That said, freedom will have a price, regardless of what you do.

Last edited by Luridis; 04-26-2017 at 03:47 PM.
 
1 members found this post helpful.
  


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
Firefox 52.0 does not support ALSA anymore. sparkybulbul Linux - Desktop 4 03-17-2017 05:48 AM
[SOLVED] Help! Firfox is trying to attack me! barnac1e Linux - Software 5 07-12-2012 12:37 PM
[SOLVED] Postfix updated by CentOS and doesn't support MySQL anymore dstu Linux - Server 7 05-27-2011 10:23 AM
iptables 1.3.8 doesn't support mport anymore rhine2 Programming 1 02-27-2010 10:59 AM
Updated libpng, now existing GTK prog won't start anymore - Rh9 rylan76 Linux - Software 1 05-12-2005 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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