Now uploaded to MediaFire:
http://www.mediafire.com/file/34ja1bxcudiys3s/spicec.tar.gz
Enjoy!
If you want build yourself follow this procedure:
>From version
10.0, Spice provides support for 32-bit systems.
The option:
--enable-static-linkage predisposes the Makefile to compile static
client.
Now we have to prepare the build environment to run the
command:
./configure --disable-gui --enable-client
--enable-static-linkage --disable-shared --enable-static --enable-tunnel
--enable-smartcard
Spice requires a newer version of gcc that
available for Ubuntu 6.06
My solution was the cross compilation: I
chose Fedora 14.
1 - A clean install of Fedora 14
2 - Download all
needed libs and protos from...
http://www.x.org/releases/individual/lib/ [1]
http://www.x.org/releases/individual/proto/ [2]
http://spice-space.org/download.html [3] (libacard)
http://spice-space.org/page/Repositories [4] (slirp)
etc.
[root@spice-dev downloads]# ls
alsa-lib-1.0.24.1.tar.bz2
autoconf-2.68.tar.gz libxslt-1.1.26.tar.gz
automake-1.11.1.tar.gz
m4-1.4.6.tar.bz2
celt-0.5.1.3.tar.gz openssl-1.0.0e.tar.gz
cyrus-sasl-2.1.25.tar.gz pixman-0.24.0.tar.gz
fixesproto-5.0.tar.bz2
pkg-config-0.26.tar.gz
fixesproto-5.0.tar.bz2.1
renderproto-0.11.tar.bz2
glproto-1.4.14.tar.bz2 slirp.tar.bz2
inputproto-1.5.1.tar.bz2 spice-0.10.0.tar.bz2
jpegsrc.v6b.tar.gz
spice-gtk-0.7.159.tar.bz2
kbproto-1.0.5.tar.bz2
spice-protocol-0.10.0.tar.bz2
libcacard-0.1.0.tar.bz2
util-macros-1.16.0.tar.bz2
libgsasl-1.6.1.tar.gz xcb-proto-1.6.tar.gz
libpthread-stubs-0.3.tar.bz2 xextproto-7.2.0.tar.bz2
libtool-2.4.2.tar.gz xproto-7.0.22.tar.bz2
libX11-1.4.4.tar.bz2
xrandr-xrandr-1.3.5.tar.bz2
libXau-1.0.6.tar.bz2 xtrans-1.2.6.tar.bz2
libxcb-1.7.tar.bz2
libXdmcp-1.1.0.tar.bz2
libXext-1.3.0.tar.bz2
libXfixes-5.0.tar.bz2
libXpm-3.5.9.tar.bz2
libXrandr-1.3.2.tar.bz2
libXrender-0.9.6.tar.bz2
3 - untar all packages
4 - export env vars
export SPICEDIR="/root/spice-0.10.0"
export
PROTOCOL_CFLAGS=$SPICEDIR'/proto/spice-protocol-0.10.0'
export
PROTOCOL_LIBS='-I'$SPICEDIR'/proto/spice-protocol-0.10.0'
export
XRANDR_CFLAGS=$SPICEDIR'/proto/xproto-7.0.22'
export
XRANDR_LIBS='-I'$SPICEDIR'/proto/xproto-7.0.22'
export
RENDER_CFLAGS=$SPICEDIR'/proto/renderproto-0.11'
export
RENDER_LIBS='-I'$SPICEDIR'/proto/renderproto-0.11'
export
XCBPROTO_CFLAGS=$SPICEDIR'/proto/xcb-proto-1.6'
export
XCBPROTO_LIBS='-I'$SPICEDIR'/proto/xcb-proto-1.6'
export
LDFLAGS=-static-libgcc
export LIBS='-lpixman-1 -lcelt051 -lssl -lcrypto
-lz -lX11 -lXext -lXrandr -lXrender -lXfixes -lxcb -lXau -lXdmcp -lXpm
-lsasl2 -ldl -lasound'
export SLIRP_CFLAGS='-I'$SPICEDIR'/libs/slirp';
export SLIRP_LIBS='-L'$SPICEDIR'/libs/slirp/.libs/libslirp.a';
export
PIXMAN_CFLAGS='-I'$SPICEDIR'/libs/pixman-0.24.0/pixman';
export
PIXMAN_LIBS='-L'$SPICEDIR'/libs/pixman-0.24.0/pixman/.libs/libpixman-1.a';
export CELT051_CFLAGS='-I'$SPICEDIR'/libs/celt-0.5.1.3';
export
CELT051_LIBS='-L'$SPICEDIR'/libs/celt-0.5.1.3/libcelt/.libs/libcelt051.a';
export ALSA_CFLAGS='-I'$SPICEDIR'/libs/alsa-lib-1.0.24.1/include';
export
ALSA_LIBS='-L'$SPICEDIR'/libs/alsa-lib-1.0.24.1/src/.libs/libasound.a';
export SSL_CFLAGS='-I'$SPICEDIR'/libs/openssl-1.0.0e/include';
export
SSL_LIBS='-L'$SPICEDIR'/libs/openssl-1.0.0e/libcrypto.a
-L'$SPICEDIR'/libs/openssl-1.0.0e/libssl.a';
export
X11_CFLAGS='-L'$SPICEDIR'/proto/xproto-7.0.22
-L'$SPICEDIR'/proto/xextproto-7.2.0 -L'$SPICEDIR'/proto/xcb-proto-1.6
-L'$SPICEDIR'/proto/kbproto-1.0.5 -L'$SPICEDIR'/proto/inputproto-1.5.1
-L'$SPICEDIR'/libs/libxcb-1.7';
export
X11_LIBS='-L'$SPICEDIR'/libs/libxcb-1.7/src/.libs/libxcb.a
-L'$SPICEDIR'/libs/libXau-1.0.6/.libs/libXau.a';
export
XEXT_CFLAGS='-I'$SPICEDIR'/proto/xproto-7.0.22
-I'$SPICEDIR'/proto/xextproto-7.2.0 -I'$SPICEDIR'/proto/xcb-proto-1.6
-I'$SPICEDIR'/libs/libxcb-1.7 -I'$SPICEDIR'/libs/libX11-1.4.4/include';
export XEXT_LIBS='-L'$SPICEDIR'/libs/xproto-7.0.22
-L'$SPICEDIR'/proto/xextproto-7.2.0 -L'$SPICEDIR'/proto/xcb-proto-1.6
-L'$SPICEDIR'/libs/libxcb-1.7 -L'$SPICEDIR'/libs/libX11-1.4.4';
export
XFIXES_CFLAGS='-I'$SPICEDIR'/libs/libXfixes-5.0/include';
export
XFIXES_LIBS='-L'$SPICEDIR'/libs/libXfixes-5.0/src/.libs/libXfixes.a';
export MISC_X_CFLAGS='-I'$SPICEDIR'/libs/libXrender-0.9.6/include';
export
MISC_X_LIBS='-L'$SPICEDIR'/libs/libXrender-0.9.6/src/.libs/libXrender.a';
export NEEDED_CFLAGS='-I'$SPICEDIR'/libs/libpthread-stubs-0.3';
export NEEDED_LIBS='-L'$SPICEDIR'/libs/libpthread-stubs-0.3';
5 -
configure, make and install all dependencies in the correct order. In
doubt refer to: http://www.linuxfromscratch.org [5]
choose
--enable-static & prefix=/usr/local
configure --enable-static
make
make install
WARNINGS!
---> libxcb REQUIRES libxslt
Otherwise
autoconf run successfully but... the build fails without explanation!!!
---> export LDFLAGS=-static-libgcc
is needed to statically link c++
runtime
DO NOT export LDFLAGS="-static -static-libgcc"
"-static" FLAG
break cyrus-sasl static build
---> alsa, for some reason, refuses to
link statically.
include "-lasound" in LIBS, then overwrite the
dynamic library with the static version.
I used this hack:
cp
/usr/lib/libasound.a /usr/lib/libasound.so
---> LIBS export order is
important to avoid unresolved symbols when link
export LIBS='-lpixman-1
-lcelt051 -lssl -lcrypto -lz -lX11 -lXext -lXrandr -lXrender -lXfixes
-lxcb -lXau -lXdmcp -lXpm -lsasl2 -ldl -lasound'
-lssl MUST PRECEDE
-lcrypto
-lxcb MUST PRECEDE -lXau -lXdmcp
Links:
------
[1]
http://www.x.org/releases/individual/lib/
[2]
http://www.x.org/releases/individual/proto/
[3]
http://spice-space.org/download.html
[4]
http://spice-space.org/page/Repositories
[5]
http://www.linuxfromscratch.org/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
[email protected]
https://lists.sourceforge.net/lists/listinfo/openthinclient-user