Closed GoogleCodeExporter closed 9 years ago
Please post your ./configure output. You might need a newer libxul or
xulrunner-sdk.
Original comment by kdeko...@gmail.com
on 2 Mar 2010 at 3:25
[root@localhost gecko-mediaplayer-0.9.9.2]# yum list xulrunner xulrunner-devel
Loaded plugins: rhnplugin, security
Installed Packages
xulrunner.i386 1.9.0.18-1.el5_4
installed
xulrunner-devel.i386 1.9.0.18-1.el5_4
installed
[root@localhost gecko-mediaplayer-0.9.9.2]#
Original comment by mshr...@snet.net
on 2 Mar 2010 at 1:22
Attachments:
I'm not sure I can support this version of xulrunner anymore. Firefox has really
changed a lot since this version was released. You might try the xulrunner-sdk
method
of compiling and see if that works.
Original comment by kdeko...@gmail.com
on 2 Mar 2010 at 2:00
make[3]: Entering directory
`/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC
-DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"
-DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-I/root/xulrunner-sdk/xulrunner-sdk/include
-I/root/xulrunner-sdk/xulrunner-sdk/include/plugin
-I/root/xulrunner-sdk/xulrunner-sdk/include/nspr
-I/root/xulrunner-sdk/xulrunner-sdk/include/xpcom
-I/root/xulrunner-sdk/xulrunner-sdk/include/string
-I/root/xulrunner-sdk/xulrunner-sdk/include/java -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_GCONF -DMOZILLA_STRICT_API -DXP_UNIX -g
-O2
-MT plugin_types_std.o -MD -MP -MF .deps/plugin_types_std.Tpo -c -o
plugin_types_std.o plugin_types_std.cpp
In file included from plugin_types.h:41,
from plugin_types_std.cpp:38:
plugin.h:42:25: error: npfunctions.h: No such file or directory
make[3]: *** [plugin_types_std.o] Error 1
make[3]: Leaving directory
`/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2'
make: *** [all] Error 2
[root@localhost gecko-mediaplayer-0.9.9.2]#
Original comment by mshr...@snet.net
on 2 Mar 2010 at 5:51
Attachments:
Dont know what version of xulrunner-sdk you have, but it appears to be too old.
I
have tested with 1.9.1.4 and higher
Original comment by kdeko...@gmail.com
on 2 Mar 2010 at 6:01
I have Firefox 3.0.18 - which it considers up to date as check for updates says
No
Updates Found.
---------------------------------------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC
-DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"
-DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-I/root/xulrunner-sdk/xulrunner-sdk/include
-I/root/xulrunner-sdk/xulrunner-sdk/include/plugin
-I/root/xulrunner-sdk/xulrunner-sdk/include/nspr
-I/root/xulrunner-sdk/xulrunner-sdk/include/xpcom
-I/root/xulrunner-sdk/xulrunner-sdk/include/string
-I/root/xulrunner-sdk/xulrunner-sdk/include/java -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread
-I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DHAVE_GCONF -DMOZILLA_STRICT_API -DXP_UNIX -g
-O2
-MT plugin.o -MD -MP -MF .deps/plugin.Tpo -c -o plugin.o plugin.cpp
plugin.cpp:45:27: error: nsIPrefBranch.h: No such file or directory
plugin.cpp:46:28: error: nsIPrefService.h: No such file or directory
plugin.cpp:50: error: expected constructor, destructor, or type conversion
before ‘*’
token
plugin.cpp:51: error: expected constructor, destructor, or type conversion
before ‘*’
token
plugin.cpp: In function ‘void setPreference(CPlugin*, const gchar*, const
gchar*)’:
plugin.cpp:202: error: ‘NS_PREFSERVICE_CONTRACTID’ was not declared in this
scope
plugin.cpp:202: error: ‘::nsIPrefBranch’ has not been declared
plugin.cpp:202: error: expected primary-expression before ‘int’
plugin.cpp:202: error: expected `)' before ‘int’
plugin.cpp:204: error: ‘prefBranch’ was not declared in this scope
plugin.cpp: In function ‘void clearPreference(CPlugin*, const gchar*)’:
plugin.cpp:240: error: ‘NS_PREFSERVICE_CONTRACTID’ was not declared in this
scope
plugin.cpp:240: error: ‘::nsIPrefBranch’ has not been declared
plugin.cpp:240: error: expected primary-expression before ‘int’
plugin.cpp:240: error: expected `)' before ‘int’
plugin.cpp:242: error: ‘prefBranch’ was not declared in this scope
make[3]: *** [plugin.o] Error 1
make[3]: Leaving directory
`/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gecko-mediaplayer/gecko-mediaplayer-0.9.9.2'
make: *** [all] Error 2
[root@localhost gecko-mediaplayer-0.9.9.2]#
--------------------------------------------------------------------------------
-
Using new xulrunner-sdk version: -rw-r--r-- 1 root root 35172898 Mar 2 13:46
xulrunner-1.9.1.7.en-US.linux-i686.sdk.tar.bz2
Note however that the Mozilla website does indicate that:
xulrunner-1.9.0.17.en-US.linux-i686.sdk.tar.bz2 is the correct version of
xulrunner-sdk for Firefox 3.0
--------------------------------------------------------------------------------
--
However I downloaded xulrunner-sdk 1.9.1.7 anyway with the above result.
Original comment by mshr...@snet.net
on 2 Mar 2010 at 7:05
Attachments:
I still think you are compiling against older libraries. Also, Firefox 3.0 is
not
current as 3.6 is the current version.
When running configure use.
./configure --prefix=/usr
--with-xulrunner-sdk=/root/xulrunner-sdk/xulrunner-sdk/sdk
And see if that helps, you can probably do this with the older sdk version as
well.
Original comment by kdeko...@gmail.com
on 2 Mar 2010 at 10:14
Original comment by kdeko...@gmail.com
on 31 May 2011 at 2:41
Original issue reported on code.google.com by
mshr...@snet.net
on 2 Mar 2010 at 1:01