title: How to install spice-server correctly in CentOS 7 with the source codes?
body: <p>I met a problem when I try to install QEMU with spice support. </p>
  
  <p>It works well if I install spice-server with <code>yum</code>. In this case when I type <code>./configure --enable-spice</code> in root directory of QEMU's source codes, the spice-server can be detected correctly.</p>
  
  <p>But now I want to install spice-server by compiling its source codes, cause I have some work to do with it.</p>
  
  <p>I tried <code>./configure; make; make install</code> and <code>./configure --prefix=/usr; make; make install</code>. QEMU couldn't find spice-server installed in neither way. I just got </p>
  
  <blockquote>
    <p>ERROR: User requested feature spice
          configure was not able to find it.
          Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel</p>
  </blockquote>
  
  <p>returned.</p>
  
  <p>I don't have this problem in ubuntu, I don't know how to fix it in a CentOS server. Does anybody have a solution?</p>