Building Instructions

From Spice

These instructions are for building the SPICE server code, see Building_Instructions/Client for client building instructions.

Contents

Requirements

A little-endian CPU is needed, x86-64 has been the most heavily tested. Big-endian CPUs are not supported.

Intro

These installation instructions assume you will be installing as a regular user. if you are installing as root you do not need to use prefix and it will default to /usr/local.

spice-server is a fairly typical project using autotools except for the use of git submodules.

SRC_ROOT=$HOME/src/spice
INST_ROOT=$HOME/spice
if [ ! -e $SRC_ROOT ]; then mkdir -p $SRC_ROOT; fi
if [ ! -e $INST_ROOT ]; then mkdir -p $INST_ROOT; fi
export PKG_CONFIG_PATH=$INST_ROOT/lib/pkgconfig:$INST_ROOT/share/pkgconfig

Sources

cd $SRC_ROOT
git clone git://cgit.freedesktop.org/spice/spice

Building

cd $SRC_ROOT/spice
./autogen.sh --prefix=$INST_ROOT
make install

To build with smartcard support (not enabled by default):

./autogen.sh --prefix=$INST_ROOT --enable-smartcard

Running

See Running