development packages

Kirtis Bakalarczyk kirtis.bakalarczyk at gmail.com
Sat Oct 1 22:00:42 UTC 2005


On 10/1/05, Albert <albertwagner at cox.net> wrote:
> 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?

apt-get install build-essential is a good start.. then add any -dev
packages that it complains about.

KIRT
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


--
pub   1024D/742050ED 2005-06-04
      Key fingerprint = 94BB 9D18 28A6 6267 8299  3EC9 4696 0626 7420 50ED
:wq




More information about the ubuntu-users mailing list