PDA

View Full Version : [ubuntu] error : C can not creat executables. Installing tar.gz



rahul_shilps
May 29th, 2009, 08:08 AM
Hi,

I want to do C programs through IDE Anjuta 2.26.2.0. I have downloaded tar.gz of this software.

I also successfully extreacted the tar.gz file

Now i have that folder on my home/milind/Documents path

now from terminal, When i give command like : -- > $ sudo ./configure

It gives me error like : -- >
:
:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/milind/Documents/anjuta-2.26.2.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Partyboi2
May 29th, 2009, 10:01 AM
Hi, have you got the build-essential package installed? You can install it with

sudo apt-get install build-essential

rahul_shilps
May 30th, 2009, 11:32 AM
i fired the command... as u said

the o/p is :

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build-essential

What does it mean?

oldos2er
May 30th, 2009, 05:40 PM
Do you have internet access on this machine? Can you run sudo apt-get update before installing build-essential?