[gnome-love] Missing package gee when building vala with jhbuild
- From: James Legg <lankyleggy gmail com>
- To: gnome-love gnome org
- Subject: [gnome-love] Missing package gee when building vala with jhbuild
- Date: Sat, 04 Aug 2012 18:15:27 +0100
Hi,
When I build vala with jhbuild, I get the following error:
Making all in ccode
make[2]: Entering directory `/home/james2/programs/gnome/build/vala/ccode'
VALAC /home/james2/programs/gnome/checkout/vala/ccode/valaccodeassignment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodebinaryexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeblock.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodebreakstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecasestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecastexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecommaexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecomment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeconditionalexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeconstant.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecontinuestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedeclaration.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedostatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeemptystatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeenum.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeenumvalue.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeexpressionstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefile.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeforstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefragment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunction.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunctioncall.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunctiondeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodegotostatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeidentifier.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeifstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeincludedirective.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeinitializerlist.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeinvalidexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodelabel.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodelinedirective.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodemacroreplacement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodememberaccess.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodemodifiers.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodenewline.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodenode.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeoncesection.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeparameter.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeparenthesizedexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodereturnstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodestruct.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeswitchstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodetypedefinition.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeunaryexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodevariabledeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodewhilestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodewriter.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeelementaccess.vala
error: Package `gee' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
I'm running Linux Mint 12. I've installed the libgee-dev package. It
installs /usr/share/vala/vapi/gee-1.0.vapi. If I make a symlink to this
file at /usr/share/vala/vapi/gee.vapi, I get these errors when building
vala instead:
make[2]: Entering directory `/home/james2/programs/gnome/build/vala/ccode'
VALAC /home/james2/programs/gnome/checkout/vala/ccode/valaccodeassignment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodebinaryexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeblock.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodebreakstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecasestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecastexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecommaexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecomment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeconditionalexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeconstant.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodecontinuestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedeclaration.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodedostatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeemptystatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeenum.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeenumvalue.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeexpressionstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefile.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeforstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefragment.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunction.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunctioncall.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefunctiondeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodegotostatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeidentifier.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeifstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeincludedirective.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeinitializerlist.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeinvalidexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodelabel.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodelinedirective.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodemacroreplacement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodememberaccess.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodemodifiers.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodenewline.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodenode.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeoncesection.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeparameter.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeparenthesizedexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodereturnstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodestruct.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeswitchstatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodetypedefinition.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeunaryexpression.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodevariabledeclarator.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodewhilestatement.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodewriter.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodeelementaccess.vala
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefile.vala:27.2-27.12: error: The type name `Set'
could not be found
Set<string> declarations = new HashSet<string> (str_hash, str_equal);
^^^^^^^^^^^
/home/james2/programs/gnome/checkout/vala/ccode/valaccodefile.vala:28.2-28.12: error: The type name `Set'
could not be found
Set<string> includes = new HashSet<string> (str_hash, str_equal);
^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
Changing "Set" to "Gee.Set" at the two offending locations silences
those errors, however I get many more errors on the next build attempt,
so I think I'm barking up the wrong tree.
I've tried using the valac in my distribution's standard repositories
which is version 0.14, and a 0.18 build in the vala-team ppa. At least I
hope that is what I did: bug 673972 makes it difficult to check which
version is being used.
I had the following warning from configure:
configure: WARNING: unrecognized options: --disable-gtk-doc
The non-comment lines in my jhbuildrc file are:
checkoutroot = '~/programs/gnome/checkout'
buildroot = '~/programs/gnome/build'
prefix = '/opt/gnome/debug'
Any help getting the build to succeed would be appreciated.
James
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]