On 7 June 2012 14:33, blessman11 wrote: > > > > Jonathan Wakely-4 wrote: >> >> On 01/06/2012, blessman11 <blessingta@xxxxxxxxxxxxx> wrote: >> http://gcc.gnu.org/wiki/InstallingGCC >> > > //THE TUTORIAL > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > ar xzf gcc-4.6.2.tar.gz > cd gcc-4.6.2 > ./contrib/download_prerequisites > cd .. > mkdir objdir > cd objdir > $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 > make > make install > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > :( > I tried to follow the tutorial listed but I get stuck at the configuration > stage after creating my directory. > > > CONFIGURATION STAGE > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > @ubuntu:/var/gcc-4.7.0$ PWD/../../home/usr/Downloads/gcc-4.7.0/configure > --prefix=/opt/gcc-4.7.0 > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > ERROR MESSAGE > bash: PWD/../../home/usr/Downloads/gcc-4.7.0/configure: No such file or > directory Look carefully, you're missing a dollar sign on $PWD It's $PWD not PWD