Re: Loading GCC on Linux???

From: Alan Connor (i3x9mdw_at_j9n35c.invalid)
Date: 10/22/05


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


Relevant Pages

  • Re: Upgrading from old Sarge (Testing) to Unstable
    ... > The package I'm most concerned about upgrading is the kernel. ... If you installed it via the debian tools, ie. via a .deb package it will be found in the 'Obsolete and locally created packages' section in aptitude. ... You can later install a new kernel or compile a new kernel, but as said in the release info, I strongly recommend to do this in a separate step: use your existing kernel to see if everything works fine; ... 50% Building Dependency Tree Reading extended state information... ...
    (Debian-User)
  • Yum upgrade from F8 to F9 with KDE desktop - installation notes
    ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... Use your preferred method to install the above file: ...
    (Fedora)
  • SUSE Security Announcement: several kernel security problems (SUSE-SA:2005:044)
    ... please install the update packages. ... Use the following command to determine which kind of kernel is ... Download the kernel RPM package for your distribution with the ... Starting from SUSE LINUX 9.2, ...
    (Bugtraq)
  • Re: Using yum to update livna nvidia packages?
    ... >> Yum by default does an install on new kernels and modules. ... >> package and since that comes from livna the issue at that point would ... 6629 drive installed for the existing kernel 2.6.10-1.770. ...
    (Fedora)
  • Re: sarge freezes after failure of raid disk, incurring fs corruption on unrelated disk
    ... The box has three hard disks: /dev/hda with the root partition and ... dpkg: serious warning: files list file for package `libident' missing, ... assuming package has no files currently installed. ... I'll be trying to install again. ...
    (Debian-User)