You are not logged in.
I'm a little confused about the use of makepkg and abs. I want to compile mplayer from source (to get live-media support). So I got the package with abs, with "abs extra/mplayer." The I cd-ed to "/var/abs/extra/mplayer," edited the PKGBUILD, and tried to run "makepkg -g >> PKGBUILD." But I got a message saying running makepkg as root is a bad idea. So I exited my root prompt and tried to run it not as root and got an error saying permission denied. So I tried sudo and that didn't work either.
What am I missing? Should I just move the mplayer directory with the PKGBUILD file to a directory in my home partition? Should I just go ahead and use the --asroot option? I looked at the wiki article on makepkg, but don't see an answer to what's going on.
Thanks for any help.
Offline
Just copy the directory somewhere and build there as a normal user. I usually use ~/builds. Also, you need "makepkg -g >> PKGBUILD" only if you modify sources, patches etc, not if you modify PKGBUILD.
Offline
Install fakeroot, and do all your building in your $HOME, as recommended on various related wiki pages.
Offline
Okay, thanks for the explanations.
Offline