En general, segui las instrucciones de http://spice-space.org/page/Building_Instructions.
La instalación la hice en /usr/local/slice, asi que reemplace "INST_ROOT" por "/usr/local/slice".
Para compilar e instalar el cliente, en un momento hay que ejecutar:
~$ cd $SRC_ROOT/spice
~$ ./autogen.sh --prefix=$INST_ROOT
Pero este ultimo comando me generó un error:
----------------------------------------
(...)
checking for PROTOCOL... no
configure: error: Package requirements (spice-protocol >= 0.6.0) were not met:
No package 'spice-protocol' 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 PROTOCOL_CFLAGS
and PROTOCOL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
----------------------------------------
Esto se solucione usando:
~$ export PKG_CONFIG_PATH="/usr/local/spice/share/pkgconfig:/usr/local/spice/lib/pkgconfig"
~$ ./autogen.sh --prefix=/usr/local/spice
~$ cd client
~$ make install
Y... no funcionó...
----------------------------------------
make[1]: *** No rule to make target `../common/libspice-common.la', needed by `spicec'. Stop.
make[1]: Leaving directory `/mnt/sin_encriptar/src/spice-client-src/spice/client'
make: *** [install] Error 2
make[1]: Leaving directory `/mnt/sin_encriptar/src/spice-client-src/spice/client'
make: *** [install] Error 2
----------------------------------------
Pero, compilando manualmente lo del directorio "common", luego lo de "cliente" funciona:
~$ cd ..
~$ cd common
~$ make install
~$ cd ..
~$ cd client
~$ make install
Y ahora sí!
No hay comentarios:
Publicar un comentario