You are not logged in.

#1 2010-05-05 09:13:13

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

How to compile for arch on Ubuntu without root?

Maybe this is not the right section, but since it is about compiling...

I have access to a rather powerful server, so I thought I could maybe compile some AUR packages like kernel-rc there. Unfortunately it runs ubuntu so gcc is still 4.4 and all the base libs don't match.
I thought about installing a minimal arch system in a chroot but you need root to chroot...
My next thought was crosscompiling gcc for ubuntu set up to crosscompile for arch... Doesn't sound fun to set up.
Any other ideas?

smile


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2 2010-05-05 12:19:31

knopwob
Member
From: Hannover, Germany
Registered: 2010-01-30
Posts: 239
Website

Re: How to compile for arch on Ubuntu without root?

I have fiddled around with fakechroot a while ago. I think, that may work for your situation

Offline

#3 2010-05-05 12:25:51

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: How to compile for arch on Ubuntu without root?

*edit: rephrasing*

Do you have (or can you get) permission to run a virtual machine on the server? I compile packages for i686 on x86_64 using a minimal (i686) Arch system in KVM and it works well. I find it to be very clean and easy to manage.

Last edited by Xyne (2010-05-05 12:29:52)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2010-05-05 16:44:36

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: How to compile for arch on Ubuntu without root?

I don't think they would set up or like the users running vms...
fakechroot is not installed but fakeroot so I think I could get it to work... Any good introductions to this?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#5 2010-05-05 23:23:03

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: How to compile for arch on Ubuntu without root?

Another option that may be worth considering as a last resort is User Mode Linux. I think it can run without root privileges.  Performance may be an issue though depending on the size of the packages.

Offline

Board footer

Powered by FluxBB