DIGIT-ARC read-only archive · snapshot: July 23, 2026

c compiler canot create executables.

10 posts · originally from https://geek.digit.in/community/threads/c-compiler-canot-create-executables.60371/

desai_amogh
desai_amogh Original post #1
Jun 14, 2007 at 11:34 AM
hi
i have ubuntu 7.04 installed a couple of weeks ago. whenever i try to install something
i mean i do
% ./configure
it does something & then gives me a error saying
c compiler error: compiler cannot create executables
& says for more info check the 'configure.log' file
i can install thru packge manager i mean the .deb files.
my signatures shows my configuration
im new to linux not sure what to do ..
any help ??
amogh
M
Jun 14, 2007 at 11:39 AM
Firstly, what do you want to compile?
I believe there are packages missing from ubuntu that are giving error. If you can post your configure.log we can check which are those packages.
desai_amogh
Jun 14, 2007 at 12:53 PM
i dont have it handy at this moment will send it soon..

hers how it looks

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details

i read some where else tht i have to do this

sudo apt-get install build-essential

but tht wont work as i dont have a internet conxn on the computer i have ubuntu installed..
so can anyone tell me where i can download the Build essential packages...
M
Jun 14, 2007 at 12:55 PM
Try installing build-essentials
desai_amogh
Jun 14, 2007 at 12:58 PM
where do i download them from??
praka123
Jun 14, 2007 at 4:15 PM
apt package manager needs internet to download the build-essential which tgs with gcc,g++ compilers and more.even if u have a dial-up u can download and install using it.else manually resolving dependecies are tough :-|
ChaiTan3
Jun 14, 2007 at 5:17 PM
you can install build essential from the ubuntu live cd
type this inthe terminal
sudo apt-cdrom add
sudo apt-get update
sudo apt-get install build-essential
abhasbajpai
Jun 14, 2007 at 6:27 PM
install gcc and make
your problem should solve
desai_amogh
Jul 3, 2007 at 1:22 AM
cud u gimme the link for downloading GCC cause when i go tu ubuntu arcuieves for downloading any package.. it gives me a list of things i need to download & its too much i download stuff from a cybercafe.. i get a good connection thr i blive they use tataindicom 256kbps.. but still ...so a good link pionting for one complete package of GCC will realy help..
M
mehulved #10
Jul 3, 2007 at 1:44 AM
pop in your feisty cd and install build-essentials.