Re: compiling for gtk2

[email protected] (Robert M. Riches Jr.)
Newsgroups gmane.comp.mozilla.devel.gtk
Organization none-at-all
Message-ID <slrnakjgkh.4dk.rob@evrtwa1-ar5-4-65-011-025.evrtwa1.dsl-verizon.net>
On Thu, 01 Aug 2002 , Jason Corbett <[email protected]> wrote:
>Hello mozilla gurus,
>
> I am trying to recompile mozilla using gtk2.  I tried adding the options
>--enable-toolkit-gtk2 --enable-toolkit-default=gtk2 --without-gtk 
>--disable-toolkit-gtk, but it still looks for gtk 1.2+ via gtk-config, and 
>if it's not there it errors out.  Is there an option I'm missing.  Oh I 
>compiling 1.0.

(I am nowhere near a "guru", scarecely able to compile it myself,
but in case this will help until a real guru replies, ...)

When I built for xlib rather than gtk, I had to use the
following in my .mozconfig:

ac_add_options --disable-toolkit-gtk
ac_add_options --enable-toolkit-xlib
ac_add_options --enable-default-toolkit=xlib

It appears the correct switch is 'enable-default-toolkit' rather
than 'enable-toolkit-default'.

Robert Riches
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.