How to install spice-xpi-2.8 on ubuntu12.04?

*when i complie spice-xpi-2.8 on ubuntu12.04 with firefox29,i receive this error:* ################################################################################################ root@user:~/src/spice-xpi-2.8# make make all-recursive make[1]: Entering directory `/root/src/spice-xpi-2.8' Making all in SpiceXPI make[2]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI' Making all in src make[3]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src' Making all in plugin make[4]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' GEN nsISpicec.xpt make all-am make[5]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' CXX libnsISpicec_la-controller.lo controller.cpp: In destructor 'SpiceController::~SpiceController()': controller.cpp:73:5: warning: format not a string literal and no format arguments [-Wformat-security] CXX libnsISpicec_la-np_entry.lo CXX libnsISpicec_la-npn_gate.lo CXX libnsISpicec_la-npp_gate.lo CXX libnsISpicec_la-nsScriptablePeer.lo In file included from nsScriptablePeer.cpp:54:0: /root/src/xulrunner-sdk/include/nsError.h:186:14: error: expected constructor, destructor, or type conversion before '(' token /root/src/xulrunner-sdk/include/nsError.h:188:14: error: expected constructor, destructor, or type conversion before '(' token make[5]: *** [libnsISpicec_la-nsScriptablePeer.lo] Error 1 make[5]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[4]: *** [all] Error 2 make[4]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/spice-xpi-2.8' make: *** [all] Error 2 ############################################################################################# *Any help is greatly appreciated. Thank you*

If spice-xpi 2.7 is sufficient, you can use these packages: https://launchpad.net/~jasonbrooks/+archive/ppa/+packages Regards, René On 05/08/2014 07:22 AM, Zhong Qiang wrote:
*when i complie spice-xpi-2.8 on ubuntu12.04 with firefox29,i receive this error:* ################################################################################################ root@user:~/src/spice-xpi-2.8# make make all-recursive make[1]: Entering directory `/root/src/spice-xpi-2.8' Making all in SpiceXPI make[2]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI' Making all in src make[3]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src' Making all in plugin make[4]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' GEN nsISpicec.xpt make all-am make[5]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' CXX libnsISpicec_la-controller.lo controller.cpp: In destructor 'SpiceController::~SpiceController()': controller.cpp:73:5: warning: format not a string literal and no format arguments [-Wformat-security] CXX libnsISpicec_la-np_entry.lo CXX libnsISpicec_la-npn_gate.lo CXX libnsISpicec_la-npp_gate.lo CXX libnsISpicec_la-nsScriptablePeer.lo In file included from nsScriptablePeer.cpp:54:0: /root/src/xulrunner-sdk/include/nsError.h:186:14: error: expected constructor, destructor, or type conversion before '(' token /root/src/xulrunner-sdk/include/nsError.h:188:14: error: expected constructor, destructor, or type conversion before '(' token make[5]: *** [libnsISpicec_la-nsScriptablePeer.lo] Error 1 make[5]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[4]: *** [all] Error 2 make[4]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/spice-xpi-2.8' make: *** [all] Error 2 ############################################################################################# *Any help is greatly appreciated. Thank you*
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Qiang, you should be able to rebuild debian spice-xpi package: https://packages.debian.org/source/spice-xpi That should give you working spice-xpi with least effort. David On Čt, 2014-05-08 at 13:22 +0800, Zhong Qiang wrote:
when i complie spice-xpi-2.8 on ubuntu12.04 with firefox29,i receive this error: ################################################################################################ root@user:~/src/spice-xpi-2.8# make make all-recursive make[1]: Entering directory `/root/src/spice-xpi-2.8' Making all in SpiceXPI make[2]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI' Making all in src make[3]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src' Making all in plugin make[4]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' GEN nsISpicec.xpt make all-am make[5]: Entering directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' CXX libnsISpicec_la-controller.lo controller.cpp: In destructor 'SpiceController::~SpiceController()': controller.cpp:73:5: warning: format not a string literal and no format arguments [-Wformat-security] CXX libnsISpicec_la-np_entry.lo CXX libnsISpicec_la-npn_gate.lo CXX libnsISpicec_la-npp_gate.lo CXX libnsISpicec_la-nsScriptablePeer.lo In file included from nsScriptablePeer.cpp:54:0: /root/src/xulrunner-sdk/include/nsError.h:186:14: error: expected constructor, destructor, or type conversion before '(' token /root/src/xulrunner-sdk/include/nsError.h:188:14: error: expected constructor, destructor, or type conversion before '(' token make[5]: *** [libnsISpicec_la-nsScriptablePeer.lo] Error 1 make[5]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[4]: *** [all] Error 2 make[4]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src/plugin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/src/spice-xpi-2.8/SpiceXPI' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/spice-xpi-2.8' make: *** [all] Error 2 #############################################################################################
Any help is greatly appreciated. Thank you _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
David Jaša
-
René Koch
-
Zhong Qiang