development packages

Albert albertwagner at cox.net
Sat Oct 1 21:53:45 UTC 2005


Running Breezy on an i686.

It never occurred to me that ubuntu would not have a development 
environment installed.  I am sort of at a loss as I have never 
encountered this situation before.  Initially, an attempt to compile a 
program yielded this:

$ /mnt/hda6.lfs61/sources/binutils-build
$ ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I then used Synaptic to install gcc-4.0 (4.0.1-4ubuntu9) and linked gcc 
to gcc-4.0 in /usr/bin.  Now I get:
$ /mnt/hda6.lfs61/sources/binutils-build
$ ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler 
cannot create executables.

Can anyone help?







More information about the ubuntu-users mailing list