[Geary] compilation help

Jim Nelson jim at yorba.org
Tue Jan 29 00:53:22 UTC 2013


When you say you're getting the same error, do you mean you installed the gir repository and you're still seeing all those errors in your first message?  That indicates they didn't install or they're not in a directory Vala is looking in.

How did you install Vala?  From package or from tarball?

If you've installed the gir's, I would do the following in the Geary directory:

$ make distclean
$ ./configure
$ make

-- Jim

On Sat, Jan 26, 2013 at 3:15 PM, TC Meggs <tc at tnktp.com> wrote:

Hi Eric! Thank you for your response & I apologise for my lack of detail. I'm running Debian Wheezy/amd64. The package name for libgirepository1.0-dev is the same as with Ubuntu. Somehow I missed it from the dependencies list. It was not installed & I have now installed it, however I'm unfortunately still getting the same error. I do not use Ubuntu Unity and as such do not have indicate or unity installed. Below is a listing of installed dependencies and their version numbers.

ii  libgtk-3-dev                                                         3.4.2-5                            amd64        development files for the GTK+ library
ii  libcanberra-dev:amd64                                                0.28-6                             amd64        simple abstract interface for playing event sounds
ii  libgee-dev                                                           0.6.4-2                            amd64        GObject based collection library (development files)
ii  gir1.2-gee-1.0                                                       0.6.4-2                            amd64        GLib Telepathy connection manager library (GObject-Introspection)
ii  gir1.2-glib-2.0                                                      1.32.1-1                           amd64        Introspection data for GLib, GObject, Gio and GModule
ii  libglib2.0-dev                                                       2.33.12+really2.32.4-3             amd64        Development files for the GLib library
ii  libgmime-2.6-0                                                       2.6.10-1                           amd64        MIME message parser and creator library - runtime
ii  libgnome-keyring-dev                                                 3.4.1-1                            amd64        Development files for GNOME keyring service
ii  libgtk-3-dev                                                         3.4.2-5                            amd64        development files for the GTK+ library
ii  libnotify-dev                                                        0.7.5-1                            amd64        sends desktop notifications to a notification daemon (Development files)
ii  libsqlite3-dev                                                       3.7.13-1                           amd64        SQLite 3 development files
ii  libunique-3.0-dev                                                    3.0.2-1                            amd64        Library for writing single instance applications - development files
ii  libwebkitgtk-3.0-dev                                                 1.8.1-3.3                          amd64        Web content engine library for GTK+ - Development files
ii  intltool                                                             0.50.2-2                           all          Utility scripts for internationalizing XML
ii  libgirepository1.0-dev                                               1.32.1-1                           amd64        Library for handling GObject introspection data (development files)

I built Vala 0.18.1 from source as neither wheezy nor sid had the required version.

Cheers!


On Sat, Jan 26, 2013 at 5:24 PM, Eric Gregory wrote:
On Jan 26, 2013, at 10:37 AM, TC Meggs wrote: 

> 
> After building geary-0.2.2 from the tarball and using it for the last few days, I was going to report a bug but thought I should see if I could reproduce it in the current source. I did a git clone and I've run into an issue with my make. The mentioned vapi files all appear to be in place & I just re-built geary-0.2.2 without issue. I played around a bit with things like XDG_DATA_DIRS and I'm still having the problem. I'm not abundantly familiar with nuances of valac or cmake. Any pointers? I'm using valac-0.18.1 and have XDG_DATA_DIRS set with the appropriate path. 
> 
> [ 76%] Generating .geary.stamp 
> error: Package `Atk-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `GLib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `GModule-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `GObject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `Gdk-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `GdkPixbuf-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `Gio-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `Gtk-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `JSCore-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `Pango-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `Soup-2.4' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `cairo-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> error: Package `xlib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories 
> Compilation failed: 13 error(s), 0 warning(s) 

Hi, 

You didn't mention what distro you're using. If you're on Ubuntu 12.04+ try installing libgirepository1.0-dev. I'm not entirely certain what this package maps to on other distros. 

In addition, you may need to do a make clean. 

- Eric 


_______________________________________________
Geary mailing list
Geary at lists.yorba.org
http://lists.yorba.org/cgi-bin/mailman/listinfo/geary




More information about the Geary-list mailing list