[SailfishDevel] Fwd: Fwd: mb gives error "sb2: Error: Invalid target specified, aborting.": Part 3
David Greaves
david.greaves at jollamobile.com
Mon Apr 22 08:31:39 UTC 2013
Hi Chris
On 22/04/13 09:16, christopher.lamb at 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 at 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
More information about the Devel
mailing list