Re: Building Firebird/Mozilla with gtk 2.2.2

Christopher Blizzard <[email protected]> Tue, 29 Jul 2003 10:06:48 -0400
Newsgroups gmane.comp.mozilla.devel.unix,gmane.comp.mozilla.builds,gmane.comp.mozilla.builds
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Geoff Leach wrote:

> DB wrote:
>
>> [email protected] (BJ) wrote in message 
>> news:<[email protected]>...
>>
>>> I read in another post that someone got this combination to compile
>>> but I am having some difficulty.  The configure script for both
>>> Firebird and Mozilla try to locate GTK (1.2) using gtk-config.  I
>>> recently installed gtk 2.2.2 and it did not install a gtk-config, nor
>>> can I find any mention of one in the included documents except for the
>>> changelog.  Has pkg-config replaced gtk-config?  If so, how does one
>>> get Mozilla to build now?  Trying to edit the scripts (ew) ?
>>>
>>> I searched a bit and all I could find were very old posts of people
>>> saying 'download the -dev version', but it even says on the gtk
>>> website that there is no non-dev version of gtk.
>>>
>>> Bj
>>
>>
>>
>> Ditto for me.
>> I'd like to start running nightlies to help debugging but have given
>> up to avoid conflicts with the packages already installed on the
>> Redhat 9.0 system I'm using. Does one really need to build gtk, glib,
>> gtk, pango, atk, just to install mozilla? Did Redhat mis-install these
>> packages or is this a problem with the mozilla cvs build?
>>
>> db
>
>
> I regularly build Mozilla on RHL 9 (and previously RHL 8 and 7.x). I 
> dont think I specially installed anything specifically to get Mozilla 
> builds working - although I did do a full install.
>
> My options are
>
> about:buildconfig
>
> --enable-svg --enable-calendar --enable-crypto 
> --enable-default-toolkit=gtk2 --disable-toolkit-gtk 
> --disable-toolkit-qt --enable-xft --enable-freetype2 --enable-cpp-rtti 
> --enable-cpp-exceptions --enable-extensions --with-system-jpeg 
> --with-system-zlib --with-system-png --with-system-mng
>
> I probably need to have another look at the --enable-cpp-rtti and 
> --enable-cpp-exceptions. From a quick look at the g++ (2.3.2) man page 
> they are (now?) enabled by default. Apart from being compiler flags 
> there may be code conditional on these options, although I couldnt see 
> any #defines based on them. It looks as though the 
> --disable-toolkit-gtk --disable-toolkit-qt may be unecessary 
> (--enable-default-toolkit sets them), but I was never sure. Also, 
> --with-system-mng does not currently do anything.
>
> Geoff
>
A lot of those aren't needed, really.  Since we don't use rtti or c++ 
exceptions those options are just going to make your code bigger, with 
no positive results.  Also --enable-default-toolkit=gtk2 and 
--enable-xft is all you need.  The various --disable-toolkit-foo don't 
really do much in the face of --enable-default-toolkit.  Also, if you're 
using --enable-xft you don't really need --enable-freetype2.

--Chris

-- 
------------
Christopher Blizzard
http://www.mozilla.org
------------