2014年02月11日 gecko-mediaplayer-1.0.8 with gecko-sdk-25.0.1 [長年日記]
_ gecko-mediaplayer-1.0.8 with gecko-sdk-25.0.1
I have built gecko-mediaplayer-1.0.8 with gecko-sdk-25.0.1 ;)
gmtk-1.0.8.tar.gz
$ tar xvvf gmtk-1.0.8.tar.gz $ cd gmtk-1.0.8 $ ./configure && make # make install && ldconfig
gnome-mplayer-1.0.8.tar.gz
$ tar xvvf gnome-mplayer-1.0.8.tar.gz $ cd gnome-mplayer-1.0.8 $ ./configure && make # make install && ldconfig
gecko-mediaplayer-1.0.8.tar.gz
$ tar xvvf gecko-mediaplayer-1.0.8.tar.gz $ cd gecko-mediaplayer-1.0.8 $ ./configure --with-xulrunner-sdk=/usr/local/gecko-sdk-25.0.1/sdk $ make
Oh! I got error :(
In file included from /usr/local/gecko-sdk-25.0.1/sdk/include/nsISupportsImpl.h:33:0, from /usr/local/gecko-sdk-25.0.1/sdk/include/nsISupportsUtils.h:26, from /usr/local/gecko-sdk-25.0.1/sdk/include/nsISupports.h:123, from /usr/local/gecko-sdk-25.0.1/sdk/include/nsIPrefBranch.h:10, from plugin.cpp:49: /usr/local/gecko-sdk-25.0.1/sdk/include/mozilla/Atomics.h:840:19: error: expected identifier before 'sizeof' /usr/local/gecko-sdk-25.0.1/sdk/include/mozilla/Atomics.h:840:19: error: expected ',' or '...' before 'sizeof' /usr/local/gecko-sdk-25.0.1/sdk/include/mozilla/Atomics.h:841:83: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] make[3]: *** [plugin.o] Error 1 make[3]: Leaving directory `/home/m-ito/tmp/gecko-mediaplayer-1.0.8/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/m-ito/tmp/gecko-mediaplayer-1.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/m-ito/tmp/gecko-mediaplayer-1.0.8' make: *** [all] Error 2
I tried another config...
$ CXXFLAGS="-std=gnu++0x" ./configure --with-xulrunner-sdk=/usr/local/gecko-sdk-25.0.1/sdk $ make # make install && ldconfig
Build has done with success :)