Active Topics

 


Reply
Thread Tools
Posts: 547 | Thanked: 1,383 times | Joined on Sep 2009 @ Stockholm, Sweden
#21
Originally Posted by epage View Post
I noticed the fremantle build queue has been at a stand still for about 24 hours. Is this because of a switch with the SDK?
I assume this is the reason: http://lists.maemo.org/pipermail/mae...er/021239.html
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->
 
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#22
Originally Posted by joshua.maverick View Post
I know Nathan was working on a simple install package to get the sdk up and running, but I have had no success. Is anybody running the sdk on windows 7 with vmware, and would they care to help me get started? I want to start developing but getting started has bee a nightmare.
Here you go. Enjoy.
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#23
HI All,

I need help with the installation and setting up of the Maemo SDK. I have VMWare 7, but my friend said I should just set up a dual boot on my PC, so that I have the full version of Ubuntu.

Which is the preferred method for setting up the SDK?

Also I think looked at this link
http://www.forum.nokia.com/info/sw.n...emo_5_SDK.html
Which has the install packages but I noticed there are 3
GUI,ScratchBox and Installer.

Do I need to install all three of these? It would be really cool, if one you clever dudes did a step by step guide for setting up the SDK for us noobs to Maemo :-)

Thanks
Chris
__________________
Christopher Stobbs

My Blog
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#24
the step by step guide for installing the SDK under Linux can be found here.

regarding performance, an installation under a native linux system (i.e. one that runs directly on the hardware and not in a virtual environment) is of course faster, but depending on what you plan to do with the SDK, a virtual solution can be quite sufficient.

and it has the advantage that there are already complete virtual images which either contain all the necessary components (scratchbox, xephyr, SDK), or provide setup scripts doing all the work for you, minimizing the effort you have to put in.

these preconfigured virtual images can be found here:
http://maemovmware.garage.maemo.org/ for VMware images
http://maemo.org/downloads/product/PC/vpc-sdk/ for Virtual PC images
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 

The Following 3 Users Say Thank You to SubCore For This Useful Post:
jukzh's Avatar
Posts: 122 | Thanked: 22 times | Joined on Jun 2010 @ China
#25
Originally Posted by Hogwash View Post
I have installed the final Maemo 5 SDK on Fedora 11 and it works beautifully. I'm enjoying playing with the system/software before I even get my device!

I'll append my install notes to help fellow Fedora devs

>>>

Installation notes for Fedora 11
(may work on any non-debian)
--------------------------------


***
If you have a machine capable of running VMWare Server -
- install a debian VM
- follow the standard installation
- so much easier
***


$ yum search xephyr
$ yum install xorg-x11-server-Xephyr

Nix SELinux

add "vm.vdso_enabled = 0" to /etc/sysctl.conf
$ systctl -p

add user maemo:maemo

download scratchbox tarball packages from scratchbox.org:

scratchbox-core 1.0.17
scratchbox-libs 1.0.17
scratchbox-devkit-qemu 0.10.0-0sb5
scratchbox-devkit-debian 1.0.10
scratchbox-devkit-doctools 1.0.13
scratchbox-devkit-perl 1.0.4
scratchbox-devkit-apt-https 1.0.10
scratchbox-toolchain-host-gcc 1.0.17
scratchbox-toolchain-cs2007q3-glibc2.5-arm7 1.0.12-10
scratchbox-toolchain-cs2007q3-glibc2.5-i486 1.0.12-8
scratchbox-devkit-svn 1.0
scratchbox-devkit-git 1.0.1

untar all packages into common folder (eg: /home/user/scratchbox)
$ for i in *.tar.gz; do tar -xvf "$i"; done

make symbolic link to above folder as /scratchbox -> /home/user/scratchbox

$ /scratchbox/run_me_first.sh

$ /scratchbox/sbin/sbox_adduser maemo

$ groups (verify group sbox exists - may need to logout/login before verifying)

run maemo-sdk-install_5.0.sh as user maemo (go make a cup of tea)


When machine is rebooted:

$ sudo /scratchbox/sbin/sbox_ctl start

or

$ ln -s /scratchbox/sbin/sbox_ctl /etc/init.d/scratchbox-core
$ /usr/sbin/update-rc.d scratchbox-core defaults


Remember to set build targets in scratchbox:

$ /scratchbox/login
$ sb-conf select FREMANTLE_ARMEL
or
$ sb-conf select FREMANTLE_X86


***NOKIA BINARIES***
In order to obtain Nokia-closed binaries, visit
http://tablets-dev.nokia.com/eula/index.php to accept the End User
License Agreement. You will be given a token to access the Nokia
binaries repository with further instructions.

login to scratchbox
add line to /etc/apt/sources.list
"deb http://repository.maemo.org/ fremantle/******************************** nokia-binaries"

execute the following commands on both targets within scratchbox:
$ apt-get update
$ fakeroot apt-get install nokia-binaries nokia-apps


$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &

$ /scratchbox/login

[sbox-FREMANTLE_X86: ~] >export DISPLAY=:2

[sbox-FREMANTLE_X86: ~] >af-sb-init.sh start

[sbox-FREMANTLE_X86: ~] >af-sb-init.sh stop



NOTE: Token removed as EULA states that it should not be shared. Thanks. -- Reggie
Downloaded tools as you said, got this:
Code:
$ maemo/maemo-sdk-install_5.0.sh -q qemu-armeb-sb
This script will install maemo SDK 5.0 fremantle release to your computer.

Install options
Force remove of existing targets (no)
Alternative sources.list ('')

Target configuration for armel (FREMANTLE_ARMEL)
compiler=cs2007q3-glibc2.5-arm7
devkits=perl:debian-etch:qemu:doctools:svn:git
cputransp=qemu-armeb-sb

Target configuration for i386 (FREMANTLE_X86)
compiler=cs2007q3-glibc2.5-i486
devkits=perl:debian-etch:doctools:svn:git

Checking for prerequisites
--------------------------

wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... which: no dpkg in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/user/bin)
not found.
Running outside of scratchbox... yes
Script not run as user root... yes
Scratchbox installation found... yes
Scratchbox home directory... yes
Scratchbox sb-conf tool... yes
Scratchbox user's bind mount... yes
Scratchbox user's /dev set up... yes
Scratchbox home directory... yes
Scratchbox login... yes
Scratchbox login executable... yes
Scratchbox sb-conf tool works... yes
Scratchbox version requirement met... maemo/maemo-sdk-install_5.0.sh: line 214: --compare-versions: command not found
maemo/maemo-sdk-install_5.0.sh: line 218: --compare-versions: command not found
maemo/maemo-sdk-install_5.0.sh: line 222: --compare-versions: command not found
yes
Scratchbox CPU transparency method for ARMEL is present... yes
Scratchbox toolchains... no
E: Toolchain cs2007q3-glibc2.5-arm7 required for 'FREMANTLE_ARMEL' target.
E: Toolchain cs2007q3-glibc2.5-i486 required for 'FREMANTLE_X86' target.
E: Please complete scratchbox installation first.
E: Specify an alternative installation path using '-s PATH' option.
And another question for Fedora users, it's arm-gpx2-linux-* tools instead of arm-linux-gnueabi-* tools how is different?
 
Reply


 
Forum Jump


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