Re: Loading GCC on Linux???
From: Alan Connor (i3x9mdw_at_j9n35c.invalid)
Date: 10/22/05
- Next message: Peter T. Breuer: "Re: Loading GCC on Linux???"
- Previous message: Jon Martin Solaas: "Re: Back Kernel Module Problem"
- In reply to: James White: "Loading GCC on Linux???"
- Next in thread: Peter T. Breuer: "Re: Loading GCC on Linux???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Oct 2005 07:41:28 GMT
On comp.os.linux.misc, in
<pan.2005.10.22.04.54.33.997865@yahoo.com>, "James White" wrote:
> I have been learning with Knoppix, which is good in that it
> installs everything but the kitchen sink so a newbie doesn't
> have the problem of missing or incomplete software.
>
> Now I am bringing up a "real" Linux system using Debian Sarge
> 3.1 which loads only the basic system. Then I load only the
> applications that I want to use. Clean and mean and so far so
> good until now.
>
> I was trying to install a Perl module and found that 'make'
> wasn't on the system. Apt-got it and that got me a little
> farther, then I discovered that I needed GCC. Once that was
> installed, the compiler ran and started the compile process but
> blew up on missing includes, including the really standard ones
> like <stdio.h>.
>
> So the question is, where is a list of all the stuff required
> to be installed for a system used for programming with
> GCC? Obviously a library (or lots of them) is missing but Linux
> has a zillion libraries and so far I have found no indication
> of how to tell what is needed. I could do a reinstall and
> select the programming suite in the install menu but that would
> be cheating:) I would rather find out what is needed and where
> it is. Plus, since I am on a dial up line, it can take hours
> to download big stuff just to see if that is what is needed.
>
> Anyone?
>
> JW
>
Perl is its own trip, and I don't use it, but here are some
general guidelines.
For the kernel and kernel modules, you need to install Package:
kernel-headers-2.6-686, or whichever kernel-headers package is
right for your system. Modules are, after all, technically a part
of the kernel.
On package-driven systems, like Debian, if you are compiling an
app from source, for any dependencies you also need to install
the <package>-dev package.
That starts with libc6-dev <<------- :-)
HTH
AC
-- Homepage: http://home.earthlink.net/~alanconnor/ Fanclub: http://www.pearlgates.net/nanae/kooks/alanconnor.shtml
- Next message: Peter T. Breuer: "Re: Loading GCC on Linux???"
- Previous message: Jon Martin Solaas: "Re: Back Kernel Module Problem"
- In reply to: James White: "Loading GCC on Linux???"
- Next in thread: Peter T. Breuer: "Re: Loading GCC on Linux???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|