Version: (using KDE KDE 3.1) Installed from: Compiled From Sources Compiler: gcc-c++-3.2-1mdk OS: Linux Hi! I'm using Mandrake 9.0 (installed are: mozilla-devel-1.1-10mdk mozilla-1.1-10mdk). While configuring kdebindings it does not find the Mozilla development headers: >>>checking for Mozilla development headers... no<<< But in xparts "make" still tries to compile the mozilla part. It fails (see below). The required header file IS available on my computer: /usr/include/mozilla-1.1/gtkembedmoz/gtkmozembed.h Please check the configure-skript so that it does not try to compile xparts/mozilla in case it does not find the specified header-file. Thanks - Volker gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src/kde -I./../src/interfaces -I./../src/gtk -I/home/local/packages/kde-3.1-new/include -I../.. -I/home/local/packages/kde-3.1-new/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -c `test -f 'kmozilla.c' || echo './'`kmozilla.c kmozilla.c:3:25: gtkmozembed.h: No such file or directory kmozilla.c:10: parse error before "GtkMozEmbed" kmozilla.c:10: warning: no semicolon at end of struct or union kmozilla.c:12: parse error before '}' token kmozilla.c:12: warning: ISO C does not allow extra `;' outside of a function kmozilla.c: In function `gtk_kmozilla_get_type': kmozilla.c:56: warning: initialization discards qualifiers from pointer target type kmozilla.c: In function `gtk_kmozilla_init': kmozilla.c:93: warning: declaration of `ext' shadows a global declaration kmozilla.c:11: warning: shadowed declaration is here kmozilla.c:96: sizeof applied to an incomplete type kmozilla.c:102: dereferencing pointer to incomplete type kmozilla.c:107: warning: implicit declaration of function `gtk_moz_embed_new' kmozilla.c:107: warning: assignment makes pointer from integer without a cast kmozilla.c:108: dereferencing pointer to incomplete type kmozilla.c:108: warning: implicit declaration of function `GTK_MOZ_EMBED' kmozilla.c: In function `gtk_kmozilla_destroy': kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c: In function `gtk_kmozilla_set_dcop_client': kmozilla.c:142: warning: passing arg 1 of `gtk_xpart_set_dcop_client' from incompatible pointer type kmozilla.c:143: dereferencing pointer to incomplete type kmozilla.c: In function `open_url': kmozilla.c:152: warning: implicit declaration of function `gtk_moz_embed_load_url' kmozilla.c:152: dereferencing pointer to incomplete type kmozilla.c: In function `close_url': kmozilla.c:159: warning: implicit declaration of function `gtk_moz_embed_stop_load' kmozilla.c:159: dereferencing pointer to incomplete type kmozilla.c: In function `query_extension': kmozilla.c:166: warning: implicit declaration of function `strcmp' kmozilla.c:167: dereferencing pointer to incomplete type kmozilla.c:167: warning: return discards qualifiers from pointer target type kmozilla.c: In function `handle_reload': kmozilla.c:176: warning: implicit declaration of function `gtk_moz_embed_reload' kmozilla.c:176: dereferencing pointer to incomplete type kmozilla.c:172: warning: unused parameter `user_data' kmozilla.c: In function `open_url_request': kmozilla.c:188: dereferencing pointer to incomplete type kmozilla.c:182: warning: unused parameter `obj' make[3]: *** [kmozilla.o] Fehler 1 make[2]: *** [all-recursive] Fehler 1 make[1]: *** [all-recursive] Fehler 1 make: *** [all] Fehler 2
I'm using LFS 4.0 (Linux From Scratch). I have this exact same compile failure. gcc-3.2 kde-3.1 mozilla-1.3a binary install. The missing header (gtkmozembed.h) is in the source distribution of mozilla. Including this header is useless without the associated gtk widget (GtkMozEmbed). I can't figure out how to get the widget without compiling mozilla myself, and I have been unable thus far to compile mozilla-1.3 source baes. kdebindings should check if the mozilla embedded gtk widget is available. If not, it should bypass the compilation of the mozilla component. For reference, here's my compile failure. ----------------------------------------- make[3]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/xpart_notepad' Making all in mozilla make[3]: Entering directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/mozilla' /opt/kde/qt/bin/moc ./kmozillapart.h -o kmozillapart.moc source='kmozillapart.cpp' object='kmozillapart.lo' libtool=yes \ depfile='.deps/kmozillapart.Plo' tmpdepfile='.deps/kmozillapart.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src/kde -I./../src/interfaces -I./../src/gtk -I/opt/kde/include -I../.. -I/opt/kde/include -I/opt/kde/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o kmozillapart.lo `test -f 'kmozillapart.cpp' || echo './'`kmozillapart.cpp /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -o libkmozillapart.la -rpath /opt/kde/lib -module -L/usr/X11R6/lib -L/opt/kde/qt/lib -L/opt/kde/lib kmozillapart.lo ../src/kde/libkdexparts.la source='kmozilla.c' object='kmozilla.o' libtool=no \ depfile='.deps/kmozilla.Po' tmpdepfile='.deps/kmozilla.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../src/kde -I./../src/interfaces -I./../src/gtk -I/opt/kde/include -I../.. -I/opt/kde/include -I/opt/kde/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -c `test -f 'kmozilla.c' || echo './'`kmozilla.c In file included from /usr/local/include/gtk-1.2/gdk/gdktypes.h:33, from /usr/local/include/gtk-1.2/gdk/gdk.h:31, from /usr/local/include/gtk-1.2/gtk/gtk.h:31, from ../../dcopc/util.h:29, from ../../dcopc/marshal.h:30, from ../../dcopc/dcopobject.h:34, from ../src/gtk/gtkpart.h:8, from kmozilla.h:4, from kmozilla.c:1: /usr/local/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit named variadic macros /usr/local/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit named variadic macros /usr/local/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit named variadic macros /usr/local/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named variadic macros kmozilla.c:3:25: gtkmozembed.h: No such file or directory kmozilla.c:10: parse error before "GtkMozEmbed" kmozilla.c:10: warning: no semicolon at end of struct or union kmozilla.c:12: parse error before '}' token kmozilla.c:12: warning: ISO C does not allow extra `;' outside of a function kmozilla.c: In function `gtk_kmozilla_get_type': kmozilla.c:56: warning: initialization discards qualifiers from pointer target type kmozilla.c: In function `gtk_kmozilla_init': kmozilla.c:93: warning: declaration of `ext' shadows a global declaration kmozilla.c:11: warning: shadowed declaration is here kmozilla.c:96: sizeof applied to an incomplete type kmozilla.c:102: dereferencing pointer to incomplete type kmozilla.c:107: warning: implicit declaration of function `gtk_moz_embed_new' kmozilla.c:107: warning: assignment makes pointer from integer without a cast kmozilla.c:108: dereferencing pointer to incomplete type kmozilla.c:108: warning: implicit declaration of function `GTK_MOZ_EMBED' kmozilla.c: In function `gtk_kmozilla_destroy': kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c:135: dereferencing pointer to incomplete type kmozilla.c: In function `gtk_kmozilla_set_dcop_client': kmozilla.c:142: warning: passing arg 1 of `gtk_xpart_set_dcop_client' from incompatible pointer type kmozilla.c:143: dereferencing pointer to incomplete type kmozilla.c: In function `open_url': kmozilla.c:152: warning: implicit declaration of function `gtk_moz_embed_load_url' kmozilla.c:152: dereferencing pointer to incomplete type kmozilla.c: In function `close_url': kmozilla.c:159: warning: implicit declaration of function `gtk_moz_embed_stop_load' kmozilla.c:159: dereferencing pointer to incomplete type kmozilla.c: In function `query_extension': kmozilla.c:166: warning: implicit declaration of function `strcmp' kmozilla.c:167: dereferencing pointer to incomplete type kmozilla.c:167: warning: return discards qualifiers from pointer target type kmozilla.c: In function `handle_reload': kmozilla.c:176: warning: implicit declaration of function `gtk_moz_embed_reload' kmozilla.c:176: dereferencing pointer to incomplete type kmozilla.c:172: warning: unused parameter `user_data' kmozilla.c: In function `open_url_request': kmozilla.c:188: dereferencing pointer to incomplete type kmozilla.c:182: warning: unused parameter `obj' make[3]: *** [kmozilla.o] Error 1 make[3]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1/xparts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/src/kde-3.1/src/tmp/kdebindings-3.1' make: *** [all] Error 2 toshy:root:/opt/kde/src/tmp/kdebindings-3.1# locate gtkmozembed.h: toshy:root:/opt/kde/src/tmp/kdebindings-3.1#
i got it to compile with make CPPFLAGS=-I/usr/include/mozilla-1.3/gtkembedmoz well so far atleast ;) it compiled xparts just fine, havent seen if it runs yet though =) -- mandrake9.1
*** Bug 49072 has been marked as a duplicate of this bug. ***
I hope this bug has been solved in recent version. Is it?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
none of the software mention in this ticket is maintained. kmozilla ? KDE 3.1 ?