Re: Building Firebird/Mozilla with gtk 2.2.2

Geoff Leach <[email protected]> Wed, 30 Jul 2003 00:01:25 +1000
Newsgroups gmane.comp.mozilla.devel.unix,gmane.comp.mozilla.builds
Organization School of Computer Science and Information Technology, RMIT
Message-ID <[email protected]>
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