Re: [anjuta-list] Using statvfs_exec with vala in anjuta
- From: "Jose Antonio Velasco Prieto" <velascopja gmail com>
- To: 'Sébastien Granjoux' <seb sfo free fr>, "'yannick inizan'" <inizan yannick gmail com>
- Cc: anjuta-list gnome org
- Subject: Re: [anjuta-list] Using statvfs_exec with vala in anjuta
- Date: Fri, 17 Jul 2015 22:01:43 +0200
Hi again,
I think I've found the mistake executing Make V=1, here's the relevant output
rm -f /home/jose/fastcopyall/src/fastcopyall_vala.stamp && echo stamp >
/home/jose/fastcopyall/src/fastcopyall_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd /home/jose/fastcopyall/src && /usr/bin/valac --pkg gtk+-3.0 -C
fastcopyall.vala config.vapi
fastcopyall.vala:22.7-22.11: error: The namespace name `Posix' could not be found
using Posix;
^^^^^
Compilation failed: 1 error(s), 0 warning(s)
I've also been searching in the project directory and I think I've found the mistake, I'll try to do my best
explaining so you can please tell me how to solve it. I have a Makefile in the directory
/home/jose/fastcopyall/Debug/ which line 354 is
AM_VALAFLAGS = --pkg "posix"
Then I've another Makefile in the directory /home/jose/fastcopyall/Debug/src/ which lines 340 & 341 are
fastcopyall_VALAFLAGS = \
--pkg gtk+-3.0
Well, if I manually change those lines like this
fastcopyall_VALAFLAGS = \
--pkg gtk+-3.0 \
--pkg posix
Then it compiles successfully
Any idea why this could had happened?
-----Mensaje original-----
De: Sébastien Granjoux [mailto:seb sfo free fr]
Enviado el: viernes, 17 de julio de 2015 21:13
Para: Jose Antonio Velasco Prieto; 'yannick inizan'
CC: anjuta-list gnome org
Asunto: Re: [anjuta-list] Using statvfs_exec with vala in anjuta
Hi,
Le 17/07/2015 20:26, Jose Antonio Velasco Prieto a écrit :
That's odd. The Makefile.am has indeed a variable call VALAFLAGS with the --pkg "posix" but still the same
error.
Then, it seems that Anjuta has done the right thing. Then this file is used by automake to generate the real
Makefile. You can check in this makefile if the command line used for the vala compiler is right. Or run
'make V=1' to see which command line is used.
Regards,
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]