Where is the C Compiler?

Colin Watson cjwatson at ubuntu.com
Mon Apr 11 21:11:03 UTC 2005


On Mon, Apr 11, 2005 at 04:44:41PM -0400, alastair lewis wrote:
> Apt-got build-essential.
> 
> ./Configure finds GCC, G++, and lots other stuff.
> 
> Finally hangs with 
> checking for X... no
> configure: error: "You must have X installed"

Software often (in fact, almost always) has build-dependencies above and
beyond the bare minimum. In this case, you probably need at least
libx11-dev and libxt-dev. However, in general you have to read the
package's installation documentation to find out what you need.

Source packages come with a debian/control file that specifies, among
other things, what you need to install in order to build that package.
You can use 'apt-get build-dep lineakd' (or whatever) to install the
build-dependencies for any package in the archive.

Cheers,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list