maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Maemo 5 SDK Installation problems (https://talk.maemo.org/showthread.php?t=31247)

Laco 2009-09-03 16:50

Maemo 5 SDK Installation problems
 
Hello I just wanted to try maemo but it seems I am unable to do it, I cannot install the nokia binaries.
I edited the /etc/apt/sources.list.d/maemo5.0_scratchbox.list file, added the
deb http://repository.maemo.org/ fremantle .............
what I got after agreeing the license.
started the scracthbox an update seems to work but after the nokia packeges are not found
Did I edited the right file?

[sbox-FREMANTLE_ARMEL: ~] > apt-get update
Ign http://repository.maemo.org fremantle/sdk Release.gpg
Ign http://repository.maemo.org fremantle/tools Release.gpg
Hit http://repository.maemo.org fremantle/sdk Release
Hit http://repository.maemo.org fremantle/tools Release
Ign http://repository.maemo.org fremantle/sdk/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/sdk/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/sdk/free Sources/DiffIndex
Ign http://repository.maemo.org fremantle/tools/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/free Sources/DiffIndex
Hit http://repository.maemo.org fremantle/sdk/free Packages
Hit http://repository.maemo.org fremantle/sdk/non-free Packages
Hit http://repository.maemo.org fremantle/sdk/free Sources
Hit http://repository.maemo.org fremantle/tools/free Packages
Hit http://repository.maemo.org fremantle/tools/non-free Packages
Hit http://repository.maemo.org fremantle/tools/free Sources
Reading package lists... Done
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install nokia-binaries
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package nokia-binaries


Thanks.

yerga 2009-09-03 17:29

Re: Instalation problems
 
I think you just should add the repository to /etc/apt/sources.list

Andre Klapper 2009-09-04 10:41

Re: Instalation problems
 
There's a manual out there for a good reason:
http://maemo.org/development/sdks/ma..._installation/ :-)

fernando.porres 2009-09-10 07:12

Re: Instalation problems
 
Hello Laco.

I got the same problem and I don't know if found a solution. The manual seems to be very clear but the problem still persists. That's what I did:

Login the scratchbox ...
Accept the EULA and copy the repository link ...
Add the nokia repository link to the sources.list ...
apt-get update ...
fakeroot apt-get install nokia-binaries ...

And finally I got the same error message. E:Couldn't find package nokia-binaries. It seems the process is unable to find the repository I just added to the sources.list file

żAny idea? Best regards

Nathan 2009-09-10 16:37

Re: Maemo 5 SDK Installation problems
 
A couple things --
1. the Nokia Binaries link must be added to the sources list INSIDE the scratchbox.
2. Make sure you copy the Whole url including the alpha-numberic code that is at the end of the url.

It should look like:
Code:

deb http://repository.maemo.org/ fremantle/<SOME CODE>
like
deb http://repository.maemo.org/ fremantle/az45sawe3d3f

(Please note the above code is not valid. it is bogus, so don't bother trying it)

Nathan.

amondo 2009-09-10 17:51

Re: Maemo 5 SDK Installation problems
 
Before you run apt-get update you need to change the source.list that is inside the scratchbox, not your host operating system. For example:

Code:

[sbox-FREMANTLE_<X86/ARMEL>: ~] vi /etc/apt/source.list
Do this for both the x86 and the ARMEL scratchboxes.

LinuxUser 2009-09-14 10:39

Re: Maemo 5 SDK Installation problems
 
Oh ok it's not:
[sbox-FREMANTLE_<X86/ARMEL>: ~] vi /etc/apt/source.list
but
[sbox-FREMANTLE_<X86/ARMEL>: ~] vi /etc/apt/sources.list
That's ok for me now.
thanks

adhika_rexuss 2009-10-13 00:21

Re: Maemo 5 SDK Installation problems
 
Hi all,

I hope I can use this thread to ask a similar question as well.
When I executed this command below:

$ sudo ./maemo-scratchbox-install_5.0.sh -u USER

Do I have to create a new user in my ubuntu first?
I found the documentation said: [Clarification needed: it's not clear to a first-timer whether this should be an existing user name from the host linux system, or a new user name for use only inside the scratchbox environment.]

Thank you,
Adhika

danielwilms 2009-10-13 07:14

Re: Maemo 5 SDK Installation problems
 
Quote:

Originally Posted by adhika_rexuss (Post 344945)
$ sudo ./maemo-scratchbox-install_5.0.sh -u USER

Do I have to create a new user in my ubuntu first?

The "USER" has to be a valid user on your host system, where you are running scratchbox. You don't have to create a new one, but you could use the one you already have.

Cheers Daniel

Edit: I've updated the documentation as well ;)

adhika_rexuss 2009-10-14 06:18

Re: Maemo 5 SDK Installation problems
 
Hi Daniel, Thanks a lot for the reply.

Btw yesterday I managed to play around with the desktop.
My Graphic Card is only an Intel graphic card, can this explains why I feel it really slow while moving the desktop?

Thank you,
Adhika

danielwilms 2009-10-14 09:44

Re: Maemo 5 SDK Installation problems
 
There were some problems with some graphic cards, which made it really slow. When I upgraded to Ubuntu 9.04 this problem disappeared. But yes, the graphic card could cause that.

Cheers Daniel

allnameswereout 2009-10-14 15:47

Re: Maemo 5 SDK Installation problems
 
Quote:

Originally Posted by adhika_rexuss (Post 345999)
Btw yesterday I managed to play around with the desktop.
My Graphic Card is only an Intel graphic card, can this explains why I feel it really slow while moving the desktop?

Which Linux distribution and version? Intel graphics are b0rked in Ubuntu 9.04. This is fixed in 9.10 betas although 9.10 is not released yet. If you run command glxgears -info what GL_RENDERER, GL_VERSION, GL_VENDOR does it say and how many frames/5 sec do you get? You can also enable EXA instead of UXA in xorg.conf. This should give a speed improvement (sometimes of 100%), and should be stable on Ubuntu 9.10.

I also have an Intel (GMA X3100), EXA enabled, latest Ubuntu 9.10/x86-64 beta, Compiz enabled. Works great. So I don't see why on a lower resolution as 800x480 it should lag. In my case the Maemo 5 applications work well, and there is no lag or tearing in the UI. I also followed this guide to get rid of occasional tearing.

jlu 2009-10-16 10:49

Re: Maemo 5 SDK Installation problems
 
Quote:

Originally Posted by LinuxUser (Post 326665)
[sbox-FREMANTLE_<X86/ARMEL>: ~] vi /etc/apt/sources.list

This is also not so obvious for a first time installer. The installation guide expresses this as:

Quote:

7.2. Copy the sources.list entry given to you after the license acceptance to your Scratchbox x86 and armel target’s /etc/apt/sources.list file. Execute the commands below on both targets.
For people afraid of vi, one could also inform that the sources.list files can also be found in the host file system as /scratchbox/users/<USER>/targets/FREMANTLE_ARMEL/etc/apt/sources.list and /scratchbox/users/<USER>/targets/FREMANTLE_X86/etc/apt/sources.list.

Also, not so obvious is that you will need to select the ARMEL target with

Code:

sb-conf se FREMANTLE_ARMEL
to execute the commands on ARMEL target.

Maybe the documentation could be clarified with this regard?

Regards,

Julius

develofer 2009-10-19 22:52

Re: Maemo 5 SDK Installation problems
 
It really could be clarified regarding to this double issue...
I still continue having this problem.
I´ve edited the two files
[sbox-FREMANTLE_ARMEL: ~] > vi /etc/apt/sources.list
[sbox-FREMANTLE_X86: ~] > vi /etc/apt/sources.list

both with the vim commands.
i for inserting text
I pasted the link after accepting EULA and
:wq for writing and quiting saving changes

I notice one thing:
In my terminal it never appeared
[sbox-FREMANTLE_<X86/ARMEL>: ~] >
but just one of both targets. (Like [sbox-FREMANTLE_ARMEL: ~] >)

I tried to select both in sb-menu but I did not figure it out...


The funniest thing is that the error is in the first line of the file:
[sbox-FREMANTLE_X86: ~] > apt-get update
Err http://repository.maemo.org fremantle/sdk Release.gpg
Temporary failure resolving 'repository.maemo.org'
...

Did anyone have the same problem?
Cannot wait to play with maemo...

Greets

allnameswereout 2009-10-19 23:09

Re: Maemo 5 SDK Installation problems
 
@ develofer, your DNS and/or routing and/or firewall is not set up correct. Are you running from within VM? Check if /etc/resolv.conf is correct, try to ping your DNS server, and check output route -n

Quote:

Originally Posted by jlu (Post 348218)
For people afraid of vi [..]

Those people can use nano -m instead.

develofer 2009-10-19 23:10

Re: Maemo 5 SDK Installation problems
 
Problem solved from different thread in the site...

sudo cp /etc/resolv.conf /scratchbox/etc/resolv.conf

Thanks maemo community ;)

develofer 2009-10-19 23:12

Re: Maemo 5 SDK Installation problems
 
@allnameswereout
Thanks for the quick reply, as I said the problem solved.
And you were right, Im under VirtualBox with MacOSX as host.
Thank you


All times are GMT. The time now is 22:12.

vBulletin® Version 3.8.8