[Spice-devel] Compile Spice Server without GUI / X

Christophe Fergeau cfergeau at redhat.com
Thu May 3 03:29:30 PDT 2012


Hey,

On Thu, May 03, 2012 at 04:47:08AM +0200, Robert Gruber wrote:
> Hello!
> 
> How do I compile a spice server on linux x86_64 without any GUI/X support ?
> 
> I always get the follwing error when I do a ./configure like described in
> the README file:
> 
> ---
> checking for XRANDR... no
> configure: error: Package requirements (xrandr) were not met:
> 
> No package 'xrandr' 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 XRANDR_CFLAGS
> and XRANDR_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> ---
> 
> The README file tells that XRandR is an optional dependancy:
> XRandR         >= 1.2               (X11 support)
> 
> How can I disable GUI/X ?

Ah this is required to build the client, the server does not need it at
all. Unfortunately this seems to be non-optional even if you are not
interested in building the client :-/ But if you install these packages to
satisfy the requirements, the resulting spice-server library will not use
xrandr.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120503/6db00b5d/attachment.pgp>


More information about the Spice-devel mailing list