From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4363 invoked by alias); 25 Jan 2011 10:59:04 -0000 Received: (qmail 4355 invoked by uid 22791); 25 Jan 2011 10:59:04 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iw0-f175.google.com (HELO mail-iw0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Jan 2011 10:59:00 +0000 Received: by iwn8 with SMTP id 8so5257112iwn.20 for ; Tue, 25 Jan 2011 02:58:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.170.138 with SMTP id f10mr6403416icz.269.1295953138459; Tue, 25 Jan 2011 02:58:58 -0800 (PST) Received: by 10.42.230.66 with HTTP; Tue, 25 Jan 2011 02:58:58 -0800 (PST) In-Reply-To: <4D3EA686.4090806@web.de> References: <4D36F9D6.5020400@web.de> <4D36FCFC.1000907@acri-st.fr> <4D37089F.50700@web.de> <4D371361.9010609@web.de> <4D3713C3.2040705@redhat.com> <4D371A80.4020604@web.de> <4D371B3E.1090905@redhat.com> <4D37457B.2020003@web.de> <4D375CB5.4010602@caviumnetworks.com> <4D383EFF.1040503@web.de> <4D386FB7.1010407@web.de> <4D3EA686.4090806@web.de> Date: Tue, 25 Jan 2011 10:59:00 -0000 Message-ID: Subject: Re: Compiling gcc-4.1.2 on 64-bit Ubuntu machines From: Jonathan Wakely To: Olumide <50295@web.de> Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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-01/txt/msg00356.txt.bz2 On 25 January 2011 10:31, Olumide wrote: > > I would like to roll out the build to other machines (several dozen > actually). I've tried copying the entire hierarchy (source and build) to the > target machines and then running make install but I'm getting the error > message (I'd appreciate help solving this problem -- thanks): The problem is that "make install" checks if it needs to rebuild, and notices that system headers and other things have changed. Don't do it that way, instead use "DESTDIR" http://www.gnu.org/prep/standards/html_node/DESTDIR.html This allows you to copy the entire installed tree (not the source and build trees) to a temporary staging area, from where it can be packaged up into an archive, then extracted on the destination machines.