Re: [Vala] strange errors while I compile my project



On Thu, 8 Oct 2009 21:07:45 +0200, 
Jan Hudec <bulb ucw cz> wrote:

On Thu, Oct 08, 2009 at 20:37:26 +0200, Martin Olsson wrote:
This discussion thread points to a small usability fail in valac.
It would be nice if, whenever the user specifies --pkg BLAH
and BLAH is not installed, valac simply said "BLAH not installed".
I actually filed a bug about precisely this problem in mid august:
https://bugzilla.gnome.org/show_bug.cgi?id=591991
It doesn't sound that hard to write a patch for valac to do this,
and it would obviously be quite useful.
Unfortunately not all .vapi files have corresponding .pc files, so
such check is not easily possible. Take for example the posix.vapi.
zlib.vapi is another example and I could continue for quite long if I
actually checked all the available .vapi files.

I agree that it would be rather nice to have valac slap you up the side
of the head with a nice solid Do'h, since vapi files are provided
without the associated packages.

Is there any good reasons not to file bugs against those packages for
the lack of the .pc files...?

For any packages that it's decided don't need a .pc file (or which
are aggressively agnostic to the idea of having to bother), how about
a .vapi directive to make the appropriate checks for each stage.  Or
just provide one for it?

And of course an option to ignore all this if it makes sense to do so.

-- 
Fredderic

Debian/unstable (LC#384816) on i686 2.6.30-1-686 2009 (up 5 days, 14:06)

Attachment: signature.asc
Description: PGP signature



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