Gregory, Oh, OK - I just reread your original post and realized you're running Ubuntu 10.04. Newer versions of Shotwell require a newer version of Ubuntu. If you upgrade to 10.10 you'll be able to build just fine.
Martin Wimpress has backported Shotwell 0.9.0 to Ubuntu 10.04, so you may be able to install from his PPA here: https://launchpad.net/~flexiondotorg/+archive/shotwell It looks like that PPA doesn't yet include 0.9.1, however. adam On Thu, Apr 7, 2011 at 4:45 PM, Gregory Smirnov <[email protected]> wrote: > Yes, I use vala 0.12.0 as you can see in make output. > I saw a bug that GDateTime should be fixed for 0.12.0. May be this is a > reason. However from the output of make, I think that something wrong > with new plugin interface. > > $ valac --version > Vala 0.12.0 > > $ ls -l /etc/alternatives/va* > /etc/alternatives/vala -> /usr/bin/vala-0.12 > /etc/alternatives/valac -> /usr/bin/valac-0.12 > /etc/alternatives/valac.1.gz -> /usr/share/man/man1/valac-0.12.1.gz > /etc/alternatives/vala-gen-introspect > -> /usr/bin/vala-gen-introspect-0.12 > /etc/alternatives/vapicheck -> /usr/bin/vapicheck-0.12 > /etc/alternatives/vapigen -> /usr/bin/vapigen-0.12 > > On Thu, 2011-04-07 at 15:56 -0700, Adam Dingle wrote: > > Gregory, > > > > as you probably know, Shotwell 0.9 requires Vala 0.12 (or 0.11.7); > > building with 0.10 will not work. Since you have both 0.10 and 0.12 > > installed, are you completely sure that 0.12 is being used during the > > build? What does this print? > > > > $ valac --version > > > > You might need to run 'sudo update-alternatives --config valac' to > > choose which version you want to be active. Cheers - > > > > adam > > > > On 04/07/2011 03:48 PM, Gregory Smirnov wrote: > > > Hello I have Ubuntu 10.04 64bit. > > > > > > Some time ago I managed to build Shotwell 0.8.1 from sources. > > > > > > Currently I have installed both vala-0.10 (0.10.3) and vala-0.12. > > > > > > Today I tried to build Shotwell 0.9.1 (tar.bz2 from yorba.org website) > > > and have this error: > > > > > > ~/Projects/Shotwell/shotwell-0.9.1$ make > > > valac-0.12 -c -g --enable-checking --thread --fatal-warnings > > > --vapidir=plugins/ -X -DGETTEXT_PACKAGE='"shotwell"' -X -I. > > > --pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0 > > > --includedir=plugins --vapi=plugins/shotwell-plugin-dev-1.0.vapi > > > --header=plugins/shotwell-plugin-dev-1.0.h > > > src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala > > > src/plugins/PublishingInterfaces.vala > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c:193: > error: expected specifier-qualifier-list before ‘GDateTime’ > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c:357: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c:1172: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c: > In function ‘spit_publishing_publishable_reserved0’: > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c:1182: > error: ‘SpitPublishingPublishableIface’ has no member named ‘reserved0’ > > > ... > > > > /home/gregory/Projects/Shotwell/shotwell-0.9.1/src/plugins/PublishingInterfaces.vala.c:1260: > error: ‘SpitPublishingPublishableIface’ has no member named ‘reserved7’ > > > error: cc exited with status 256 > > > Compilation failed: 1 error(s), 0 warning(s) > > > > > > I tried generating C file only: > > > > > > ~/Projects/Shotwell/shotwell-0.9.1$ valac-0.12 -C -g --enable-checking > > > --thread --fatal-warnings --vapidir=plugins/ -X > > > -DGETTEXT_PACKAGE='"shotwell"' -X -I. --pkg=gobject-2.0 --pkg=glib-2.0 > > > --pkg=gdk-2.0 --pkg=gtk+-2.0 --includedir=./plugins > > > --vapi=./plugins/shotwell-plugin-dev-1.0.vapi > > > --header=./plugins/shotwell-plugin-dev-1.0.h > > > src/plugins/PublishingInterfaces.vala > > > src/plugins/PublishingInterfaces.vala:246.44-246.61: error: The type > > > name `Spit.HostInterface' could not be found > > > public interface PluginHost : GLib.Object, Spit.HostInterface { > > > ^^^^^^^^^^^^^^^^^^ > > > src/plugins/PublishingInterfaces.vala:563.36-563.49: error: The type > > > name `Spit.Pluggable' could not be found > > > public interface Service : Object, Spit.Pluggable { > > > ^^^^^^^^^^^^^^ > > > Compilation failed: 2 error(s), 0 warning(s) > > > > > > Any suggestions? > > > Gregory > > > > > > > > > _______________________________________________ > > > Shotwell mailing list > > > [email protected] > > > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell > > > > _______________________________________________ > > Shotwell mailing list > > [email protected] > > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell > > > _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
