Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Im trying to install spice-xpi for ubuntu 12.04. Found a ppa, but it crashes... trying to compile from source but got stop at ./configure :

checking for XUL... no configure: error: Package requirements (libxul-embedding >= 1.9 nspr >= 4.7.1) were not met:

No package 'libxul-embedding' found No package 'nspr' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables XUL_CFLAGS and XUL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

Couldnt find package or directorypath that would provide me this libraries

Any help much apreciate it.


share|improve this question
To be honest, spice lags in Debian/Ubuntu and I have personally tended to find if buggy. One of the major reasons I switched to Fedora. You may find a solution here ubuntuforums.org/showthread.php?t=1960416 . My suggestion would be to download the spice .rpm, extract it, and move the files to the appropriate location on your system (see post 6 on that thread). See also askubuntu.com/questions/52230/how-do-i-extract-a-rpm-file. If you prefer, that thread also has instructions for where to find dependencies and then compile (see post 5). Hope one of those options works for you. –  bodhi.zazen Jan 17 at 20:29
If you can confirm what solution works for you I can convert your solution into an answer. –  bodhi.zazen Jan 17 at 20:31
Hi thanks for your comments... Already tested extractin the rpm contents and place them accordingly, but it didnt work. Try alien also, but nope. thats why i am trying to compile it from source, i dont want to switch to fedora but seems i would have to :(, thanks. –  ProfeDiego Jan 17 at 20:57
I understand completely, been running kvm/spice for years. You might try an earlier version of spice. alien is not going to help as it does the same thing as a manual extraction. –  bodhi.zazen Jan 17 at 21:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.