[Spice-devel] Cannot compile from git sources

jean-christophe Manciot manciot.jeanchristophe at gmail.com
Sun Aug 2 06:43:38 PDT 2015


*Environnent*:
Ubuntu Server 15.04 - Git sources from
http://cgit.freedesktop.org/spice/spice-gtk/

*make distclean*
*./autogen.sh*
*./configure --enable-vala --enable-introspection=yes --prefix=/usr
--sysconfdir=/etc --localstatedir=/var*
*make -j6*
...
*make[4]: Entering directory
'/home/actionmystique/Program-Files/Ubuntu/Spice-GTK/git-spice-gtk/src'*
*  CC       bio-gio.lo*
*  CC       glib-compat.lo*
*  CC       spice-audio.lo*
*  CC       spice-util.lo*
*  CC       spice-option.lo*
*  CC       spice-client.lo*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*cc1: error: /usr/local/include/cacard: No such file or directory [-Werror]*
*In file included from spice-common.h:31:0,*
*                 from spice-audio.c:38:*
*../spice-common/common/messages.h:42:27: fatal error: vscard_common.h: No
such file or directory*
* #include <vscard_common.h>*
*                           ^*
*cc1: all warnings being treated as errors*
*cc1: all warnings being treated as errors*
*compilation terminated.*
*Makefile:1400: recipe for target 'spice-client.lo' failed*
*make[4]: *** [spice-client.lo] Error 1*
*make[4]: *** Waiting for unfinished jobs....*
*cc1: all warnings being treated as errors*
*Makefile:1400: recipe for target 'glib-compat.lo' failed*
*make[4]: *** [glib-compat.lo] Error 1*
*In file included from ../spice-common/common/client_marshallers.h:29:0,*
*                 from spice-channel-priv.h:35,*
*                 from spice-option.c:26:*
*../spice-common/common/messages.h:42:27: fatal error: vscard_common.h: No
such file or directory*
* #include <vscard_common.h>*
*                           ^*
*cc1: all warnings being treated as errors*
*compilation terminated.*
*cc1: all warnings being treated as errors*
*Makefile:1400: recipe for target 'bio-gio.lo' failed*
*make[4]: *** [bio-gio.lo] Error 1*
*cc1: all warnings being treated as errors*
*Makefile:1400: recipe for target 'spice-util.lo' failed*
*make[4]: *** [spice-util.lo] Error 1*
*Makefile:1400: recipe for target 'spice-audio.lo' failed*
*make[4]: *** [spice-audio.lo] Error 1*
*Makefile:1400: recipe for target 'spice-option.lo' failed*
*make[4]: *** [spice-option.lo] Error 1*
*make[4]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/Spice-GTK/git-spice-gtk/src'*
*Makefile:1650: recipe for target 'all-recursive' failed*
*make[3]: *** [all-recursive] Error 1*
*make[3]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/Spice-GTK/git-spice-gtk/src'*
*Makefile:1083: recipe for target 'all' failed*
*make[2]: *** [all] Error 2*
*make[2]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/Spice-GTK/git-spice-gtk/src'*
*Makefile:657: recipe for target 'all-recursive' failed*
*make[1]: *** [all-recursive] Error 1*
*make[1]: Leaving directory
'/home/actionmystique/Program-Files/Ubuntu/Spice-GTK/git-spice-gtk'*
*Makefile:559: recipe for target 'all' failed*
*make: *** [all] Error 2*

As you can see, despite the configure option --prefix=/usr, the process
looks for usr/local/include/cacard instead of /usr/include/cacard, which
exists.
I tried to copy all the header files from that folder inside
spice-common/common, but it does not change anything.

However, if I try the same trick on the "stable" sources from the 0.9
tarball, the compilation works without any error with the header files
copied inside common...

N.B: You may receive duplicate message about this issue due to my initial
mix about e-mail address. The first e-mail from actionmystique at gmail.com
should be discarded.
-- 
*Jean-Christophe Manciot*

* [image: Architecte réseaux et Sécurité]
<https://learningnetwork.cisco.com/people/manciot.jeanchristophe/content>
*[image:
Network & Security Architect]
<http://fr.linkedin.com/in/jeanchristophemanciot>
<https://plus.google.com/u/0/+jeanchristopheManciot-IT/posts>
<https://twitter.com/jc_manciot>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150802/45c7de4a/attachment.html>


More information about the Spice-devel mailing list