From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24724 invoked by alias); 1 Jun 2012 17:41:42 -0000 Received: (qmail 24714 invoked by uid 22791); 1 Jun 2012 17:41:41 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com) (209.85.217.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jun 2012 17:41:27 +0000 Received: by lbol5 with SMTP id l5so2006721lbo.20 for ; Fri, 01 Jun 2012 10:41:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.54.37 with SMTP id g5mr2246411lbp.104.1338572486037; Fri, 01 Jun 2012 10:41:26 -0700 (PDT) Received: by 10.112.48.6 with HTTP; Fri, 1 Jun 2012 10:41:25 -0700 (PDT) In-Reply-To: <33946047.post@talk.nabble.com> References: <33946047.post@talk.nabble.com> Date: Fri, 01 Jun 2012 17:41:00 -0000 Message-ID: Subject: Re: GCC4.7.0 Linux installation headache From: Jonathan Wakely To: blessman11 Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-06/txt/msg00014.txt.bz2 On 01/06/2012, blessman11 wrote: > > > > Summary: > Operating system: (Linux) Ubuntu 12.04 > Downloaded the =93gcc-4.7.0.tar.gz=94 and =93gcc-4.6.3-4.7.0.diff.gz=94 f= iles You don't need the diffs > Unzipped the folders using the command terminal > > Problem > For the past 5days I=92ve been trying to install this compiler using the > terminal since the latest version of gcc isn=92t available in the software > centre (4.6.3 is there instead). And I don=92t want gcc 4.6.3 since it has > inferior C++ 11 support which I really need for my dissertation project t= he > next academic year. So far I=92m stuck on stage 3 of the stages listed be= low > according to the documentation. > > 1. Prerequisites > 2. Downloading the source > 3. Configuration > 4. Building > 5. Testing (the optional phase) > 6. Final Install > > When triying to configure the files I've tried these commands (and they > failed) > > mkdir var/gcc > cd var/gcc > usr@tubuntu:~/Downlaods/gcc-4.7.0$ configure > [--with-pkgversion=3Dversion] [--target=3Dtarget] > //error received > =93configure: command not found =94 > > I thought this was how configuration was done since the stallation docume= nt > index.html stated so. So afterwards I decided to try other methods like: > > sudo ./configure > and > sudo make ./configure > > and I get these errors > =93./configure: command not found =94 > > It just feels like it doesn't want to be configured at all, all my efforts > have been in vain and its day 5 now with no progress, very irritating :((. > Plus I've rudementary commands like > > make > > make install > > configure > > make configure >=20=09 > sudo apt-get install > for sudo apt-get install I get the following output and nothing else :( > > =93Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 0 to remove and 170 not upgraded. =94 >=20=09 > What do I do were can I find a decent tutorial since even the installation > files are giving me a headache and I'm feeling quite discouraged at the > moment. > http://gcc.gnu.org/wiki/InstallingGCC > > -- > View this message in context: > http://old.nabble.com/GCC4.7.0-Linux-installation-headache-tp33946047p339= 46047.html > Sent from the gcc - Help mailing list archive at Nabble.com. > >