[maemo-developers] How to check SDK version?

From: Jeremiah Foster jeremiah at jeremiahfoster.com
Date: Sat Oct 31 14:03:22 EET 2009
On Oct 31, 2009, at 2:01, Graham Cobb wrote:

> On Saturday 31 October 2009 00:28:21 Jeremiah Foster wrote:
>> On Oct 30, 2009, at 10:58, Graham Cobb wrote:
>>> On Friday 30 October 2009 08:11:37 Reshma Prasanna wrote:
>>>> Hi,
>>>> I'm new to Maemo but I'm using a PC that already has a Maemo SDK
>>>> installation (done by someone else). Please tell me how to find out
>>>> which
>>>> version of the SDK is installed? i.e. Is the SDK version 5.0 alpha,
>>>> 5.0
>>>> beta or 5.0 stable version?
>>>
>>> cat /etc/maemo_version
>>
>> Is /etc/maemo_version canonical?
>
> Probably not.  And in things like configure scripts I always check  
> against
> versions of installed libraries, not against the SDK name.  However,  
> it is
> good enough to answer the question "someone left me an SDK which  
> version is
> it"!

Indeed. :) And well said I might add.

>
> MUD uses it as the default for the SDK name (which it uses to select
> alternative entries in its build file) but the user can override it  
> if it is
> wrong.

I wonder if we can make /etc/maemo_version canonical through some  
heuristic. I will see if an opportunity arises to do so.

Jeremiah
More information about the maemo-developers mailing list