|
2010-10-23
, 03:29
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#2
|
|
2010-10-23
, 03:35
|
Posts: 227 |
Thanked: 51 times |
Joined on Feb 2006
|
#3
|
|
2010-10-23
, 05:40
|
Posts: 540 |
Thanked: 387 times |
Joined on May 2009
|
#4
|
$ su - # wget http://tablets-dev.nokia.com/4.1/maemo-scratchbox-install_4.1.sh # chmod +x maemo-scratchbox-install_4.1.sh
# echo 0 > /proc/sys/vm/vdso_enabled # echo 0 > /selinux/enforce # ./maemo-scratchbox-install_4.1.sh -s /scratchbox
# /scratchbox/sbin/sbox_adduser linuxeventually Add user linuxeventually to group 'sbox'? [yes/no] (yes): yes Scratchbox user account for user linuxeventually added
$ su - # wget http://tablets-dev.nokia.com/4.1/maemo-sdk-install_4.1.sh # chmod +x maemo-sdk-install_4.1.sh
# /scratchbox/sbin/sbox_ctl start # echo 0 > /proc/sys/vm/vdso_enabled # echo 0 > /selinux/enforce # ./maemo-sdk-install_4.1.sh
Installation was successful! Happy hacking!
$ /scratchbox/login > fakeroot apt-get install maemo-explicit > exit
# startsb() { echo 0 > /proc/sys/vm/vdso_enabled; echo 0 > /selinux/enforce; /scratchbox/sbin/sbox_ctl start; echo 0 > /proc/sys/vm/mmap_min_addr; exit; }
# export EDITOR=nano; visudo %wheel ALL=(ALL) NOPASSWD: ALL linuxeventually ALL = (ALL) NOPASSWD: /usr/bin/maemosb
#!/bin/bash ####################################### ###Script saved to /usr/bin/maemosb ### ####################################### echo 0 > /proc/sys/vm/vdso_enabled; echo 0 > /selinux/enforce; /scratchbox/sbin/sbox_ctl start; echo 0 > /proc/sys/vm/mmap_min_addr; exit;
# chmod +x /usr/bin/maemosb # chmod 777 /usr/bin/maemosb # chmod u+s /usr/bin/maemosb
$ msb() { sudo maemosb; /scratchbox/login; }
$ msb Starting Scratchbox: binfmt_misc, mount. Welcome to Scratchbox, the cross-compilation toolkit! Use 'sb-menu' to change your compilation target. See /scratchbox/doc/ for documentation. [sbox-DIABLO_ARMEL: ~] >
The Following 2 Users Say Thank You to linuxeventually For This Useful Post: | ||
|
2010-10-23
, 19:22
|
Posts: 227 |
Thanked: 51 times |
Joined on Feb 2006
|
#5
|
|
2010-10-24
, 10:56
|
Posts: 540 |
Thanked: 387 times |
Joined on May 2009
|
#6
|
I got QT creator working on my Mac laptop but found out that native N900 development really needs a linux box.
It appears that scratchbox install scripts won't work right on my fedora 13 server. Scratchbox needs dpkg and Fedora's package manager has the following to say about dpkg:
"dpkg and dselect will certainly be non-functional on a rpm-based system because packages dependencies will likely be unmet."
So I'm screwed... I made enough mistakes setting up this box that I am willing to wipe and reload. Kubuntu is an obvious choice.
Some questions for the more knowledgeable folks:
Has anyone made Fedora work for a dev platform?
I thought Meego was RPM based? How is that going to work if all the build tools are deb based?
What distribution will be Meego compatible? Will I be facing the same issue in reverse with Meego development?
Thanks,
David
David Smoot