Closed GoogleCodeExporter closed 9 years ago
Can you try running configure without the -with-xulrunner-sdk parameter and the
CPPFLAGS being set as it appears either you are pointing the files incorrectly
or Mozilla has changed their SDK yet again. It compiles fine on Fedora 19 with
the firefox that ships with it without the --with-xulrunner-sdk option
Original comment by kdeko...@gmail.com
on 15 May 2014 at 3:44
hi
fwiw, my xulrunner-sdk is in the same place it's been for ages, working well --
previously -- with gecko-mediaplayer builds; i'd bet the SDK changed ...
cd src/gecko-mediaplayer
export XULDEV="/usr/local/xulrunner-sdk"
export CPPFLAGS="-I/usr/local/xulrunner-sdk/include -I/usr/include/nspr4"
cd /usr/local/src/gecko-mediaplayer
make distclean
aclocal
./configure
...
checking for catalogs to be installed... cs de es fr ja it nl pl pt pt_BR tr
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GMLIB... yes
checking for GECKO... no
configure: libxul >= 25 not found, trying another
checking for GECKO... no
configure: libxul >= 2.23 not found, trying another
checking for GECKO... no
configure: libxul >= 2 not found, trying another
checking for GECKO... no
configure: libxul >= 1.9.2 not found, trying another
checking for GECKO... no
configure: WARNING: libxul < 1.9.2 not found, trying another
checking for GECKO... no
configure: WARNING: libxul-unstable not found, trying another
checking for GECKO... no
configure: WARNING: mozilla-plugin not found, trying another
checking for GECKO... no
configure: WARNING: firefox-plugin not found, trying another
checking for GECKO... no
configure: seamonkey-plugin >= 2.23 not found, trying another
checking for GECKO... no
configure: WARNING: seamonkey-plugin not found, trying another
checking for GECKO... no
configure: WARNING: xulrunner-plugin not found, trying another
checking for GECKO... no
configure: WARNING: iceape-plugin not found, trying another
checking for GECKO... no
configure: error: npapi-sdk not found, all out of tries
make clean
./configure --with-xulrunner-sdk=${XULDEV}
make
...
CXX memmem_compat.o
CXX plugin_list.o
CXX plugin_setup.o
CXX plugin_dbus.o
CXX np_entry.o
In file included from np_entry.cpp:44:0:
npupp.h:77:26: error: expected ‘)’ before ‘NPP_InitializeUPP’
typedef void (*NP_LOADDS NPP_InitializeUPP) (void);
^
npupp.h:84:26: error: expected ‘)’ before ‘NPP_ShutdownUPP’
typedef void (*NP_LOADDS NPP_ShutdownUPP) (void);
...
make[3]: *** [np_entry.o] Error 1
make[3]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gecko-mediaplayer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gecko-mediaplayer'
make: *** [all] Error 2
Original comment by pgnet.dev
on 16 May 2014 at 1:17
i do NOT use a distro-pkg'd Firefox; never have. i use firefox binaries from
mozilla upstream.
my setup has-been/is
firefox installed in /usr/local/firefox
xulrunner installed in /usr/local/xulrunner
xulrunner-sdl installed in /usr/local/xulrunner-sdk
Original comment by pgnet.dev
on 16 May 2014 at 1:29
atm, here
/usr/local/firefox/firefox --version
Mozilla Firefox 30.0
/usr/local/xulrunner/xulrunner --version
Mozilla XULRunner 30.0 - 20140512231802
/usr/local/xulrunner-sdk/bin/xulrunner --version
Mozilla XULRunner 30.0 - 20140512231802
Original comment by pgnet.dev
on 16 May 2014 at 1:39
My workaround is building it with xulrunner 29.0.
Since my OS is Ubuntu 14.04, there's no "libxul-dev" but "firefox-dev" instead.
1. use "dpkg -i --ignore-depends=firefox firefox-dev_29.0***.deb"
to prevent conflict with my current installed Firefox 30.0
2. I build the deb based on gecko-mediaplayer-1.0.8*** in official repository
3. after building, I purge all the building dependencies including firefox-dev
4. install it and running on Firefox 30.0 now. No problem so far.
Original comment by e.cwch...@gmail.com
on 6 Jun 2014 at 10:01
Attachments:
Please try to fix this. gecko-mediaplayer no longer can build in ubuntu because
of this
Original comment by doak.jackson@gmail.com
on 14 Jun 2014 at 7:29
I have tried to fix this issue and the amount of work needed is significant as
they appear to have changed the API. It seems to affect Firefox 30 and higher.
Because of the dislike of plugins from Mozilla and the conversion of most
websites to either HTML 5 audio and video or to Flash media. I might just end
up letting gecko-mediaplayer stay where it is as I do not have the time or the
motivation to fix this.
I will accept patches to the code if anyone is willing to take on this project
to make the code work with Firefox 30 and beyond.
Original comment by kdeko...@gmail.com
on 17 Jun 2014 at 7:37
debian has a patch available to work around the ftbfs.
http://packages.qa.debian.org/g/gecko-mediaplayer.html
Original comment by doak.jackson@gmail.com
on 20 Jun 2014 at 3:17
I have merged in the patch from Debian. I was able to compile cleanly with with
following command line to configure.
CFLAGS=-std=c++11 CXXFLAGS=-std=c++11 ./configure
--with-xulrunner-sdk=/home/kdekorte/Downloads/xulrunner-sdk
Original comment by kdeko...@gmail.com
on 23 Jun 2014 at 2:03
Original issue reported on code.google.com by
pgnet.dev
on 15 May 2014 at 2:20