On 01/08/2011 03:25 PM, . wrote:
On 01/08/2011 06:11 PM, Adam Dingle wrote:
To the original poster ([email protected] <mailto:[email protected]>):

What version of Ubuntu are you running? I'm going to assume that you're running Lucid Lynx (10.04), since the last error message you sent mentioned Lucid. If that's correct, then you'll need to build Shotwell from source, since the Yorba PPA does not (and will not) include Shotwell 0.8 for Lucid. You'll also need to build Vala from source, since Lucid comes with Vala 0.8 which is too old for building Shotwell, and the Vala PPA would give you Vala 0.11 which is too new for building Shotwell.

So here we go. To build Vala from source, you'll need to extract it, then run 'configure' and 'make'. Your previous message showed that you were doing this correctly, but were missing at least one build dependency for Vala (Flex). To install all required build dependencies (including Flex), do this:

$ sudo apt-get build-dep vala

After that, do this:

$ cd ~/vala-0.10.2
$ ./configure
$ make
$ sudo make install
No luck....here's the results (yes, I'm running 10.04)

e...@echo-laptop:~/vala-0.10.2$ sudo apt-get build-dep vala
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_vala-team_ppa_ubuntu_dists_lucid_mai_source_Sources - open (2: No such file or directory)
e...@echo-laptop:~/vala-0.10.2$


OK. The problem is that the Vala PPA is still one of the software sources on your system. This is preventing 'apt-get build-dep' from working, probably because the Vala PPA doesn't include a source package (which is where build dependencies are listed). If you're building Vala yourself, you really don't want the Vala PPA around anyway. So you need to do the following:

1. Remove all packages which might have come from the Vala PPA:

$ sudo apt-get remove vala libgee

2. Remove the Vala PPA from your software sources list. To do this, go to System->Administration->Software Sources and choose the Other Software tab. You should see the Vala PPA listed. Uncheck it or remove it from the list.

3. Now try the 'sudo apt-get build-dep' command I listed above.

Hope this helps!

adam

_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell

Reply via email to