maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   harmattan-sdk-setup.py problems with VM Debian Squeeze (https://talk.maemo.org/showthread.php?t=93108)

gdelca5 2014-04-30 15:32

harmattan-sdk-setup.py problems with VM Debian Squeeze
 
I want a Scratchbox env. to cross compile qt5 and bring some other tools harmattan.
One problem is that the tutorials for setting up scratchbox are out of date and the links are down.
The other problem:
I set a squeeze VM,
* download an old harmattan-sdk-setup.py file from
[0]
* change in the file :
Code:

rootstrap_base_url = "http://mirror.thecust.net/hathor-sdk/"
    rootstrap_suffix = "public-sdk-rootstrap.tgz"

* And run:
Code:

root@scratchbox-vm:/tmp# wget http://mirror.thecust.net/hathor-sdk/arm-public-sdk-rootstrap.tgz
root@scratchbox-vm:/tmp# wget http://mirror.thecust.net/hathor-sdk/i386-public-sdk-rootstrap.tgz
root@scratchbox-vm:/home/gonza# ./harmattan-sdk-setup.py administall

The script fail doing
Code:

/scratchbox/tools/bin/sb-conf rootstrap HARMATTAN_X86 /tmp/i386-public-sdk-rootstrap.tgz
...
tar (child): /tmp/i386-public-sdk-rootstrap.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
/scratchbox/tools/bin/tar: Child returned status 2
/scratchbox/tools/bin/tar: Error is not recoverable: exiting now
sb-conf: Failed to extract rootstrap: /tmp/i386-public-sdk-rootstrap.tgz

The complete log file is in [1]

[0] http://web.archive.org/web/201111160...n-sdk-setup.py

[1] http://pastebin.com/raw.php?i=hLwmQctX

coderus 2014-04-30 16:33

Re: harmattan-sdk-setup.py problems with VM Debian Squeeze
 
download rootstraps manually and puth it to /tmp and start script then

nieldk 2014-04-30 16:49

Re: harmattan-sdk-setup.py problems with VM Debian Squeeze
 
Quote:

Originally Posted by coderus (Post 1423518)
download rootstraps manually and puth it to /tmp and start script then

Well, he did. However, he did it as root, making those files unavailable to user 'gonza'

Download the files as your user gonza, or, as root chown gonza on the already downloaded files


All times are GMT. The time now is 20:39.

vBulletin® Version 3.8.8