Closed
Bug 251703
Opened 20 years ago
Closed 20 years ago
Build failure; trying to use absent gconf/gnome
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adam, Assigned: bryner)
References
Details
Attachments
(1 file)
2.39 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
This compile error started happening during my aviary branch builds today: g++31 -o nsGConfService.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DHAVE_DEP ENDENT_LIBS -I../../../dist/include/xpcom -I../../../dist/include/string -I../.. /../dist/include/necko -I../../../dist/include/mozgnome -I../../../dist/include -I/snout/firefoxsrc/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/ usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith - Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual -dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED - O2 -march=k6-2 -mcpu=athlon -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../.. /../mozilla-config.h -Wp,-MD,.deps/nsGConfService.pp nsGConfService.cpp nsGConfService.h:43:32: gconf/gconf-client.h: No such file or directory nsGConfService.h:60: syntax before `*' token nsGConfService.h: In constructor `nsGConfService::nsGConfService()': nsGConfService.h:54: class `nsGConfService' does not have any field named ` mClient' nsGConfService.cpp:43:32: gconf/gconf-client.h: No such file or directory nsGConfService.cpp: In destructor `nsGConfService::~nsGConfService()': nsGConfService.cpp:47: `mClient' undeclared each function it appears in.) nsGConfService.cpp:48: `g_object_unref' undeclared nsGConfService.cpp: In member function `nsresult nsGConfService::Init()': nsGConfService.cpp:54: `gconf_client_get_default' undeclared (first use this function) nsGConfService.cpp: In member function `virtual nsresult nsGConfService::GetBool(const nsACString&, PRBool*)': nsGConfService.cpp:63: `G' undeclared etc etc. Clearly it's trying to use 'gconf', though I'm not sure what that is. I don't have 'gconf'. There doesn't seem to be a configure option for avoiding 'gconf' usage.
Reporter | ||
Comment 1•20 years ago
|
||
Still broken. :)
Summary: Build failure; trying to use absent gnome → Build failure; trying to use absent gconf/gnome
Assignee | ||
Comment 2•20 years ago
|
||
Always export the GNOME interfaces for gtk2, but only build the component if the prerequisite libraries are available.
Assignee | ||
Updated•20 years ago
|
Attachment #153530 -
Flags: superreview?(darin)
Attachment #153530 -
Flags: review?(darin)
Assignee | ||
Comment 3•20 years ago
|
||
Just realized I forgot to include config/autoconf.mk.in in the patch: @@ -172,6 +172,8 @@ MOZ_GCONF_LIBS = @MOZ_GCONF_LIBS@ MOZ_LIBGNOME_CFLAGS = @MOZ_LIBGNOME_CFLAGS@ MOZ_LIBGNOME_LIBS = @MOZ_LIBGNOME_LIBS@ +MOZ_ENABLE_GNOME_COMPONENT = @MOZ_ENABLE_GNOME_COMPONENT@ + MOZ_INSURE = @MOZ_INSURE@ MOZ_INSURIFYING = @MOZ_INSURIFYING@ MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@
Comment 4•20 years ago
|
||
(In reply to comment #3) + if test "$MOZ_ENABLE_GTK2" -a "$MOZ_ENABLE_GCONF" -a \ + "$MOZ_ENABLE_GNOMEVFS" -a "$MOZ_ENABLE_LIBGNOME"; then + MOZ_ENABLE_GNOME_COMPONENT=1 + else + MOZ_ENABLE_GNOME_COMPONENT=1 + fi should be: + else + MOZ_ENABLE_GNOME_COMPONENT=0 + fi :-)
Comment 5•20 years ago
|
||
(In reply to comment #4) > should be: > > + else > + MOZ_ENABLE_GNOME_COMPONENT= > + fi Builds fine after that...
Comment 6•20 years ago
|
||
*** Bug 251872 has been marked as a duplicate of this bug. ***
Comment 7•20 years ago
|
||
Comment on attachment 153530 [details] [diff] [review] patch don't you also need to add MOZ_ENABLE_GNOME_COMPONENT to autoconf.mk.in?
Comment 8•20 years ago
|
||
Comment on attachment 153530 [details] [diff] [review] patch r+sr=darin w/ the autoconf.mk.in changes and the fix to the else clause in configure.in
Attachment #153530 -
Flags: superreview?(darin)
Attachment #153530 -
Flags: superreview+
Attachment #153530 -
Flags: review?(darin)
Attachment #153530 -
Flags: review+
Assignee | ||
Comment 9•20 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•