can't compile smart-bookmarks extension and some others
- From: Jean-Claude Tergal <jctergal gmail com>
- To: epiphany-list gnome org
- Subject: can't compile smart-bookmarks extension and some others
- Date: Mon, 9 Feb 2009 10:07:03 +0100
Hi !
When I want to build epiphany extensions, some of them are never
selected : those who have a "mozilla" directory in their source code,
for example smart-bookmarks, select-stylesheet or page-info.
I have manually entered to extensions/smart-bookmarks, and tried to
compile it, but the compilation failed. Here is the error :
-----------------------------------------------------------------
[nico Shuttle smart-bookmarks]$ make -j 2
Making all in mozilla
make[1]: entrant dans le répertoire «
/home/nico/Téléchargement/epiphany-extensions-2.24.3/extensions/smart-bookmarks/mozilla
»
/bin/sh ../../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../.. -I.. -I../../../include -I/.
-I/content -I/docshell -I/dom -I/gtkembedmoz -I/webbrwsr -I/widget
-I/xpcom -DALLOW_PRIVATE_API
-DSHARE_DIR=\"/usr/local/share/epiphany-extensions\"
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED
-DLIBGLADE_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-UGTK_DISABLE_DEPRECATED -DORBIT2=1 -pthread
-I/usr/local/include/epiphany/2.24 -I/usr/include/libxml2
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -g -O2 -Wall
-Wno-unused -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -g -O2 -MT libsbmozilla_la-mozilla-selection.lo
-MD -MP -MF .deps/libsbmozilla_la-mozilla-selection.Tpo -c -o
libsbmozilla_la-mozilla-selection.lo `test -f 'mozilla-selection.cpp'
|| echo './'`mozilla-selection.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I..
-I../../../include -I/. -I/content -I/docshell -I/dom -I/gtkembedmoz
-I/webbrwsr -I/widget -I/xpcom -DALLOW_PRIVATE_API
-DSHARE_DIR=\"/usr/local/share/epiphany-extensions\"
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED
-DLIBGLADE_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-UGTK_DISABLE_DEPRECATED -DORBIT2=1 -pthread
-I/usr/local/include/epiphany/2.24 -I/usr/include/libxml2
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -g -O2 -Wall
-Wno-unused -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -g -O2 -MT libsbmozilla_la-mozilla-selection.lo
-MD -MP -MF .deps/libsbmozilla_la-mozilla-selection.Tpo -c
mozilla-selection.cpp -fPIC -DPIC -o
.libs/libsbmozilla_la-mozilla-selection.o
mozilla-selection.cpp:22:28: erreur: mozilla-config.h : Aucun fichier
ou dossier de ce type
mozilla-selection.cpp:32:25: erreur: nsStringAPI.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:34:25: erreur: gtkmozembed.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:35:34: erreur: gtkmozembed_internal.h : Aucun
fichier ou dossier de ce type
mozilla-selection.cpp:36:22: erreur: nsCOMPtr.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:37:27: erreur: nsIDOMElement.h : Aucun fichier
ou dossier de ce type
mozilla-selection.cpp:38:36: erreur: nsIDOMHTMLInputElement.h : Aucun
fichier ou dossier de ce type
mozilla-selection.cpp:39:39: erreur: nsIDOMHTMLTextAreaElement.h :
Aucun fichier ou dossier de ce type
mozilla-selection.cpp:40:38: erreur: nsIDOMNSHTMLInputElement.h :
Aucun fichier ou dossier de ce type
mozilla-selection.cpp:41:41: erreur: nsIDOMNSHTMLTextAreaElement.h :
Aucun fichier ou dossier de ce type
mozilla-selection.cpp:42:26: erreur: nsIDOMWindow.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:43:26: erreur: nsISelection.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:44:32: erreur: nsIWebBrowserFocus.h : Aucun
fichier ou dossier de ce type
mozilla-selection.cpp:45:27: erreur: nsIWebBrowser.h : Aucun fichier
ou dossier de ce type
mozilla-selection.cpp:46:22: erreur: nsMemory.h : Aucun fichier ou
dossier de ce type
mozilla-selection.cpp:51: erreur: template declaration of 'char* get_selection'
mozilla-selection.cpp:51: erreur: 'nsIDOMElement' was not declared in this scope
mozilla-selection.cpp:51: erreur: 'aElement' was not declared in this scope
mozilla-selection.cpp: In function 'char*
mozilla_get_selected_text(EphyEmbed*)':
mozilla-selection.cpp:82: erreur: 'nsCOMPtr' was not declared in this scope
mozilla-selection.cpp:82: erreur: 'nsIWebBrowser' was not declared in this scope
mozilla-selection.cpp:82: erreur: 'browser' was not declared in this scope
mozilla-selection.cpp:83: erreur: 'GTK_MOZ_EMBED' was not declared in this scope
mozilla-selection.cpp:84: erreur: 'getter_AddRefs' was not declared in
this scope
mozilla-selection.cpp:84: erreur: 'gtk_moz_embed_get_nsIWebBrowser'
was not declared in this scope
mozilla-selection.cpp:85: erreur: 'nsIWebBrowserFocus' was not
declared in this scope
mozilla-selection.cpp:85: erreur: 'do_QueryInterface' was not declared
in this scope
mozilla-selection.cpp:85: erreur: 'focus' was not declared in this scope
mozilla-selection.cpp:86: erreur: 'NS_ENSURE_TRUE' was not declared in
this scope
mozilla-selection.cpp:90: erreur: 'nsIDOMWindow' was not declared in this scope
mozilla-selection.cpp:90: erreur: 'domWindow' was not declared in this scope
mozilla-selection.cpp:94: erreur: 'nsISelection' was not declared in this scope
mozilla-selection.cpp:94: erreur: 'nsSelection' was not declared in this scope
mozilla-selection.cpp:98: erreur: 'PRUnichar' was not declared in this scope
mozilla-selection.cpp:98: erreur: 'selText' was not declared in this scope
mozilla-selection.cpp:98: erreur: 'nsnull' was not declared in this scope
mozilla-selection.cpp:100: erreur: 'nsString' was not declared in this scope
mozilla-selection.cpp:100: erreur: expected `;' before 'text'
mozilla-selection.cpp:102: erreur: 'text' was not declared in this scope
mozilla-selection.cpp:104: erreur: 'nsCString' was not declared in this scope
mozilla-selection.cpp:104: erreur: expected `;' before 'cText'
mozilla-selection.cpp:105: erreur: 'NS_CSTRING_ENCODING_UTF8' was not
declared in this scope
mozilla-selection.cpp:105: erreur: 'cText' was not declared in this scope
mozilla-selection.cpp:105: erreur: 'NS_UTF16ToCString' was not
declared in this scope
mozilla-selection.cpp:107: erreur: 'nsMemory' has not been declared
mozilla-selection.cpp:113: erreur: 'nsIDOMElement' was not declared in
this scope
mozilla-selection.cpp:113: erreur: 'domElement' was not declared in this scope
mozilla-selection.cpp:120: erreur: 'get_selection' was not declared in
this scope
mozilla-selection.cpp:120: erreur: 'nsIDOMNSHTMLTextAreaElement' was
not declared in this scope
mozilla-selection.cpp:121: erreur: 'nsIDOMHTMLTextAreaElement' was not
declared in this scope
mozilla-selection.cpp:125: erreur: 'nsIDOMHTMLInputElement' was not
declared in this scope
mozilla-selection.cpp:125: erreur: 'input' was not declared in this scope
mozilla-selection.cpp:126: erreur: 'text' was not declared in this scope
mozilla-selection.cpp:127: erreur: expected initializer before '*' token
mozilla-selection.cpp:128: erreur: 'str' was not declared in this scope
mozilla-selection.cpp:130: erreur: 'nsIDOMNSHTMLInputElement' was not
declared in this scope
make[1]: *** [libsbmozilla_la-mozilla-selection.lo] Erreur 1
make[1]: quittant le répertoire «
/home/nico/Téléchargement/epiphany-extensions-2.24.3/extensions/smart-bookmarks/mozilla
»
make: *** [all-recursive] Erreur 1
------------------------------------------------------------
It seems the problem has appeared since Mandriva has switched from
firefox-devel to xulrunner (I have xulrunner, lib64xulrunner
lib64xulrunner-devel 1.9.0.5 installed ; epiphany, liferea and others
are compiled against it). Before that, all extensions went fine...
Does anyone know how I can compile them ?
Thank you very much for the help,
Nicolas
(Strasbourg, France)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]