[Shotwell] Install Vala 0.11.3??
Adam Dingle
adam at yorba.org
Mon Jan 10 18:10:47 UTC 2011
On 01/08/2011 03:25 PM, . wrote:
> On 01/08/2011 06:11 PM, Adam Dingle wrote:
>> To the original poster (Peace at aleksandrsolzhenitsyn.net
>> <mailto:Peace at aleksandrsolzhenitsyn.net>):
>>
>> 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)
>
> echo at 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)
> echo at 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
More information about the Shotwell-list
mailing list