Reply
Thread Tools
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#231
Sailfish devs knows why SDK is Alpha. Mostly related to API restrictions for Harbour. When everything good will be whitelisted SDK will get Beta and then Final
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 5 Users Say Thank You to coderus For This Useful Post:
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#232
Originally Posted by coderus View Post
Sailfish devs knows why SDK is Alpha. Mostly related to API restrictions for Harbour. When everything good will be whitelisted SDK will get Beta and then Final
Yeah there are some missing/not allowed API I hope to see ASAP.

I personally need a NFC API.

Also python/pyotherside should be supported.
__________________
Keep safe and healthy
 

The Following 3 Users Say Thank You to mikecomputing For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#233
Very useful and complete guide (121 pages in PDF !) from Sven Putze :
Developing with SailfishOS - a short introduction.
It was announced in the SailfishDevel list, which I also recommend to follow for anyone interested in developing for Sailfish.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2013-12-18 at 06:21.
 

The Following 7 Users Say Thank You to rcolistete For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#234
In the faq it says that you should log in as user mersdk but the sb2 arm target has no user/group called mersdk. Is this a bug or feature?

Edit: Which means that rpm is complaining about wrong user/group so I have to add them manually on every friggin sdk update.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).

Last edited by xerxes2; 2013-12-21 at 00:30.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#235
Originally Posted by xerxes2 View Post
In the faq it says that you should log in as user mersdk but the sb2 arm target has no user/group called mersdk. Is this a bug or feature?

Edit: Which means that rpm is complaining about wrong user/group so I have to add them manually on every friggin sdk update.
Don't log into the ARM target. Use mb2 outside the sb2 targets directly in the VM. And there, user mersdk does exist.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#236
I don't log in to the arm target. Is that even possible? No I log in to the sdk as user "mersdk" as it says in the faq and then i build rpm packages using the sb2 command. And rpm complains about wrong user/group because user mersdk is missing in the arm target.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).
 
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#237
Originally Posted by xerxes2 View Post
I don't log in to the arm target. Is that even possible? No I log in to the sdk as user "mersdk" as it says in the faq and then i build rpm packages using the sb2 command. And rpm complains about wrong user/group because user mersdk is missing in the arm target.
use mb -t TARGET build when build rpms it calls sb2 for u.

i write this on jolla so may remember wrong about -t maybe -T anyway mb is the way for most usercases.
__________________
Keep safe and healthy

Last edited by mikecomputing; 2013-12-24 at 11:42.
 
solbrit's Avatar
Posts: 126 | Thanked: 59 times | Joined on Jan 2011
#238
Okay, getting desperate here. Trying to run the SDK on Debian Wheezy. Hitting the "Start Sdk"-button will always give "MerSDK: Timeout waiting for reply from server" though so I get nowhere. I've been looking around at different tutorials and guides but nothing has gotten me anywhere so far.
This was aaall so easy on Harmattan...
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#239
I think we've missed this one sorry. Can you elaborate a little bit more? Where exactly do you try to start the SDK? From Virtualbox? I haven't tried the sdk with wheezy but I think it should work without a hitch. Try to install vbox before you install the sdk and then try to start vbox and run the MerSDK image from there.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).
 
Posts: 31 | Thanked: 11 times | Joined on Apr 2011
#240
Downloaded the SDK to give it a go. While not a dev, I know my ./configure make make install. I anticipated this will be different due to VMs and cross compiling, but I've been scratching my head for two days now, and it's going nowhere... Whenever I try building a project, the compiler just spits out
Code:
Invalid mapping mode: sdk-build
Failed to configure /opt/cross/bin/i486-meego-linux-gnu-gcc
Failed to upgrade configuration files
What on earth am I doing wrong?

EDIT: Well d'oh and facepalm. Just found out I had a separate copy of scratchbox installed which used the same .scratchbox2 config directory. Removed all remnants of it (including $PATH), reinstalled the SDK and projects started building...

Last edited by 0rphu; 2014-01-06 at 17:02. Reason: I'm a dork...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:17.