maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Arch linux anyone? (https://talk.maemo.org/showthread.php?t=50021)

TheAccountant 2010-04-14 18:58

Arch linux anyone?
 
Hi.

Has anyone installed the development tools in Arch Linux?

I did install Debian but it ran soo slowly on my machine, I didn't bother installing the scratchbox and what not.

Cheers.

slaapliedje 2010-04-14 19:05

Re: Arch linux anyone?
 
If you search Arch Linux's forums, someone has managed to do it, and was going to create a PKGBUILD but they were side tracked doing something else.

http://bbs.archlinux.org/viewtopic.php?id=83736

slaapliedje

jfk 2010-04-14 19:15

Re: Arch linux anyone?
 
I'm running the tools on Arch. What exactly are your problems?
I only had difficulties with ESbox.

shapeshifter 2010-04-14 19:43

Re: Arch linux anyone?
 
I also run the SDK on arch. both the old one and the pr1.2 one run well on two of my arch boxes. The fact that it might run slowly is normal depending on your box.

TheAccountant 2010-04-14 20:05

Re: Arch linux anyone?
 
slaapliedje: I looked on the forum, but there were no instructions. As for the build, yea, it kinda fizzled out!

jfk: Well, I was just looking for instructions. I mean, I tried to manually install xserver-xephyr with various combos with no luck (pacman -S etc...).

Dont suppose you could just post a quick install notes?

Thanks.

EDIT: Might be an idea to post onto the Arch Wiki?

jfk 2010-04-14 20:10

Re: Arch linux anyone?
 
I simply followed the normal installation instructions. Xephyr should already be installed because it's part of the package 'xorg-server'.

TheAccountant 2010-04-14 20:25

Re: Arch linux anyone?
 
But the instructions are for Debian systems?

Sorry, it took me ages to find a Linux system that was quick and I don't really want to start "testing" instructions without knowing that they work and wont break my system!

patstew 2010-04-14 20:47

Re: Arch linux anyone?
 
Just follow the instructions under "Installing Maemo 5 SDK on x86-32 Debian based distribution" on http://wiki.maemo.org/Documentation/...l_Installation, ignoring the bit about Xephyr (it's installed on arch normally, don't use the AUR package) then use a little script to start and stop it, eg I use this in /usr/local/bin/maemo :
Code:

#!/bin/bash
sudo sysctl abi.vsyscall32=0
sudo ~/maemo/scratchbox/sbin/sbox_ctl start
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
~/maemo/scratchbox/login
killall -q Xephyr
sleep 1
sudo ~/maemo/scratchbox/sbin/sbox_ctl stop
sudo sysctl abi.vsyscall32=1

Obviously my SDK is installed in ~/maemo. I don't remember any particular problems, but I installed it ages ago before I got my N900 so I could have a look at the UI so I may have forgotten.

TheAccountant 2010-04-15 17:58

Re: Arch linux anyone?
 
Ok, I tried to follow it and am getting nowhere!

Basically, I tried to run the first script and tried:

Code:

./maemo-scratchbox-install_5.0.sh -s /opt/scratchbox -u USERNAME
And got some messages but nothing in /opt/scratchbox
Code:

This script will install Scratchbox 1.0.14 'apophis' release to your computer.

Install options
---------------

Install from packages=tgz
Scratchbox install path=/opt/scratchbox
Scratchbox group=sbox
armel compiler=cs2007q3-glibc2.5-arm
i386 compiler=cs2007q3-glibc2.5-i386
armel devkits=perl:debian-etch:qemu:doctools:svn:git
i386 devkits=perl:debian-etch:doctools:svn:git
armel CPU transparency=qemu-arm-sb

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

Running as user root... yes
Not running as user root inside fakeroot... yes
Running outside of scratchbox... yes
Scratchbox installation existing... no
Running on Linux kernel... yes
Running on i386 architecture... yes
Host kernel binfmt_misc support... yes
Host kernel VDSO support... no
E: Host kernel VDSO support is incompatible with scratchbox.
E: You can disable VDSO support for this session with
E: 'echo 0 > /proc/sys/vm/vdso_enabled' as root
E: For a permanent solution you may add 'vm.vdso_enabled = 0'
E: to /etc/sysctl.conf and run 'sysctl -p' as root

I am guessing it didn't download anything????

Thanks.

TheAccountant 2010-04-17 12:58

Re: Arch linux anyone?
 
** bump **

TheAccountant 2010-04-18 12:40

Re: Arch linux anyone?
 
Ok solved it...

Should have read!

Basically, I added "vm.vdso_enabled = 0" to /etc/sysctl.conf, then ran sysctl -p. Then to install I ran ./maemo-scratchbox-install_5.0.sh -s /opt/scratchbox -u USERNAME

Thanks guys!


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

vBulletin® Version 3.8.8