View previous topic :: View next topic |
Author |
Message |
alchemyx Tux's lil' helper
Joined: 27 Nov 2003 Posts: 111 Location: Swinoujscie, Poland
|
Posted: Wed Sep 15, 2004 9:13 pm Post subject: Firefox and Thunderbird versus GTK-2 [solved] |
|
|
Hello!
When first installing gentoo I had -gtk and -gtk2 in my USE flags. When emerging firefox and thunderbird, it seems they've chosen gtk1 (because gtk is required anyway).
So now I wanted to change it to gtk2. Changed USE flag to containg -gtk +gtk2. And then re-emerged both application. After that they completly refused to start. After spending half an hour looking for reason it came out that file compreg.dat needs to be removed (from ~/.firefox/ and ~/.thunderbird). Then mozilla rebuilds it automatically. Now everything works fine.
I was wondering if it is not good thing to have it in FAQ. It will save some time for others. _________________ Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel] |
|
Back to top |
|
|
lostdave Tux's lil' helper
Joined: 16 Jun 2004 Posts: 85 Location: Leeds, UK
|
Posted: Thu Sep 16, 2004 7:17 am Post subject: |
|
|
This post certainly just saved me a lot of time (and swearing) |
|
Back to top |
|
|
Konsti l33t
Joined: 10 Dec 2002 Posts: 691
|
Posted: Thu Sep 16, 2004 2:13 pm Post subject: Re: Firefox and Thunderbird versus GTK-2 [solved] |
|
|
alchemyx wrote: | USE flag to containg -gtk +gtk2 |
My gentoo box is @home ATM, but IIRC that needs to be:
So if there is +gtk2 in xour make.conf portage may not complain and assume -gtk -gtk2!
So try
Code: | env USE="-gtk gtk2" -vp mozilla-firefox |
and report. |
|
Back to top |
|
|
alchemyx Tux's lil' helper
Joined: 27 Nov 2003 Posts: 111 Location: Swinoujscie, Poland
|
Posted: Thu Sep 16, 2004 2:19 pm Post subject: |
|
|
I wrote it wrong.
I had: -gtk -gtk2
And then changed to: -gtk gtk2
In first option it used gtk version 1.x
In second option gtk version 2.x _________________ Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel] |
|
Back to top |
|
|
Konsti l33t
Joined: 10 Dec 2002 Posts: 691
|
Posted: Thu Sep 16, 2004 2:27 pm Post subject: |
|
|
Damn, sorry. I misread your post additionally and thought you don't managed it to build with gtk2, but that was not the problem at all I realize |
|
Back to top |
|
|
alchemyx Tux's lil' helper
Joined: 27 Nov 2003 Posts: 111 Location: Swinoujscie, Poland
|
Posted: Thu Sep 16, 2004 2:32 pm Post subject: |
|
|
No problem and thanks anyway . _________________ Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel] |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Thu Sep 16, 2004 7:10 pm Post subject: |
|
|
As far as I understand the gtk2 flag, you can leave both gtk and gtk2 with a '+' in your /etc/make.conf.
In this case an application who's capable of linking against gtk2 would always prefer the latter.
Someone please correct me if I'm wrong. |
|
Back to top |
|
|
Konsti l33t
Joined: 10 Dec 2002 Posts: 691
|
Posted: Thu Sep 16, 2004 8:49 pm Post subject: |
|
|
May be in these days...
IIRC in earlier days mozilla preferred gtk1 in such a case, -gtk required in conjunction with gtk2 for an gtk2 build
What is quite reasonable when the developers think their gtk2 port is buggy and the gtk1 interface well known and proved... |
|
Back to top |
|
|
|