PDA

View Full Version : [ubuntu] problem with ./configure and c



lolium
July 30th, 2009, 02:44 AM
I am Currently trying to install HBasic but when i try compile the source code it gives me a c error

Here is what i type in terminal


lolium@lolium-desktop:~/Desktop/HBasic-2007-2a$ ./configure

This is the error I received


checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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.

And i can't work out the problem from the config log

How do i get this to compile properly??

Cheers

Lolium

Partyboi2
July 30th, 2009, 11:03 AM
Hi, have you got the 'build-essential' package installed? If you have not got it installed you can install it from the terminal with

sudo apt-get install build-essential