From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7864 invoked by alias); 26 Jul 2012 19:43:40 -0000 Received: (qmail 7854 invoked by uid 22791); 26 Jul 2012 19:43:39 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_50,TW_ZX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.ssimicro.com (HELO mail.ssimicro.com) (64.247.129.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Jul 2012 19:43:24 +0000 Received: from ssipboulton (philipb.ssimicro.com [64.247.130.118]) by mail.ssimicro.com (8.14.4/8.14.4) with ESMTP id q6QJhM7C099316 for ; Thu, 26 Jul 2012 13:43:23 -0600 (MDT) From: "Philip Boulton" To: Subject: Failing to build gcc 4.7.1 Date: Thu, 26 Jul 2012 19:43:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-07/txt/msg00192.txt.bz2 Working on FreeBSD8.1, in a jailed environment. I have an ancient (gcc3.4.6) version of gcc that works as my C compiler. gmake version 3.8.1 I do the following, as root: > tar zxf gcc-4.7.1.tar.gz > cd gcc-4.7.1 > ls -atlG contrib/downl* > ./contrib/download_prerequisites <-- seems to work > ./contrib/download_ecj <-- seems to work > cd .. > mkdir obj_gcc471 > cd obj_gcc471 > ../gcc-4.7.1/configure <-- runs successfully. > gmake During the make process, I get the following error: checking for math/rint... yes checking for long double... yes checking format of `long double' floating point... IEEE extended, little endian checking for gmp.h... no configure: error: gmp.h can't be found, or is unusable. gmake[2]: *** [configure-stage1-mpfr] Error 1 gmake[2]: Leaving directory `/usr/src/local/obj_gcc471' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/src/local/obj_gcc471' N.B., gmp.h is *not* present anywhere in gcc-4.7.1 after the download_prerequisites. Should it be? Any help is appreciated, Thanks. PB