Active Topics

 


Reply
Thread Tools
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#11
Originally Posted by ErikBam View Post
hi,
Anyone get SB installed on 64-bit Ubuntu 8.10? That's what I've got running here...(for one, the installer script doesn't work).

Yes, just download all the scratchbox .deb files listed in the installation instructions, then use dpkg -i --force-architecture to install.

Then just run the sdk setup script. Don't know if that is the best way, or that'll even work for you, but it worked fine for me.
 
Posts: 100 | Thanked: 38 times | Joined on Apr 2008
#12
This seems like a good place for this:

Code:
AF Warning: '/etc/osso-af-init/matchbox.defs' not found
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
DBUS system bus is already running, doing nothing
D-BUS session bus daemon is already running, doing nothing
Starting Sapwood image server
Starting hildon-desktop
sapwood-server: Fatal IO error 14 (Bad address) on X server :2.0.
/usr/bin/hildon-desktop: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
Starting Keyboard
/usr/bin/af-sb-init.sh: line 92: /usr/bin/hildon-input-method: No such file or directory
[sbox-FREMANTLE_ARMEL: ~] > Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
This happens when I go into scratchbox and type " af-sb-init.sh start"

also get this when i try to get nokia binaries:

Code:
$ sudo fakeroot apt-get install nokia-binaries
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  nokia-binaries: Depends: calendar-backend but it is not going to be installed
                  Depends: calendar-backend-dev but it is not going to be installed
                  Depends: fmtx-middleware but it is not going to be installed
                  Depends: initrd-progs but it is not going to be installed
                  Depends: libaccounts0 but it is not going to be installed
                  Depends: libaccounts-dev but it is not going to be installed
                  Depends: libaccounts-glade but it is not going to be installed
                  Depends: libcityinfo0-0 but it is not going to be installed
                  Depends: libcityinfo-dev but it is not going to be installed
                  Depends: libcodelockui1 but it is not going to be installed
                  Depends: liblocation0 but it is not going to be installed
                  Depends: liblocation-dev but it is not going to be installed
                  Depends: libnavigation0 but it is not going to be installed
                  Depends: libnavigation-dev but it is not going to be installed
                  Depends: libosso-abook but it is not going to be installed
                  Depends: libosso-abook-dev but it is not going to be installed
                  Depends: libosso-rtcom-accounts0 but it is not going to be installed
                  Depends: libosso-rtcom-accounts-dev but it is not going to be installed
                  Depends: librtcom-eventlogger0 but it is not going to be installed
                  Depends: librtcom-eventlogger-dev but it is not going to be installed
                  Depends: librtcom-eventlogger-plugins0 but it is not going to be installed
                  Depends: librtcom-eventlogger-plugins-dev but it is not going to be installed
                  Depends: librtcom-eventlogger-ui0 but it is not going to be installed
                  Depends: librtcom-eventlogger-ui-dev but it is not going to be installed
                  Depends: libsignon-glib0 but it is not going to be installed
                  Depends: mini-rc but it is not installable
                  Depends: osso-bookmark-engine but it is not going to be installed
                  Depends: osso-bookmark-engine-dev but it is not going to be installed
                  Depends: osso-mission-control but it is not going to be installed
                  Depends: osso-systemui but it is not going to be installed
                  Depends: osso-systemui-alarm but it is not going to be installed
                  Depends: signond0 but it is not going to be installed
                  Depends: sso-accountsuid but it is not going to be installed
                  Depends: sso-accountsuid-dev but it is not going to be installed
                  Depends: alarmd but it is not installable
                  Depends: alarmd-dbg but it is not installable
                  Depends: libalarm-dev but it is not installable
                  Depends: libalarm2-dbg but it is not installable
                  Depends: osso-systemui-dbus-dev but it is not installable
                  Depends: osso-games-startup but it is not installable
                  Depends: libhildondesktop1-dev but it is not installable
                  Depends: hildon-home but it is not installable
                  Depends: hildon-application-manager-dbg but it is not installable
                  Depends: hildon-application-manager but it is not installable
E: Broken packages

Any help would be highly appreciated.

Thanks!

Last edited by Cruelkix; 2009-03-21 at 17:03.
 
Posts: 100 | Thanked: 38 times | Joined on Apr 2008
#13
Originally Posted by BrentDC View Post
Yes, just download all the scratchbox .deb files listed in the installation instructions, then use dpkg -i --force-architecture to install.

Then just run the sdk setup script. Don't know if that is the best way, or that'll even work for you, but it worked fine for me.

This is also what I did for my Ubuntu 8.10 32bit and it worked for me as well. There are some def probs with teh installation walkthrough tho.

Like set your vm.mmap_min_addr=4096 not to 4097 like the install says.
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#14
Originally Posted by Cruelkix View Post
This is also what I did for my Ubuntu 8.10 32bit and it worked for me as well. There are some def probs with teh installation walkthrough tho.

Like set your vm.mmap_min_addr=4096 not to 4097 like the install says.
Yeah, you also need to add vdso32=0 in the kernel line in the grub list.
 
Posts: 100 | Thanked: 38 times | Joined on Apr 2008
#15
Originally Posted by BrentDC View Post
Yeah, you also need to add vdso32=0 in the kernel line in the grub list.

Any thoughts on my issue above brent? Post #13
 
Posts: 100 | Thanked: 38 times | Joined on Apr 2008
#16
Using killall from teh sb-meu with 9 as the process number worked to allow me to switch to x86. Now i can load run the af-sb-init.sh start command and I get my screen!

Now when I run the next one to load hildon-home i get this:

Code:
[sbox-FREMANTLE_X86: ~] > run-standalone.sh hildon-home &
[1] 26733
AF Warning: '/etc/osso-af-init/matchbox.defs' not found
/usr/bin/run-standalone.sh: line 11: hildon-home: command not found
[1]+  Exit 127                run-standalone.sh hildon-home
And of course when i go to /usr/bin hildon-home is not in there.

neat.

Cruelkix
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#17
Originally Posted by qwerty12 View Post
echo 4096 > /proc/sys/vm/mmap_min_addr
This is now needed for openSUSE 11.2 (Milestone 6), probably in final too.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#18
Aargh...!

The above is working up to 2.6.31-rc6. After that there is a vulnerability fixed in the kernel and after 2.6.31-rc7 in any distribution, the above fix will not work and the scratchbox (Fremantle's too) installation will fail.

Currently I wasn't able to find a workaround (though someone mentioned that SELinux installation fixes it). If anyone did find such workaround, please share, because this is going to be a major issue in newer distros.

More info:
http://lists.scratchbox.org/pipermai...st/001521.html

P.S. Technically there is a workaround, I'm with -rc6 now
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2009-09-06 at 11:38.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Posts: 20 | Thanked: 11 times | Joined on Oct 2007 @ Germany
#19
Originally Posted by Bundyo View Post
This is now needed for openSUSE 11.2 (Milestone 6), probably in final too.
I use openSUSE 11.2 64 Bit and try to install maemo sdk.

To install scratchbox, I used the scratchbox installer script of maemo 5, downloaded from forum Nokia, because the maemo 4 installer don't work on my system. And I also want to try freemantle SDK even I don't have a N900. So, to test, I also installed the maemo5 SDK and it seems freemantle armel and x86 works well with scratchbox.

But I need the diablo SDK, to compile programs for my N810. So I installed manually some scratchbox packages needed for diablo:

scratchbox-toolchain-cs2005q3.2-glibc2.5-i386-1.0.7-i386.tar.gz
scratchbox-toolchain-cs2005q3.2-glibc2.5-arm-1.0.7.2-i386.tar.gz
scratchbox-devkit-maemo3-1.0.3-i386.tar.gz
scratchbox-devkit-cputransp-1.0.9-i386.tar.gz

Then I following the instructions of the diablo install manual to install diablo x86 and armel SDKs inside scratchbox. With the x86 target all works well. Runs without problems so far. The armel target also installs, but when I try to run

apt-get install maemo-sdk-dev

it fails with much "mmap: Permission denied" errors. Just as in the first posting of this thread.

I also tried
sysctl abi.vsyscall32=0
echo 4096 > /proc/sys/vm/mmap_min_addr

before starting scratchbox and run "apt-get install maemo-sdk-dev" again, but nothing changes.

Someone running scratchbox on openSUSE 11.2 and have a solution for this problem?
 
Posts: 11 | Thanked: 4 times | Joined on Dec 2009 @ Lisboa, Portugal
#20
I also have openSUSE 11.2 and the same happens to me. Everything works normally in the x86 target but qmake gives "mmap: Permission denied" when executed.

After reading the mailing list pointed by Bundyo I was able to run a couple of commands and using the SDK build a project in the ARMEL target.

Originally Posted by Bundyo View Post
More info:
http://lists.scratchbox.org/pipermai...st/001524.html
So it looks like you have to do more or less the opposite of what I've been reading. Instead of reducing the mmap limit, since qemu uses it to offset the application addresses, you have to increase it. But I'm not sure if I understood it correctly. I also have no idea of the implications this has on the host system. Hope nothing breaks.

Code:
$> echo 1048576 > /proc/sys/vm/mmap_min_addr
I've confirmed that all mmap addresses are shifted after this with strace.

Last edited by m4ktub; 2009-12-28 at 02:08.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:48.