[ovirt-users] How to install spice-xpi-2.8 on ubuntu12.04?
Zhong Qiang
xiaoqiang3243 at gmail.com
Mon May 12 21:54:50 EDT 2014
Thanks for your answer.
My Ovirt is 3.4.1(Allinone on Centos6.5)
Client OS is ubuntu12.04(Firefox26)
I have tried your method but it doesn't work.I got this error mesg from
adminportal:
Error connecting to Virtual Machine using SPICE:
Internal error (code 1032)
2014-05-12 22:14 GMT+08:00 Nathanaël Blanchet <blanchet at abes.fr>:
> Hi,
> if you want to use spice-xpi with ubuntu, something I use to do is getting
> the latest fedora RPM (for instance :
> http://fedora.xfree.com.ar/linux/releases/20/Everything/x86_64/os/Packages/s/spice-xpi-2.8.90-1.fc20.x86_64.rpm),
> then extract the rpm files with file-roller or in CLI with
>
> rpm2cpio file.rpm | cpio -idmv
>
>
> Then copy /usr/lib64/mozilla/plugins/npSpiceConsole.so into
> /usr/lib/mozilla/plugins/
>
> Don't forget to install spice-client before:
> sudo apt-get install spice-client
>
>
> Le 08/05/2014 12:22, Zhong Qiang a écrit :
>
>
> * cp /usr/lib/moziila/plugins/libnsISpicec.so
> /usr/lib/firefox/browser/plugins/*
> The spice-xpi is recognized by firefox29.But cannot cennect to the VM
> console with user_portal.
>
>
> 2014-05-08 16:47 GMT+08:00 Zhong Qiang <xiaoqiang3243 at gmail.com>:
>
>> firefox29: spice xpi addon was not found
>> ##########################
>> root at user:~/recipe-{debupstream}-0~{revno}# dpkg -L spice-xpi
>> /.
>> /usr
>> /usr/share
>> /usr/share/doc
>> /usr/share/doc/spice-xpi
>> /usr/share/doc/spice-xpi/README
>> /usr/share/doc/spice-xpi/NEWS.gz
>> /usr/share/doc/spice-xpi/changelog.Debian.gz
>> /usr/share/doc/spice-xpi/README.Debian
>> /usr/share/doc/spice-xpi/copyright
>> /usr/share/spice
>> /usr/share/spice/logger.ini
>> /usr/lib
>> /usr/lib/mozilla
>> /usr/lib/mozilla/plugins
>> /usr/lib/mozilla/plugins/libnsISpicec.so
>> /usr/lib/mozilla/plugins/libnsISpicec.la
>> /usr/lib/mozilla/plugins/libnsISpicec.a
>> /usr/lib/mozilla/install.rdf
>>
>>
>>
>> 2014-05-08 16:11 GMT+08:00 Zhong Qiang <xiaoqiang3243 at gmail.com>:
>>
>> Thanks for you help,It worked
>>>
>>>
>>> 2014-05-08 15:16 GMT+08:00 René Koch <rkoch at linuxland.at>:
>>>
>>> If spice-xpi 2.7 is sufficient, you can use these packages:
>>>> https://launchpad.net/~jasonbrooks/+archive/ppa/+packages<https://launchpad.net/%7Ejasonbrooks/+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 at 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 at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>
>>>>>
>>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle exploitation et maintenance
> Département des systèmes d'information
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax 33 (0)4 67 54 84 14blanchet at abes.fr
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140513/7a0794ed/attachment-0001.html>
More information about the Users
mailing list