[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gcc etc.



On Fri, 25 Mar 2011 15:35:59 -0400
John Culleton <john@wexfordpress.com> wrote:

> There is a package, I think it is build-install, that allows me to 
> compile programs.  Can someone please verify this? 

I believe you are you might be after the meta 'build-essential'

$ aptitude show build-essential 
Package: build-essential                 
State: installed
Automatically installed: no
Version: 11.5
Priority: optional
Section: devel
Maintainer: Matthias Klose <doko@debian.org>
Uncompressed Size: 49.2 k
Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make,
         dpkg-dev (>= 1.13.5)
Description: Informational list of build-essential packages
 If you do not plan to build Debian packages, you don't need this
package. Starting with dpkg (>= 1.14.18) this package is required for
building Debian packages. 
 
 This package contains an informational list of packages which are
considered essential for building Debian packages.  This package also
depends on the packages on that list, to make it easy to have the
build-essential packages installed. 
 
 If you have this package installed, you only need to install whatever
a package specifies as its build-time dependencies to build the
package.  Conversely, if you are determining what your package needs to
build-depend on, you can always leave out the packages this package
depends on. 
 This package is NOT the definition of what packages are
build-essential; the real definition is in the Debian Policy Manual.
This package contains merely an informational list, which is all most
people need.   However, if this package and the manual disagree, the
manual is correct.

$ apt-cache depends build-essential
build-essential
 |Depends: libc6-dev
  Depends: <libc-dev>
    libc6-dev
  Depends: gcc
  Depends: g++
  Depends: make
  Depends: dpkg-dev

Probably want the kernel-headers too.

# aptitude install linux-headers-`uname -r`

Then with at least those you should only need to chase down a few
missing libs from your target build. Use 'aptitude search foo' for
those. 

Best of luck,

-- 
Daryl Styrk
Michigan, USA
http://windows7sins.org Don't give Microsoft the remote control. 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


Reply to: