Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

firefox 1.5 build on Windows with GTK2

9 views
Skip to first unread message

Vin

unread,
Nov 23, 2006, 5:03:49 AM11/23/06
to
Hi
i am trying to build firefox1.5.0.3 on Windows Xp...........
the build is working properly with the default toolkit .
but when i try
ac_add_options --enable-default-toolkit=gtk2 it is showing errors.

my .mozconfig file is :

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-debug
ac_add_options --disable-optimize
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-xft
ac_add_options --disable-gnomevfs
ac_add_options --disable-gnomeui
ac_add_options --disable-gtktest
ac_add_options --with-system-zlib=/c/GTK/
ac_add_options --with-system-jpeg=/c/GTK/
ac_add_options --with-system-png=/c/GTK/
ac_add_options --with-gtk-prefix=/c/GTK/
ac_add_options --with-gtk-exec-prefix=/c/GTK/
ac_add_options --with-glib-prefix=/c/GTK/
ac_add_options --with-glib-exec-prefix=/c/GTK/
ac_add_options --with-libIDL-prefix=/d/Mozilla/moztools/
ac_add_options --with-libIDL-exec-prefix=/d/Mozilla/moztools/

the output on execution is :
Adding configure options from ./.mozconfig:
--enable-application=browser
--disable-debug
--disable-optimize
--enable-default-toolkit=gtk2
--disable-xft
--disable-gnomevfs
--disable-gnomeui
--disable-gtktest
--with-system-zlib=/cygdrive/c/GTK/
--with-system-jpeg=/cygdrive/c/GTK/
--with-system-png=/cygdrive/c/GTK/
--with-gtk-prefix=/cygdrive/c/GTK/
--with-gtk-exec-prefix=/cygdrive/c/GTK/
--with-glib-prefix=/cygdrive/c/GTK/
--with-glib-exec-prefix=/cygdrive/c/GTK/
--with-libIDL-prefix=/cygdrive/d/Mozilla/moztools/
--with-libIDL-exec-prefix=/cygdrive/d/Mozilla/moztools/
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for mawk... (cached) gawk
checking for nsinstall... (cached)
/cygdrive/d/Mozilla/moztools/bin/nsinstall
checking for gcc... (cached) cl
checking whether the C compiler (cl ) works... yes
checking whether the C compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cl accepts -g... (cached) no
checking for c++... (cached) cl
checking whether the C++ compiler (cl ) works... yes
checking whether the C++ compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) no
checking whether cl accepts -g... (cached) no
checking for ranlib... (cached) ranlib
checking for ml... (cached) /cygdrive/c/masm32/bin/ml
checking for ar... (cached) ar
checking for ld... (cached) link
checking for strip... (cached) strip
checking for windres... (cached) windres
checking for midl... (cached) midl
checking for midl flags... none needed
checking how to run the C preprocessor... cl
checking for mmintrin.h... (cached) no
checking how to run the C preprocessor... cl
checking how to run the C++ preprocessor... (cached) /lib/cpp
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for perl5... (cached) /usr/bin/perl
checking for minimum required perl version >= 5.004... 5.008007
checking for full perl installation... yes
checking for doxygen... (cached) :
checking for whoami... (cached) /usr/bin/whoami
checking for autoconf... (cached) :
checking for unzip... (cached) /usr/bin/unzip
checking for zip... (cached) /usr/bin/zip
checking for makedepend... no
checking for xargs... (cached) /usr/bin/xargs
checking for make... (cached) /usr/bin/make
checking for X... (cached) no
checking for 64-bit OS... no
checking for pkg-config... /cygdrive/c/GTK/bin/pkg-config
checking for gtk+-2.0 >= 1.3.7... yes
checking MOZ_GTK2_CFLAGS... -mms-bitfields -IC:/GTK/include/gtk-2.0
-IC:/GTK/lib/gtk-2.0/include -IC:/GTK/include/atk-1.0
-IC:/GTK/include/cairo -IC:/GTK/include/pango-1.0
-I/home/ivan/cross/build/include/cairo -IC:/GTK/include/glib-2.0
-IC:/GTK/lib/glib-2.0/include
checking MOZ_GTK2_LIBS... -LC:/GTK/lib
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
checking for XpGetPrinterList in -lXp... no
checking for gconf-2.0 >= 1.2.1... Package gconf-2.0 was not found in
the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
checking for libgnome-2.0 >= 2.0... Package libgnome-2.0 was not found
in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
configure: warning: Cannot build gnomevfs without required libraries.
Removing gnomevfs from MOZ_EXTENSIONS.
checking for iconv... checking for iconv... (cached) iconv
configure: error: Could not compile basic X program.


can anyone help me on this........
thanks in advance.

Christian Biesinger

unread,
Nov 25, 2006, 9:20:27 AM11/25/06
to
Vin wrote:
> ac_add_options --enable-default-toolkit=gtk2 it is showing errors.

That's not likely to work out of the box. You're on your own here, this
is not a supported configuration.

Vin

unread,
Nov 27, 2006, 1:12:53 AM11/27/06
to

Not a a supported configuration ??
Cant we build mozilla on windows using gtk2??
reason?
any references to this.....?

John Clizbe

unread,
Nov 27, 2006, 3:38:47 PM11/27/06
to dev-b...@lists.mozilla.org
Vin wrote:
> Christian Biesinger wrote:
>> Vin wrote:
>> > ac_add_options --enable-default-toolkit=gtk2 it is showing errors.
>>
>> That's not likely to work out of the box. You're on your own here, this
>> is not a supported configuration.
>
> Not a a supported configuration ??

"Not a supported configuration"
==> Your mileage WILL vary
==> It probably won't work
==> Don't expect much help to make it work

> Cant we build mozilla on windows using gtk2??

You can try. That's the beauty of OpenSource

Here's a page from Google: http://niccolai.falconpl.org/read_blob.php?&news_id=18

You may need to dig in the Google cache to find it

> reason?

Building with gtk|gtk2 is supported on *nix systems
Windows builds rely on the native GUI toolkit

> any references to this.....?

http://developer.mozilla.org/en/docs/Mozilla_Build_FAQ#General_questions
http://developer.mozilla.org/en/docs/Configuring_Build_Options#Graphics_Toolkit

0 new messages