View Single Post

   
  #7 (permalink)  
Old 02-19-2008, 09:19 PM
Olive
 
Posts: n/a
Default Re: being a normal user to build package

Stuart Winter wrote:

> 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


Many thanks for the info! I have just tried fakeroot (which I did not know
before).




Reply With Quote