From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7210 invoked by alias); 8 Jan 2014 14:33:22 -0000 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 Received: (qmail 7169 invoked by uid 89); 8 Jan 2014 14:33:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 08 Jan 2014 14:33:18 +0000 Received: by mail-pa0-f45.google.com with SMTP id rd3so389864pab.18 for ; Wed, 08 Jan 2014 06:33:16 -0800 (PST) X-Received: by 10.66.230.233 with SMTP id tb9mr13031761pac.38.1389191596808; Wed, 08 Jan 2014 06:33:16 -0800 (PST) Received: from localhost ([14.114.193.157]) by mx.google.com with ESMTPSA id ka3sm2881763pbc.32.2014.01.08.06.33.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2014 06:33:16 -0800 (PST) Date: Wed, 08 Jan 2014 14:33:00 -0000 From: narkewoody@gmail.com To: crossgcc Subject: cross-ng building trys to copy files to '/' ? Message-ID: <20140108143238.GA24260@cp920> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00027.txt.bz2 Hi, I am building ARM toolchain using cross-ng on my Slackware Linux PC. I've tried 1.17 and 1.18 - the two most recent release, but met the same error in building (ct-ng build). It seems, cross-ng was trying to install some header files into my /usr/include and then failed because it was not running as root. Can anyone help me? Below is the output: ... [ALL ] mv -f /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.makeT /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.make [ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' [ALL ] make[2]: Entering directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' [ALL ] /home/woody/work/cross-ng.build/1.17.0/.build/tools/bin/install -c -m 644 include/limits.h /usr/include/limits.h [ALL ] /usr/bin/ginstall: cannot remove '/usr/include/limits.h': Permission denied [ERROR] make[2]: *** [/usr/include/limits.h] Error 1 [ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' [ERROR] make[1]: *** [install-headers] Error 2 [ALL ] make[1]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles' [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library headers & start files' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258] [ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@384] ... -- For unsubscribe information see http://sourceware.org/lists.html#faq