After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158456 - devhelp CVS won't build against mozilla 1.7.3/firefox 1.0
devhelp CVS won't build against mozilla 1.7.3/firefox 1.0
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Mikael Hallendal
Mikael Hallendal
Depends on:
Blocks:
 
 
Reported: 2004-11-16 14:06 UTC by Stephane Loeuillet
Modified: 2005-06-19 10:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
src/Makefile.am patch (872 bytes, patch)
2005-03-25 10:31 UTC, Peter
none Details | Review
Use this patch. (529 bytes, patch)
2005-04-08 15:26 UTC, Peter
none Details | Review

Description Stephane Loeuillet 2004-11-16 14:06:39 UTC
current CVS won't build :

checking which mozilla to use... mozilla
checking for mozilla-gtkmozembed >= 1.7 mozilla-xpcom >= 1.7... yes
checking MOZILLA_COMPONENT_CFLAGS... -I/usr/lib/mozilla/include/gtkembedmoz
-I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/nspr
checking MOZILLA_COMPONENT_LIBS... -L/usr/lib/mozilla -lgtkembedmoz -lxpcom
-lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking for compiler -fshort-wchar option... yes
checking whether nsIFilePicker methods expect nsAString&... no
checking whether nsIMIMEInfo methods expect nsAString&... no
checking for nsIXULChromeRegistry API... no
checking for /usr/lib/mozilla/include/chrome/nsIChromeRegistrySea.h... no

...

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..
-DGNOMELOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share\"
-DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\"
-DLIBDIR=\"/usr/lib\" -DDTD_DIR=\"/usr/share/devhelp/dtd\"
-DGLADEDIR=\"/usr/share/devhelp\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2
-I/usr/include/libglade-2.0 -I/usr/lib/mozilla/include/gtkembedmoz
-I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include
-I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/dom
-I/usr/lib/mozilla/include/find -I/usr/lib/mozilla/include/locale
-I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/gfx
-DALLOW_PRIVATE_API -DMOZILLA_HOME=\"/usr/lib/mozilla\" -include
/usr/lib/mozilla/include/mozilla-config.h -ggdb -O0 -Wall -Wno-uninitialized
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-sign-compare -MT dh-html.lo -MD -MP -MF .deps/dh-html.Tpo
-c dh-html.c -o dh-html.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\"/usr/share\"
-DPREFIX="\"/usr"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\"
-DLIBDIR=\""/usr/lib"\" -DDTD_DIR="\"/usr/share/devhelp/dtd"\"
-DGLADEDIR=\"/usr/share/devhelp\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2
-I/usr/include/libglade-2.0 -I/usr/lib/mozilla/include/gtkembedmoz
-I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/nspr   -I/usr/lib/mozilla/include
-I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/dom
-I/usr/lib/mozilla/include/find -I/usr/lib/mozilla/include/locale
-I/usr/lib/mozilla/include/webbrwsr -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/gfx
-DALLOW_PRIVATE_API -DMOZILLA_HOME=\""/usr/lib/mozilla\"" -include
/usr/lib/mozilla/include/mozilla-config.h     -ggdb -O0 -Wall -Wno-uninitialized
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-sign-compare -MT dh-keyword-model.lo -MD -MP -MF
".deps/dh-keyword-model.Tpo" \
  -c -o dh-keyword-model.lo `test -f 'dh-keyword-model.c' || echo
'./'`dh-keyword-model.c; \
then mv -f ".deps/dh-keyword-model.Tpo" ".deps/dh-keyword-model.Plo"; \
else rm -f ".deps/dh-keyword-model.Tpo"; exit 1; \
fi
dh-gecko-utils.cpp:32:30: nsIWindowWatcher.h: No such file or directory
dh-gecko-utils.cpp:33:26: nsIIOService.h: No such file or directory
dh-gecko-utils.cpp:36:20: nsIURI.h: No such file or directory
make[3]: *** [dh-gecko-utils.lo] Erreur 1
make[3]: *** Attente des tâches non terminées....

those headers are installed here for me :
/usr/lib/mozilla/include/windowwatcher/nsIWindowWatcher.h
/usr/lib/mozilla/include/necko/nsIIOService.h
/usr/lib/mozilla/include/necko/nsIURI.h
Comment 1 Peter 2005-03-25 10:31:44 UTC
Created attachment 39237 [details] [review]
src/Makefile.am patch

Hello.

I'm not developer, but this patch may help you.

And rerun autotools, after applying it.
Comment 2 Mikael Hallendal 2005-03-30 19:22:02 UTC
Thanks for the patch Peter.

Stephane did it help?
Comment 3 Peter 2005-04-08 15:26:23 UTC
Created attachment 39839 [details] [review]
Use this patch.

Mikael.

The first patch was workaround. I've found better sollution in gentoo
distribution (in files dirrectory of devhelp ebuild). Applied patch helps to
avoid this errors also, but this second solution is much more clean!

I've checked and can report clean compilation against mozilla and against
firefox.

BTW. Many people in gentoo may use devhelp, and everybody have this patch
applied so at least in gentoo it's working...
Comment 4 Mikael Hallendal 2005-06-19 10:18:43 UTC
Thanks, commited to CVS.