View Single Post

   
  #2 (permalink)  
Old 02-19-2008, 08:19 PM
Stuart Winter
 
Posts: n/a
Default Re: being a normal user to build package

On Tue, 25 Jan 2005 00:03:31 +0100, olive.lin@versateladsl.be wrote:

> since we do a make install; maybe not with the official build scripts
> (which are well tested) but well with home-made or hacked build scripts.
>
> This approach contradicts the philosophy of never being root when you do not
> really need to.


I have had this discussion with Pat before; it's simply a more tried
and tested way to build packages for Slackware -- as root.

However, you could download fakeroot:
http://www.interlude.org.uk/unix/slackware

Build the package from the source I provide and in your script, do:

../configure
blah
make blah

fakeroot
chown -R root:bin blah
makepkg blah

You could also use slacktrack in combination with fakeroot (if you have it installed)
with its --froot option.

--
www.armedslack.org
| "Washing machines live longer with Calgon"
Reply With Quote