maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   How to install SDK on Ubuntu Hardy (https://talk.maemo.org/showthread.php?t=31347)

vitna91 2009-09-07 17:02

Re: How to install SDK on Ubuntu Hardy
 
1 Attachment(s)
when i give the chmod command it give me this error(attachment)

vitna91 2009-09-07 17:05

Re: How to install SDK on Ubuntu Hardy
 
1 Attachment(s)
Quote:

Originally Posted by ColonelKilkenny (Post 323263)
Use "sudo sh ./maemo-...."

Sudo needs a "proper" command after it.

i test this...

choubbi 2009-09-07 21:10

Re: How to install SDK on Ubuntu Hardy
 
Ah, now it works. Just follow the instructions it gives you and remove VDSO support.
That happened to me too, but the permanent solution it gives let me get to the next steps.

vitna91 2009-09-08 07:54

Re: How to install SDK on Ubuntu Hardy
 
i must do the permanent solution or the "only for this session" one??

vitna91 2009-09-08 08:09

Re: How to install SDK on Ubuntu Hardy
 
for this time i have been executed the "only for this session" and now it is installing correctly the scratchbox, thanks to all, and sorry for my incompetence

rafanto 2009-09-08 08:55

Re: How to install SDK on Ubuntu Hardy
 
Hi,
test first the path of the maemo-scratchbox-install_5.0beta2.sh

and set the permits to exec the file with chmod +x maemo...sh

After these step

launch the file on the terminal with :

sh maemo-scratchbox-install_5.0beta2.sh

always occurs the path of maemo-scratchbox-install_5.0beta2.sh !!

twaelti 2009-09-08 10:07

Re: How to install SDK on Ubuntu Hardy
 
I stumbled over the same two things a few days ago. Unfortunately, the Maemo 5 Beta 2 SDK Installation docs can't be that easily edited. Who is the responsible editor? Should we file bugs in the bugzilla for this?

After the download, I had to do the
Code:

chmod a+x ./maemo-scratchbox-install_5.0beta2.sh
to be able to launch the shell script.

And then to permanently change the VDSO support in my Ubuntu as described in a post from Karoliina:
Code:

$ sudo su
$ nano /etc/sysctl.conf

Add a new line
Code:

vm.vdso_enabled = 0
to the end of file.
Press ctrl-x to exit and save.
Then (while remaining as root) run:
Code:

sysctl -p
Finally type
Code:

exit
to return to previous shell
Now you can finally
Code:

sudo ./maemo-scratchbox-install_5.0beta2.sh –u USER
This will get scratchbox and install it on your system. Time needed: 5-10 minutes

Once this has finished, do:
Code:

$ sh  maemo-sdk-install_5.0beta.sh
Will take another 5-10 minutes to install.

Then setup is complete. You can now launch scratchbox etc. according to the article.
Unfortunately, you then have only a very empty "virtual N900" to play around. Best thing is to add the Fremantle Extras repositories to your installation: create the file(s) /etc/apt/sources.list.d/extras-repo.list under your scratchbox targets.

This will then enable you to apt-get some applications to have something to play around :-)

danielwilms 2009-09-08 11:58

Re: How to install SDK on Ubuntu Hardy
 
Quote:

Originally Posted by twaelti (Post 323622)
I stumbled over the same two things a few days ago. Unfortunately, the Maemo 5 Beta 2 SDK Installation docs can't be that easily edited. Who is the responsible editor? Should we file bugs in the bugzilla for this?

Hi,

I have extended the installation docs. Thanks for the feedback.

Cheers Daniel

vitna91 2009-09-09 12:47

Re: How to install SDK on Ubuntu Hardy
 
1 Attachment(s)
I have still another error, when i write this command
Code:

$ sh  maemo-sdk-install_5.0beta2.sh
i hope you help me still.

choubbi 2009-09-09 12:54

Re: How to install SDK on Ubuntu Hardy
 
I suggest trying the command "adduser vaselli sbox" (since you have to add the user "vaselli" to the group "sbox")


All times are GMT. The time now is 23:07.

vBulletin® Version 3.8.8