failure to install bash in Zorin-os system

2013-12-05 Thread Jianfeng Menglu
I am installing Bash into zorin-os system. According to install
instruction, I have successfully passed "configuration", "make' and "make
tests". When I typed "make install", to install, the following message come
up and the installation stopped.

Is there any suggestion to fix this?

Thanks.

Jianfeng

  ***
  * *
  * GNU bash, version 4.2.0(1)-release (x86_64-unknown-linux-gnu)
  * *
  ***

mkdir -p -- /usr/local/share/man/man1
mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission
denied
make: *** [installdirs] Error 1


Re: failure to install bash in Zorin-os system

2013-12-05 Thread Pierre Gaston
On Thu, Dec 5, 2013 at 8:37 AM, Jianfeng Menglu wrote:

> I am installing Bash into zorin-os system. According to install
> instruction, I have successfully passed "configuration", "make' and "make
> tests". When I typed "make install", to install, the following message come
> up and the installation stopped.
>
> Is there any suggestion to fix this?
>
> Thanks.
>
> Jianfeng
>
>   ***
>   * *
>   * GNU bash, version 4.2.0(1)-release (x86_64-unknown-linux-gnu)
>   * *
>   ***
>
> mkdir -p -- /usr/local/share/man/man1
> mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission
> denied
> make: *** [installdirs] Error 1
>

I don't know what zorin-os is but most likely you need root access to be
able to install it like this, maybe try to run:
sudo make install


Re: failure to install bash in Zorin-os system

2013-12-05 Thread Chet Ramey
> mkdir -p -- /usr/local/share/man/man1
> mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission
> denied
> make: *** [installdirs] Error 1

`make install' attempts to install bash under /usr/local.  You don't have
permission to write to /usr/local or one of its subdirectories.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



Re: savannah.gnu.org bug tracker unused?

2013-12-05 Thread Chet Ramey
> Maybe bash needs a "set paste/nopaste" type option (but properly bashicised)
> like vim has to resolve a similar problem.

set +o emacs +o vi

[paste]

set -o vi

(or emacs, depending on your needs)

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



Re: Bash fails to build with -Werror=format-security

2013-12-05 Thread Chet Ramey
> Hi, this patch fixes a minor issue of bash not building if compiled with 
> -Werror=format-security

Thanks for the report.  This was changed in the development sources in mid-
February 2012.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



Re: failure to install bash in Zorin-os system

2013-12-05 Thread Jianfeng Menglu
I have resolved the problem by taking the advice from Pierrce. Thanks for
your help.

Michael


On Thu, Dec 5, 2013 at 9:19 AM, Chet Ramey  wrote:

> > mkdir -p -- /usr/local/share/man/man1
> > mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission
> > denied
> > make: *** [installdirs] Error 1
>
> `make install' attempts to install bash under /usr/local.  You don't have
> permission to write to /usr/local or one of its subdirectories.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRUc...@case.edu
> http://cnswww.cns.cwru.edu/~chet/
>