Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread 杨令
> > -- Forwarded message -- > From: mudongliang > To: arch-general@archlinux.org > Cc: > Date: Fri, 11 Sep 2015 15:28:59 +0800 > Subject: [arch-general] PKGBUILD ERROR > I got the following errors in "yaourt -S sublime-text-dev" : > > subl

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Ralf Mardorf
On Fri, 11 Sep 2015 16:14:29 +0800, mudongliang wrote: >I think that installing package always needs root privilege by default. It does, but building doesn't (fakeroot). At the right time yaourt will ask you for the password. A while back makepkg provided the --asroot option, but it was dropped.

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Eli Schwartz
On Fri, Sep 11, 2015 at 4:14 AM, mudongliang wrote: > Read the relevant docs and ensure you understanging what the process you >> are trying to follow is doing. >> > I think that installing package always needs root privilege by default. > So I don't know why this error happens! I remove "sudo" i

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread mudongliang
On 09/11/2015 04:04 PM, Eli Schwartz wrote: On Fri, Sep 11, 2015 at 3:50 AM, mudongliang wrote: I am newbie to Archlinux. Today I installed archlinux in my notebook. I don't know how to fix this problem. I searched , but found no useful solutions. - mudongliang Have you tried *obeying

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread mudongliang
On 09/11/2015 03:59 PM, Dave wrote: On 11 September 2015 08:50:35 BST, mudongliang wrote: On 09/11/2015 03:38 PM, Anatol Pomozov wrote: Hi On Fri, Sep 11, 2015 at 12:28 AM, mudongliang wrote: ==> ERROR: Running makepkg as root is not allowed as it

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Eli Schwartz
On Fri, Sep 11, 2015 at 3:50 AM, mudongliang wrote: > I am newbie to Archlinux. Today I installed archlinux in my notebook. > I don't know how to fix this problem. I searched , but found no useful > solutions. > - mudongliang > Have you tried *obeying the message* and running makepkg as a no

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Dave
On 11 September 2015 08:50:35 BST, mudongliang wrote: > > >On 09/11/2015 03:38 PM, Anatol Pomozov wrote: >> Hi >> >> On Fri, Sep 11, 2015 at 12:28 AM, mudongliang > >> wrote: >>> ==> ERROR: Running makepkg as root is not allowed as it can cause >>> permanent, >>> catastrophic damage to your syste

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Leonidas Spyropoulos
On 11/09/15, mudongliang wrote: > Please add $VISUAL to your environment variables > for example: > export VISUAL="vim" (in ~/.bashrc) > (replace vim with your favorite editor) > > ==> Edit PKGBUILD with: vim Edit your ~/.bashrc and add the suggested env variable. > > ==> ERROR: Running makepkg

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread mudongliang
On 09/11/2015 03:38 PM, Anatol Pomozov wrote: Hi On Fri, Sep 11, 2015 at 12:28 AM, mudongliang wrote: ==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. What exactly in the message above is not clear for you? I am newbie to Arc

Re: [arch-general] PKGBUILD ERROR

2015-09-11 Thread Anatol Pomozov
Hi On Fri, Sep 11, 2015 at 12:28 AM, mudongliang wrote: > > ==> ERROR: Running makepkg as root is not allowed as it can cause > permanent, > catastrophic damage to your system. > What exactly in the message above is not clear for you?

[arch-general] PKGBUILD ERROR

2015-09-11 Thread mudongliang
I got the following errors in "yaourt -S sublime-text-dev" : sublime-text-dev 3.3083-2 (2015-07-07 21:14) ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ==> y Please add $VISUAL to your environment variables for