David, Vesku
"Now this is not the end. It is not even the beginning of the end. But
it is, perhaps, the end of the beginning!"
Using a different user was just so obvious that it did not occur to me
:-). I kind of knew it had to be something ultra simple.
As you have correctly pointed out, until now I was doing everything in
the SDK with the user root. Thus sb2 was looking in the wrong place
because I was using the wrong instance of sb2 ......
I will try with the user MERDSK on the train on the way home this evening.
As I get the same errors when building on the command line, and from
QtCreator, I guess QtCreator is making the same mistake?
GrĂ¼sse
Chris
Zitat von "David Greaves" <david.grea...@jollamobile.com>:
Hi Chris
On 22/04/13 09:16, christopher.l...@thurweb.ch wrote:
The problem seems to be that ether:
a) /root/.scratchbox2/SailfishOS-i486-x86/sb2.config is missing or
b) sb2 is looking for this file in the wrong place
or ... :)
Well found and you are actually 100% correct with a) however you should be
building as the mersdk user. This is not terribly clear in the docs;
in general
root is only used for admin tasks like system software installation.
The mersdk user is 'you'; we don't know in advance what your username will be
and it could contain spaces etc so the (usually hidden) mersdk
username is used
inside the build engine. The mersdk home directory is mapped to your
home directory.
ie /home/mersdk/.scratchbox2/SailfishOS-i486-x86/sb2.config should
be present in
the build engine and should correspond to
~/.scratchbox2/SailfishOS-i486-x86/sb2.config in the host machine.
ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa mersdk@localhost
You *may* have problems with permissions in which case you may need
to login as
root and run make distclean in your project.
David
_______________________________________________
SailfishOS.org Devel mailing list