Re: Cannot compile from git sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Sun, Aug 02, 2015 at 03:43:38PM +0200, jean-christophe Manciot wrote:
> *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]*

This is unexpected, could you build with 'make V=1' so that we can
see the compiler command line leading to these errors?

> 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.

Could be an issue with the libcacard.pc file. Either it first picks one
in /usr/local/lib/pkgconfig, or the one in /usr/lib is invalid (actual
path to $libdir might be different on your distro, eg on my fedora it's
/usr/lib64/pkgconfig)

> 
> 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@xxxxxxxxx
> should be discarded.

Ah, sorry, I only saw this NB just now, I've already approved these
messages.

Christophe

Attachment: pgpUA1S6Jz7T7.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]