[Spice-devel] Build Instructions for Spice-gtk
mlureau at redhat.com
Mon Feb 13 12:06:46 PST 2012
----- Original Message -----
> I'm looking Spice-gtk build instructions for Linux, Windows and MAC
> environments at http://spice-space.org/page/Howtos
> but haven't find it.
> Can you please direct me for Spice-gtk build instructions?
There is no instruction page for various reasons:
1. we use standard autotools, and there is a comprehensive INSTALL file, and a README file. If you are familiar with pkg-config, you should quickly find your way, and most of the configuration should be automatically set. In theory, "./configure && make && make install" is all you need (ok, this is over-optimistic)
2. your distribution should hopefully ship spice-gtk, and gives you the required depedencies and steps to successfully build. We don't want to maintain this information for all the distros, and it would very quickly be outdated (although we give some hints in the README file for Fedora-based distros)
3. compilation from git is slightly more difficult, as you need more dependencies and recent projects (basically ask on irc if you need help)
Cross-compilation also evolves. We recommend MinGW64. We currently use the fedora mingw64 repositories, although it might work with other toolchains. To build for i686 on F16 with mingw64-repo, I use for example:
./configure --host=i686-w64-mingw32 --build=x86_64-unknown-linux-gnu --target=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/sys-root/mingw --disable-gtk-doc --without-sasl --with-audio=gstreamer --with-coroutine=winfiber --disable-smartcard --with-gtk=2.0 --without-python --disable-usbredir
Mac support is WIP, see also:
More information about the Spice-devel