From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 793D1405DC for ; Thu, 21 Nov 2002 17:08:10 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gALM8A530548 for axp-list@listman.redhat.com; Thu, 21 Nov 2002 17:08:10 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gALM8AD30543 for ; Thu, 21 Nov 2002 17:08:10 -0500 Received: from lightning.hereintown.net (lightning.hereintown.net [141.157.132.3]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gALLiAP14593 for ; Thu, 21 Nov 2002 16:44:10 -0500 Received: from masq.hereintown.net ([141.157.132.7] helo=clubneon.com) by lightning.hereintown.net with esmtp (Exim 4.10) id 18EzUX-0000nr-00 for axp-list@redhat.com; Thu, 21 Nov 2002 17:08:09 -0500 Message-ID: <3DDD545D.8070104@clubneon.com> Date: Thu, 21 Nov 2002 16:47:09 -0500 From: Chris Meadors User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Building Redhat from source/scratch References: <200211211523.11118.tedgoodridgejr@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *18EzUX-0000nr-00*Icv8ndCkuLY* X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Ted Goodridge wrote: > Mike, > > Thanks for the response . What are the first steps I need to do in > setting up the chroot? What order do you build the rpms? I'm > anxious to get started doing this because now I have an extra hard > drive that I've been experimenting with and would love to help you > guys out. Well you need a shell in the chroot environment as the main thing. If you plan on building code in there eventually, you'll need everything that is required for that. This is from memory, so I'm sure I'm forgetting things, but that'll be obvious when you can build one of the packages, in the chroot, so you hop back out and build the package that you need if itself can't be build in the chroot. But you'll need a kernel (not to boot initially, but for the header files). The C library. A compiler and the tools that go with it, binutils and make. ncurses also provides some needed header and libs. The configure/build process usually makes use of the standard UNIX tools, sed, grep, cut, cat, cmp, install. Different packages require different things so getting the order right is a kinda science. I have a pretty good idea in my head what order I need to do things in now, so I just start working my way through, and do as I said above, jumping out of the chroot when there is something I can't get done in it, but trying to do everything I can there. My other method is to install a minimal install of some distro (Slackware is my usual choice, A, D and N disks). That gets me enough to build anything I need. Once I start getting things into place, I start doing "ls -lt" in directories to see what is older than when I started and strip out stuff I don't need or install the packages of what I do. Once I get all the basics installed I go back through one more time so everything gets compiled against the complete set of headers/libs. Oh, were you having trouble building glibc 2.3.1 on the Alpha? I have a machine running it now, built with gcc 3.2.[01] with no problems. I didn't apply any patches at all. gcc 3.2.0 had to be patched to compile against glibc 2.3.1, but 3.2.1 fixed that. -- Chris