Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to compile qemu 1.3 with ubuntu 12.04 with spice enabled, I get this error:

ERROR: User requested feature spice
ERROR: configure was not able to find it

I have read around and it seems I should edit pkg config path? I am running ubuntu, I tried changing pkg config but I am

share|improve this question
up vote 2 down vote accepted

You need to install spice-protocol first. Unfortunately (atleast on 12.10) it is not available in the main repositories, so you will have to download and compile it:

tar -xjf spice-protocol-0.12.3.tar.bz2
cd spice-protocol*
sudo make install

If you prefer you can use git:

git clone git://

If you have build-essentail installed, the compilation should go without any problem.

After this just proceed to the compilation of qemu enabling spice, passing --enable-spice to configure:

./configure --enable-spice
# make & make install

Hope this helps.

share|improve this answer
I have both installed spice-protocol and spice server: pkg-config spice-protocol --modversion 0.12.3 pkg-config spice-server --modversion 0.12.2 – user1640204 Dec 21 '12 at 15:53
what is the output of pkg-config --cflags spice-protocol spice-server? – Salem Dec 21 '12 at 16:14
I didn't have the latest spice, so I installed it and now it is working – user1640204 Dec 22 '12 at 17:23
@user1640204 If this solved your problem please mark it as solved. – Salem Jul 28 '14 at 15:05

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.