[Spice-devel] Compiling SPICE in /usr/local

Victor Toso victortoso at redhat.com
Wed Mar 1 07:43:57 UTC 2023


Hi,

On Mon, Feb 27, 2023 at 10:28:27PM +0200, kap tam wrote:
> Hello, I've tried getting this to work for about a day but I can not get
> past spice ./configure step assuming spice-protocol header files are
> installed in /usr/local/include/spice-1/spice. I tried setting the
> SPICE_PROTOCOL_CFLAGS
> to "-I/usr/local/include/spice-1/spice -I/usr/local/include/spice-1
> -I/usr/local/include" (capital I not lowercase L by the way). although I
> think the 2nd and 3rd should work, I'm desperate so I tried everything.
> Could I get some help please?

Have you tried setting PKG_CONFIG_PATH to have the pkgconfig
folder in /usr/local ?

Something like
    export PKG_CONFIG_PATH=/usr/local/pkgconfig:$PKG_CONFIG_PATH
    ./configure

Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20230301/ae7594e4/attachment.sig>


More information about the Spice-devel mailing list