[Spice-devel] Build Win 32 client for kraxel.fedorapeople.org

Gerd Hoffmann kraxel at redhat.com
Thu Aug 5 00:21:43 PDT 2010


On 08/05/10 04:16, bwellsnc wrote:
> I tried using mingw32-configure in the spice-0.5.2 directory and I get
> this error:
>
> checking for PROTOCOL... configure: error: Package requirements
> (spice-protocol) were not met:
>
> I have the spice-protocol package installed along with the
> mingw32-spice-protocol.  If I run just a standard ./configure, I don't
> get this error but I cannot build for win32 using this either.  I think
> ming will build it, just need to be pointed in the direction on what
> environmental variables need to be set.

 From mingw32-spice.spec:

# workaround: i686-pc-mingw32-pkg-config doesn't check 
$prefix/share/pkgconfig
export 
PKG_CONFIG_PATH="%{_mingw32_datadir}/pkgconfig:%{_mingw32_libdir}/pkgconfig"
export PROTOCOL_CFLAGS="$(pkg-config --cflags spice-protocol)"
export PROTOCOL_LIBS="$(pkg-config --libs spice-protocol)"

The source rpm also has a patch which will save you some work.
If you manage to get a working spicec.exe send patches to the list please.

thanks,
   Gerd



More information about the Spice-devel mailing list