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



On Thu, Oct 08, 2009 at 20:37:26 +0200, Martin Olsson wrote:
Frederik wrote:
Arkadi Viner wrote:
gtksourceview/gtksourceview.h: No such file or directory

You must install the header files for GtkSourceView.
On Debian based systems it's package 'libgtksourceview2.0-dev'

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.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



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