Closed Bug 177185 Opened 23 years ago Closed 23 years ago

--disable-accessibility and GTK2 doesn't play along well...

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 176556

People

(Reporter: vhoel99, Assigned: blizzard)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021028 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021028 When trying to compile Mozilla 1.2b with the following variables: MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 MOZ_INTERNAL_LIBART_LGPL=1 MOZ_CALENDAR=0 and these options: ac_add_options --with-pthreads ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-mailnews ac_add_options --disable-ldap ac_add_options --disable-xft ac_add_options --enable-crypto ac_add_options --enable-xinerama ac_add_options --disable-accessibility ac_add_options --enable-plaintext-editor-only ac_add_options --disable-composer ac_add_options --enable-svg ac_add_options --disable-installer ac_add_options --disable-activex ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-dtd-debug ac_add_options --disable-logging ac_add_options --with-default-mozilla-five-home=/usr/local/mozilla ac_add_options --enable-cpp-rtti ac_add_options --enable-cpp-exceptions a make would give: make[4]: Entering directory `/home/sitron/tmp/mozilla/widget/src/gtk2' nsAccessibilityInterface.cpp c++ -o nsAccessibilityInterface.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DUSE_XIM -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/gfx -I../../../dist/include/pref -I../../../dist/include/dom -I../../../dist/include/accessibility -I../../../dist/include/necko -I../../../dist/include/xremoteservice -I../../../dist/include/widget -I../../../dist/include -I/home/sitron/tmp/mozilla/dist/include/nspr -I./../xpwidgets -I/usr/X11R6/include -fPIC -O3 -march=athlon-xp -mcpu=athlon-xp -falign-functions=6 -mpreferred-stack-boundary=2 -I/usr/X11R6/include -frtti -fexceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -O3 -march=athlon-xp -mcpu=athlon-xp -falign-functions=6 -mpreferred-stack-boundary=2 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O3 -march=athlon-xp -mcpu=athlon-xp -falign-functions=6 -mpreferred-stack-boundary=2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsAccessibilityInterface.pp nsAccessibilityInterface.cpp cc1plus: warning: changing search order for system directory "/usr/local/include" cc1plus: warning: as it has already been specified as a non-system directory In file included from nsAccessibilityInterface.cpp:49: nsAccessibilityInterface.h:45:27: nsIAccessible.h: No such file or directory make[4]: *** [nsAccessibilityInterface.o] Error 1 make[4]: Leaving directory `/home/sitron/tmp/mozilla/widget/src/gtk2' Reproducible: Always Steps to Reproduce: 1. 2. 3. This patch fixes the problem: RCS file: /cvsroot/mozilla/widget/src/gtk2/Makefile.in,v retrieving revision 1.20 diff -u -r1.20 Makefile.in --- mozilla/widget/src/gtk2/Makefile.in 29 Sep 2002 04:51:14 -0000 1.20 +++ mozilla/widget/src/gtk2/Makefile.in 28 Oct 2002 17:11:30 -0000 @@ -25,10 +25,8 @@ include $(DEPTH)/config/autoconf.mk -# build our subdirs, too -ifdef ACCESSIBILITY -DIRS = mai -endif +DIRS = \ + $(NULL) MODULE = widget LIBRARY_NAME = widget_gtk2 @@ -40,9 +38,8 @@ gfx \ pref \ dom \ - accessibility \ necko \ - xremoteservice + $(NULL) CSRCS = \ mozcontainer.c \ @@ -64,7 +61,6 @@ nsClipboard.cpp \ nsDragService.cpp \ nsSound.cpp \ - nsAccessibilityInterface.cpp \ nsGConfInterface.cpp \ $(NULL) @@ -92,6 +88,16 @@ INCLUDES += \ -I$(srcdir)/../xpwidgets \ $(NULL) + +ifdef ACCESSIBILITY +# build our subdirs, too +DIRS += mai +REQUIRES += accessibility +CPPSRCS += nsAccessibilityInterface.cpp +endif +ifdef MOZ_ENABLE_XREMOTE +REQUIRES += xremoteservice +endif test_container: mozdrawingarea.o mozcontainer.o test_container.c $(CC) $(MOZ_GTK2_CFLAGS) -o test_container test_container.c \
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch
*** This bug has been marked as a duplicate of 176556 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: