You are not logged in.

#1 2012-07-07 04:15:49

berbs
Member
Registered: 2012-06-30
Posts: 6

[SOLVED] building packages with makepkg --asroot

Can somebody please direct me to a post or briefly explain why I always have to run makepkg --asroot ?

More specifically I always have to type sudo makepkg --asroot to get any package to build.  I am fairly new to this distribution, so please bare with me.  Thanks!

Last edited by berbs (2012-07-07 12:15:06)

Offline

#2 2012-07-07 04:31:39

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: [SOLVED] building packages with makepkg --asroot

I don't have an application called pkgbuild on my system here. Where did you get it from?
Have you tried using the application makepkg ?


You're just jealous because the voices only talk to me.

Offline

#3 2012-07-07 04:34:59

berbs
Member
Registered: 2012-06-30
Posts: 6

Re: [SOLVED] building packages with makepkg --asroot

Sorry, I meant makepkg yes, I will edit my original post to make more sense.

Offline

#4 2012-07-07 06:32:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] building packages with makepkg --asroot

Build your packages in a subdirectory of your $HOME.

Offline

#5 2012-07-07 11:39:06

berbs
Member
Registered: 2012-06-30
Posts: 6

Re: [SOLVED] building packages with makepkg --asroot

I have been doing that, I try to run makepkg -s in ~/Downloads/<Extracted directory PKGBUILD is in/>

When I try to do this I get the error:

==> ERROR: Cannot find the fakeroot binary required for building as non-root user.

So everytime I want to makepkg I have to run it using sudo makepkg -s --asroot

Offline

#6 2012-07-07 11:42:06

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] building packages with makepkg --asroot

Offline

#7 2012-07-07 11:42:22

Banton
Member
Registered: 2010-05-28
Posts: 67

Re: [SOLVED] building packages with makepkg --asroot

Install fakeroot or better the base-devel group. And maybe read the wikipage about makepkg.

Offline

#8 2012-07-07 12:14:45

berbs
Member
Registered: 2012-06-30
Posts: 6

Re: [SOLVED] building packages with makepkg --asroot

Wow, why I didn't think to install fakeroot is beyond me but that solved everything.  Thank you very much for your help guys (possibly gals) !

I will change thread to solved.

Offline

Board footer

Powered by FluxBB