From: Chris Meadors <axp@clubneon.com>
To: axp-list@redhat.com
Subject: Re: Building Redhat from source/scratch
Date: Thu, 21 Nov 2002 16:47:09 -0500 [thread overview]
Message-ID: <3DDD545D.8070104@clubneon.com> (raw)
In-Reply-To: 200211211523.11118.tedgoodridgejr@acm.org
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
prev parent reply other threads:[~2002-11-21 22:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 17:53 Building Redhat from source/scratch Ted Goodridge
2002-11-18 19:05 ` Building gnome binaries from RH 7.3 SRPMS hansel
2002-11-18 19:21 ` Building Redhat from source/scratch Kelledin
2002-11-18 19:54 ` Ted Goodridge
2002-11-18 20:16 ` Kelledin
2002-11-20 10:32 ` Mike A. Harris
2002-11-21 2:08 ` Steven Pritchard
2002-11-21 21:23 ` Ted Goodridge
2002-11-21 21:47 ` Chris Meadors [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox