View Full Version : c compiler
robsie
September 1st, 2008, 05:44 AM
in a terminal i enter the ./configure command and i get this error
error: C compiler cannot create executables
i tried to install the "build essential" package and i get this
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.24-19.36_i386.deb
404 Not Found
any ideas ? thanks
modmadmike
September 1st, 2008, 05:50 AM
try this link http://gb.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.27-2.3_i386.deb
oh and try "apt-get install build-essential" from the terminal.
robsie
September 1st, 2008, 05:57 AM
ive done that and it allowed me to install the build essential package but now i get a different error message :(
configure: error: No curses header-files found
modmadmike
September 1st, 2008, 06:05 AM
Search synaptic for linux-headers and install the one for generic kernal (or whatever kernel your using)
modmadmike
September 1st, 2008, 06:09 AM
wait nvm do you have libncurses5
to install it do a "sudo apt-get install libncurses5"
snova
September 1st, 2008, 01:46 PM
libncurses5 isn't what you want, you need libncurses5-dev more than likely. It might be named something else, but look for the -dev suffix anyway.
Of course, you'll end up installing libncurses5 anyway...
The aforementioned package, by the way, only contains the libraries. The headers are in the package ending in -dev.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.