Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox and Thunderbird versus GTK-2 [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alchemyx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2003
Posts: 111
Location: Swinoujscie, Poland

PostPosted: Wed Sep 15, 2004 9:13 pm    Post subject: Firefox and Thunderbird versus GTK-2 [solved] Reply with quote

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
View user's profile Send private message
lostdave
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2004
Posts: 85
Location: Leeds, UK

PostPosted: Thu Sep 16, 2004 7:17 am    Post subject: Reply with quote

This post certainly just saved me a lot of time (and swearing)
Back to top
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Thu Sep 16, 2004 2:13 pm    Post subject: Re: Firefox and Thunderbird versus GTK-2 [solved] Reply with quote

alchemyx wrote:
USE flag to containg -gtk +gtk2


My gentoo box is @home ATM, but IIRC that needs to be:

Code:
-gtk gtk2


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
View user's profile Send private message
alchemyx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2003
Posts: 111
Location: Swinoujscie, Poland

PostPosted: Thu Sep 16, 2004 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Thu Sep 16, 2004 2:27 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
alchemyx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2003
Posts: 111
Location: Swinoujscie, Poland

PostPosted: Thu Sep 16, 2004 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lasker
Guru
Guru


Joined: 17 Jul 2002
Posts: 445

PostPosted: Thu Sep 16, 2004 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Thu Sep 16, 2004 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum