Commit db8ed05c authored by Pablo Toharia's avatar Pablo Toharia

Fix bash-4.2.53 installer.

parent ba665613
#!/bin/bash
export BASH_VERSION=4.2.53
sudo apt-get install flex bison
cd $HOME/opt/src
wget http://ftp.gnu.org/gnu/bash/bash-4.2.53.tar.gz
tar zxvf bash-4.2.53.tar.gz
cd bash-4.2.53
export PREFIX=$HOME/opt/bash-4.2.3
./configure --prefix=$PREFIX \
--bindir=$PREFIX/bin \
--htmldir=$PREFIX/share/doc/bash-4.2 \
--without-bash-malloc \
wget http://ftp.gnu.org/gnu/bash/bash-${BASH_VERSION}.tar.gz
tar zxvf bash-${BASH_VERSION}.tar.gz
cd bash-${BASH_VERSION}
export PREFIX=$HOME/opt/bash-${BASH_VERSION}
./configure --prefix=$PREFIX \
--bindir=$PREFIX/bin \
--htmldir=$PREFIX/share/doc/bash-${BASH_VERSION} \
--without-bash-malloc \
--with-installed-readline
NUM_PROC=`grep processor /proc/cpuinfo | wc -l`
NUM_JOBS=`echo $NUM_PROC - 1 | bc`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment