[lug] Building from source

D. Stimits stimits at attbi.com
Thu Sep 19 17:22:55 MDT 2002


John Dollison wrote:
> Thanks for the tip.  I've got RedHat 7.3, and I'll look at the CD's and see
> if I can find it...
> Next time I do a Linux install, I think I'll just make a bigger partition,
> and install all the packages!

You might want to install gcc-2.96-110 rpm, gcc-c+-2.96-110, 
glibc-devel-2.2.5-36, glibc-utils-2.2.5-36. Possibly 
glibc-kernheaders-2.4-7.16, libstdc++-2.96-110, and 
libstdc++-devel-2.96-110. There might be minor variations in numbers.

Check first if they are available at:
ftp://updates.redhat.com/en/os/i386/
or
ftp://updates.redhat.com/en/os/noarch/
or
ftp://updates.redhat.com/en/os/src/

So you don't need to compile the compiler. But if you did, there is a 
bootstrap process where the compiler can compile itself without another 
compiler...but you're working too hard if you do that.

D. Stimits, stimits AT attbi.com

PS: After you install everything, you might wish to run "ldconfig" as 
root just if a library was installed.

> 
> John
> 
> 
> ----- Original Message -----
> From: <rm at fabula.de>
> To: <lug at lug.boulder.co.us>
> Sent: Thursday, September 19, 2002 3:19 AM
> Subject: Re: [lug] Building from source
> 
> 
> Hi John,
> 
> if this really is your first attempt at compiling under/on Linux, don't
> try to compile gcc (actually, it's not that hard, but you wouln'd want
> to drive to your first driving lesson with a 13 ton truck either ;-)
> The gcc compiler should be available as a binary package in your
> distribution
> (unless  you're using 'Linux from Scratch') -- use that for now.
> You didn't tell us which distro you use, for Debian a simple:
> 'apt-get install -f gcc' or 'apt-get install -f gcc-3.0' should do it.
> For RedHat and relatives (like Krud) you'll find other experts on this
> list ...
> 
>   Ralf
> 
> P.S.: have fun compiling, it's one of the most satisfying experiences
> on Linux.
> 
> 
> 
> 
> 
> .
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 






More information about the LUG mailing list