From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21689 invoked by alias); 23 Apr 2012 03:07:52 -0000 Received: (qmail 21678 invoked by uid 22791); 23 Apr 2012 03:07:51 -0000 X-SWARE-Spam-Status: No, hits=-2.9 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-f171.google.com (HELO mail-wi0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Apr 2012 03:07:37 +0000 Received: by wibhj13 with SMTP id hj13so1835461wib.12 for ; Sun, 22 Apr 2012 20:07:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=442rSm9LBQazuwEwpmoZ2jT6cBczWv+mlJl6gVnSLBQ=; b=UtZ8oIeDJnYPyFAxGCZaZqYVdajS0q1iA2EOsYmrSfIvQ9esvnxRPXRM8C0sUSzbxW uUge0sT9Qk4zTvi/lhxN781d+lND5OjDHoJWprrNgErGtI778CGRkpUcOpFa4EBO6Z6/ /FGUIoFldvqIdNQUpojGhMWJrLQOBne1dR5u5iISOn0gwolOmdpN6N2firKC79NGnqRQ caZu1+Q7+wMGUzW3ObyT0Duep37OEAraLYbEQI3z4n+tcjPe+jMdwnjvxh24ZEtbvIFW n2XEwdDsA7XlaRJEzFXufTozg/wJk7TXNnv9d2ekRC0pADRQIY43wfjL/GkD2RN3dL7/ VuCA== Received: by 10.180.80.70 with SMTP id p6mr17123676wix.21.1335150456042; Sun, 22 Apr 2012 20:07:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.48.135 with HTTP; Sun, 22 Apr 2012 20:07:15 -0700 (PDT) In-Reply-To: <33730502.post@talk.nabble.com> References: <33730502.post@talk.nabble.com> From: Michael Hope Date: Mon, 23 Apr 2012 03:07:00 -0000 Message-ID: Subject: Re: problems installing my arm-linux crosscompiler using ct-ng - Build failed in step 'Installing static core C compiler' To: tpflima Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmvCFy8cHLx27DETr4qEQCWLuOIvmWT1XLQfwvRThW7vNrVHnFcd8u0vq6OZZv9pwj5B5aR X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00029.txt.bz2 On 23 April 2012 14:04, tpflima wrote: > > Hello, how are you? > > I am having problems installing my arm-linux crosscompiler using ct-ng > > I downloaded the crosstoll-ng 1.9.3 last week. > - I changed the prefixed directory for /usr/local/xtools/${CT_TARGET} > - I changed the number of parallel jobs, 8 > - I changed the =ABTuple's alias=BB to arm-=ADlinux. > - I Enabled strace on debug facilities (gdb and ltrace could not be enabl= ed > because the tarball could not be retrieved from their online locals) > > I also used the following configurations: > > Target OS Linux > Operating System, linux kernel version - 2.6.36 > Binary Utilities - binutils version 2.20.1 > C Compiler - gcc version 4.4.5 > C-library - egLibc version 2_10 > Companion libraries - GMP Version 4.3.2 > MPFR version 3.0.0 > PPL Version0.10.2 > Cloog/ppl version 0.15.10 > libelf version 0.8.13 > (*) Build shared companion libraries > > The output was: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > [INFO ] =A0Performing some trivial sanity checks > [INFO ] =A0Build started 20120422.223549 > [INFO ] =A0Building environment variables > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Retrieving needed toolchain components' tarballs > [INFO ] =A0Retrieving needed toolchain components' tarballs: done in 0.05= s (at > 00:02) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Extracting and patching toolchain components > [INFO ] =A0Extracting and patching toolchain components: done in 2.45s (at > 00:04) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing kernel headers > [INFO ] =A0Installing kernel headers: done in 4.96s (at 00:09) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing GMP > [INFO ] =A0Installing GMP: done in 54.65s (at 01:04) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing MPFR > [INFO ] =A0Installing MPFR: done in 15.13s (at 01:19) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing PPL > [INFO ] =A0Installing PPL: done in 132.39s (at 03:31) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing CLooG/ppl > [INFO ] =A0Installing CLooG/ppl: done in 6.76s (at 03:38) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing binutils > [INFO ] =A0Installing binutils: done in 35.86s (at 04:14) > [INFO ] =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [INFO ] =A0Installing static core C compiler > [ERROR] =A0 =A0make[1]: *** [configure-gcc] Error 1 > [ERROR] =A0 =A0Build failed in step 'Installing static core C compiler' > [ERROR] =A0 =A0Error happened in > '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/functions' = in > function 'CT_DoExecLog' (line unknown, sorry) > [ERROR] =A0 =A0 =A0 =A0 =A0called from > '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/gc= c.sh' > at line # 289 in function 'do_cc_core' > [ERROR] =A0 =A0 =A0 =A0 =A0called from > '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/gc= c.sh' > at line # 52 in function 'do_cc_core_pass_1' > [ERROR] =A0 =A0 =A0 =A0 =A0called from > '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/crosstool-N= G.sh' > at line # 597 in function 'main' > [ERROR] =A0 =A0Look at '/usr/local/xtools/arm-unknown-linux-gnueabi/build= .log' > for more info on this error. > [ERROR] =A0(elapsed: 4:37.67) > [04:38] / make: *** [build] Error 2 > > I dont know what I'm doing wrong. :( > Could anyone give me a hint. > > Thanks a lot and congrats for this excellent forum. > > Thiago - tpfslima Hi Thiago. I imagine it's a permissions problem. /usr/local is normally only writeable as root and you're probably running the script as a normal user. Does a plain 'mkdir -p /usr/local/xtools' work? If not, try something like sudo mkdir /usr/local/xtools chown tpfslima:tpfslima /usr/local/xtools (or whatever your username is) and test it by running touch /usr/local/xtools/itworked -- Michael -- For unsubscribe information see http://sourceware.org/lists.html#faq