![]() |
Scratchbox under 64 bit Linux alternative
I have dual-boot 32 bit and 64 bit Ubuntu, but usually boot into 64 bit. I am running 64 bit but have scratchbox working (except for kernel compiles which requries a "mmap" program I get permission denied).
First, I have /dev/sda2 as 32 bit Ubuntu, /dev/sda3 as /home, and /dev/sda4 as 64 bit Ubuntu as the default. /dev/sda2 has scratchbox installed and working and I was using that. So, booting into 64 bit: I mount the 32 bit linux as /media/UBUNTU on bootup. I switch to root (sudo -s). Then I mount the duplicate proc in the right places using "mount -a -t proc" as root. After that I "chroot /media/UBUNTU", then run "/etc/init.d/scratchbox-core start" I do "su myaccount", then "scratchbox" and it works. apt-get works. So does all the build stuff except the kernel as I've noted (and which I'm working on tracking down). This is my mtab: Code:
/dev/sda2 /media/UBUNTU ext3 rw,relatime,errors=remount-ro 0 0 |
Re: Scratchbox under 64 bit Linux alternative
There's no need for 32bit chroot, scratchbox works ok with the normal 32bit libs installed.
|
Re: Scratchbox under 64 bit Linux alternative
This previous discussion on using ia32-libs, setarch and no chroot may help:
http://www.internettablettalk.com/fo...ad.php?t=22934 |
Re: Scratchbox under 64 bit Linux alternative
I ended with running scratchbox into a 32-bit virtual machine with VirtualBox ... not exactly ideal, but I like this solution...
|
Re: Scratchbox under 64 bit Linux alternative
Quote:
|
Re: Scratchbox under 64 bit Linux alternative
The alternative for installing on 64 bit (at least with the scripts) fails. Even with setarch i386, apt-get update insists on looking for arm64 binaries in binary-arm64 directories and can't find them.
|
Re: Scratchbox under 64 bit Linux alternative
My solution was vmware. I run 32 bit ubuntu hardy on vmware and things work quite smoothly. Finally I have build environment to play with. Started by compiling xbill :-)
http://asd.fi/~petri/romu/xbill_on_maemo_small.png |
Re: Scratchbox under 64 bit Linux alternative
Quote:
|
All times are GMT. The time now is 04:39. |
vBulletin® Version 3.8.8