![]() |
2009-10-25
, 19:03
|
|
Posts: 932 |
Thanked: 278 times |
Joined on Sep 2009
@ Kentucky
|
#22
|
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.
![]() |
2009-12-04
, 09:40
|
Posts: 526 |
Thanked: 99 times |
Joined on Sep 2009
|
#23
|
![]() |
2009-12-04
, 11:15
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#24
|
The Following 3 Users Say Thank You to SubCore For This Useful Post: | ||
![]() |
2010-07-06
, 22:41
|
|
Posts: 122 |
Thanked: 22 times |
Joined on Jun 2010
@ China
|
#25
|
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
$ 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.
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 -->