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

Robert Gruber rubbish at utanet.at
Thu May 3 04:01:20 PDT 2012


On 2012-05-03 12:29, Christophe Fergeau wrote:
> 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.

Hello Christophe!

Thank you! An option to build only the spice server (like --enable-server
--disable-client) without these dependancies would be fine!

Kind regards,
Robert




More information about the Spice-devel mailing list