Re: Building Firebird/Mozilla with gtk 2.2.2
Geoff Leach <[email protected]> Wed, 30 Jul 2003 00:29:23 +1000
| Newsgroups | gmane.comp.mozilla.devel.unix,gmane.comp.mozilla.builds |
|---|---|
| Organization | School of Computer Science and Information Technology, RMIT |
| Message-ID | <[email protected]> |
Christopher Blizzard wrote: > Geoff Leach wrote: > >> 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. Thanks for the clarification. I should also have persisted/revisited reading the code ... Just add that a complete new/clobber build with the above takes around 2-3 hours on my 1.6 GHz P4 box. The one time I've tried so far (a couple of months back) to build Mozilla Firebird there seemed to be a clash with building Mozilla - neither worked for me and I started afresh with a clobber build. But I assumed they could be built in the same tree. I need to read the Mozilla Firebird instructions (again), but can someone clarify whether both Mozilla and Mozilla Firebird are buildable in the same tree or whether different trees needed? Geoff