From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26846 invoked by alias); 20 Dec 2011 05:07:52 -0000 Received: (qmail 26834 invoked by uid 22791); 20 Dec 2011 05:07:50 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Dec 2011 05:07:37 +0000 Received: by ghrr17 with SMTP id r17so2283058ghr.20 for ; Mon, 19 Dec 2011 21:07:37 -0800 (PST) Received: by 10.236.174.2 with SMTP id w2mr732746yhl.35.1324357657006; Mon, 19 Dec 2011 21:07:37 -0800 (PST) Received: by 10.236.174.2 with SMTP id w2mr732726yhl.35.1324357656874; Mon, 19 Dec 2011 21:07:36 -0800 (PST) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id s12sm1807677anl.9.2011.12.19.21.07.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 21:07:35 -0800 (PST) From: Ian Lance Taylor To: Abdul Wahid Memon Cc: gcc-help@gcc.gnu.org, gideon425.gb5@mailnull.com Subject: Re: Problem building gcc References: <20111129234653.A7AD35101D6@outside.256.com> Date: Tue, 20 Dec 2011 05:07:00 -0000 In-Reply-To: (Abdul Wahid Memon's message of "Tue, 20 Dec 2011 03:24:47 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: 2011-12/txt/msg00144.txt.bz2 Abdul Wahid Memon writes: > The exact output of echo $LIBRARY_PATH Is /usr/lib/x86_64-linux-gnu Looking at the configure script, I don't see any way you could get that error without having a ':' or ';' in the value of LIBRARY_PATH. Ian > On Mon, Dec 19, 2011 at 10:20 PM, Ian Lance Taylor wrot= e: >> Abdul Wahid Memon writes: >> >>> I also got the same error and according to your solution I set >>> LIBRARY_PATH=3D/usr/lib/x86_64-linux-gnu but then the compilation >>> process complains that >>> >>> checking LIBRARY_PATH variable... contains current directory >>> configure: error: >>> *** LIBRARY_PATH shouldn't contain the current directory when >>> *** building gcc. Please change the environment variable >>> *** and run configure again. >>> make[2]: *** [configure-stage2-gcc] Error 1 >>> make[2]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gc= c' >>> make[1]: *** [stage2-bubble] Error 2 >>> make[1]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gc= c' >>> make: *** [all] Error 2 >> >> What is the exact value you are using for LIBRARY_PATH? =C2=A0That is, w= hat >> do you see if you run "echo $LIBRARY_PATH"? >> >> Ian >> >>> On Wed, Nov 30, 2011 at 12:56 AM, Marc Glisse wr= ote: >>>> On Tue, 29 Nov 2011, gideon425.gb5@mailnull.com wrote: >>>> >>>>> I am having problems building gcc 4.6.2 >>>>> >>>>> I am using Ubuntu 11.10 >>>>> >>>>> Here is the error >>>>> >>>>> /usr/bin/ld: cannot find crti.o: No such file or directory >>>> >>>> >>>> Here is the solution: >>>> export LIBRARY_PATH=3D/usr/lib/x86_64-linux-gnu >>>> >>>> >>>>> What additional information can I supply to help understand this prob= lem? >>>> >>>> >>>> Problem understood, gcc doesn't currently support debian and the deriv= ative >>>> distributions like ubuntu. >>>> >>>> -- >>>> Marc Glisse