I would like to install the latest version of gcc on a Linux cluster. I do not have administration privileges so I am trying to install it locally on my account.
So far I have tried following the directions included on
http://www.levlafayette.com/node/137:
Installing gcc from source:
Download the latest version of the gcc file from:
http://ftp.gnu.org/gnu/gcc/gcc-4.8.1/
tar xvf gcc-4_8_1.tar.gz
cd /home/geo6/software
export SRCDIR="$(pwd)"
export PREFIX="/home/geo6/software/gcc-4.8.1"
rm -rf ../gcc-build
mkdir ../gcc-build
cd ../gcc-build
"$SRCDIR"/configure --prefix="$PREFIX" --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --with-mpfr=$MPFR_DIR --with-gmp=$GMP_DIR --with-mpc=$MPC_DIR
"$SRCDIR"/configure --prefix="$PREFIX" --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --with-mpfr=$MPFR_DIR --with-gmp=$GMP_DIR --with-mpc=$MPC_DIR
-bash: /home/geo6/software/configure: No such file or directory
I got the error above , not sure if I am on the right track with the installation or how to fix the error. I have created many directories and I am confused what is needed and where to make the installation.
This is my Linux version:
2.6.18-164.6.1.el5xen GNU/Linux
Thank you,
Georgiana.