From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22322 invoked by alias); 20 Dec 2011 02:25:01 -0000 Received: (qmail 22310 invoked by uid 22791); 20 Dec 2011 02:25:00 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM 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 02:24:47 +0000 Received: by ghrr17 with SMTP id r17so2240594ghr.20 for ; Mon, 19 Dec 2011 18:24:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.128.138 with SMTP id f10mr345857yhi.2.1324347887159; Mon, 19 Dec 2011 18:24:47 -0800 (PST) Received: by 10.236.14.164 with HTTP; Mon, 19 Dec 2011 18:24:47 -0800 (PST) In-Reply-To: References: <20111129234653.A7AD35101D6@outside.256.com> Date: Tue, 20 Dec 2011 02:25:00 -0000 Message-ID: Subject: Re: Problem building gcc From: Abdul Wahid Memon To: Ian Lance Taylor Cc: gcc-help@gcc.gnu.org, gideon425.gb5@mailnull.com Content-Type: text/plain; charset=ISO-8859-1 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/msg00143.txt.bz2 The exact output of echo $LIBRARY_PATH Is /usr/lib/x86_64-linux-gnu Regards On Mon, Dec 19, 2011 at 10:20 PM, Ian Lance Taylor wrote: > 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-gcc' >> make[1]: *** [stage2-bubble] Error 2 >> make[1]: Leaving directory `/home/abdul/cc02/gcc-4.6.2/src-infra/obj-gcc' >> make: *** [all] Error 2 > > What is the exact value you are using for LIBRARY_PATH? =A0That is, what > do you see if you run "echo $LIBRARY_PATH"? > > Ian > >> On Wed, Nov 30, 2011 at 12:56 AM, Marc Glisse wro= te: >>> 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 probl= em? >>> >>> >>> Problem understood, gcc doesn't currently support debian and the deriva= tive >>> distributions like ubuntu. >>> >>> -- >>> Marc Glisse