From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25796 invoked by alias); 15 Aug 2012 17:45:18 -0000 Received: (qmail 25712 invoked by uid 22791); 15 Aug 2012 17:45:15 -0000 X-SWARE-Spam-Status: No, hits=2.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 17:44:53 +0000 Received: by wibhm6 with SMTP id hm6so4783531wib.8 for ; Wed, 15 Aug 2012 10:44:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :in-reply-to:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=HG8rgpet6d7hP14nlLy46SE+LgjghcR56np/M9uu4CA=; b=YDiHMtUGdylZgQBhhXbOQDagzuVrZH3pcX7C9QfnxAZvm2+WAZITBcVp/Z0/UEs0K6 jfr2CtjW5lauhguPDCS6A6eRPzn7ru62kzbC9W9ByqnJm6pxjXXUBFeE/XrHZAQCuqnZ 9y91Cg4UZdp46/Lj08+HP7Rhx7qw9y5NKT8cbl7ro77HadZ2VxCrEWjyuLVtqOPG+T2J K2gzsnp7mg7alcTKNu3tiwvQoH1ty2lhGbqBJsszHfq1J6qMk8Yaox+qbzIx3cptiGi1 18kcVeAZyTt+9pruMJApJoXgA8S7WZiRKKQVp4zLEGx9PM3xGLv99uj6pMPLhPVmTLNr A2jA== Received: by 10.180.107.163 with SMTP id hd3mr10813987wib.19.1345052692237; Wed, 15 Aug 2012 10:44:52 -0700 (PDT) Received: from [192.168.0.3] (ra178-1-88-163-20-214.fbx.proxad.net. [88.163.20.214]) by mx.google.com with ESMTPS id w7sm29902322wiz.0.2012.08.15.10.44.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2012 10:44:51 -0700 (PDT) User-Agent: Microsoft-MacOutlook/14.2.3.120616 Date: Wed, 15 Aug 2012 17:49:00 -0000 Subject: Re: Configuration Error From: B B To: CC: , Jonathan Wakely Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable X-Gm-Message-State: ALoCoQnE+Z5dfTSSTHWGDFFGBOPLEn0W5Q6k1UtPR0DbQr167YdnhsLbySiFO2QGyUpjPDi3ZPyk 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-08/txt/msg00110.txt.bz2 Hi, Maybe this will help you=8A https://github.com/beurdouche/scripts/blob/master/build_gcc.sh This is working for me as it is so you should just have to replace with what you need ;) B. On 8/15/12 4:34 PM, "Jonathan Wakely" wrote: >On 15 August 2012 13:39, Ron Stubbs wrote: >> Hi, >> >> I get the following configuration error message when configuring GCC 4.8 >> on an x86_64 suystem running Scientific linux 6.2. >> >> checking for the correct version of gmp.h... yes >> checking for the correct version of mpfr.h... yes >> checking for the correct version of mpc.h... yes >> checking for the correct version of the gmp/mpfr/mpc libraries... no >> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC >> 0.8.0+. >> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify >> >> Although the version check for the .h files succeeds, the library check >> fails. >> >> The installed version are required libraries: >> gmp-4.3.1-7.el6_2.2.x86_64 >> mpfr-2.4.1-6.el6.x86_64 >> mpc-0.8.2 >> >> I've tried with both ./configure and /configure --with-gmp=3D/usr/lib64 >> --with-mpfr=3D/usr/lib64 --with-mpc=3D/usr/local/lib > >1) Don't use ./configure, as documented at >http://gcc.gnu.org/install/configure.html and >http://gcc.gnu.org/wiki/FAQ#configure and >http://gcc.gnu.org/wiki/InstallingGCC you should build outside the >source directory. > >2) /usr/lib64 is a library path, not the installation prefix. You >would want to use --with-gmp-lib=3D/usr/lib64 or --with-gmp=3D/usr but the >compiler will always look in /usr/lib64 anyway so you shouldn't need >to use any --with-xxx options for gmp, mpfr and mpc if they're >installed in /usr > >For more specific information on what fails you will need to look in >the config.log file.