shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash 4.0


From: tuxhld
Subject: Bash 4.0
Date: Mon, 13 Apr 2009 18:13:33 -0000
User-agent: eGroups-EW/0.82

Acessei o home do bash
http://www.caliban.org/bash/

baixei a última versão 4.0
ftp://ftp.cwru.edu/pub/bash/bash-4.0.tar.gz

tar xvfz bash-4.0.tar.gz
cd bash-4.0
./configure --prefix=/opt/bash-4.0
make
make install

Correu tudo bem na instalação. Mas quando fui utilizar apareceu um bud após o 
TAB para completar.

cd /opt/bash-4.0/bin
ls *  <TAB>                              
malloc: /Users/chet/src/bash/src/parse.y:5561: assertion botched
free: called with unallocated block argument
last command: echo $$
Aborting...Aborted

Com isso, procurei pelo patch e baixei o último em
ftp://ftp.cwru.edu/pub/bash/bash-4.0-patches/bash40-017

E quando fui aplica-lo apareceu o seguinte erro: 

$ patch < ../bash40-017 
patching file parse.y
Hunk #1 succeeded at 1878 (offset -2 lines).
patching file patchlevel.h
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file patchlevel.h.rej

Alguém já conseguiu com sucesso compilar essa última versão do bash 4 com o 
patch?

[]'s
Humberto Lino.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]