I've installed the GCC packages but C programs still won't compile!
For some reason, Kubuntu dosen't come with gcc, so I used Adept to install it, but when I run ./configure on any C program it detects GCC but then says it can't compile. I'm wondering if I'm missing an important library or if I'm just running my command wrong. I've read the tutorial on compiling programs and I've read the INSTALL file on all the programs I've tried to install, no luck.
Any ideas? |
Quote:
i'm bit confused. Are you trying to compile a 'c' language program or trying to install some package ??? regards |
I'm trying to install programs from source. GCC won't do it for some reason.
|
Better install GCC again
regards |
./configure is succesfull? If not, post output of it. If it is succesfull, post output of make.
From here, we can not see what goes wrong ;) |
Here's the output for ./configure. I've used ArmageTron as an example.
Code:
keaton@sandbox:~/armagetronad-0.2.8.1$ ./configure Code:
keaton@sandbox:~/armagetronad-0.2.8.1$ make I think I may have a bad gcc install, I'll try reinstalling and check back in later. |
Make sure you install make!
|
You're indeed missing make. Unfortunately I can not tell you where to find it or how to install it.
make is a utility that makes programmers life easy. It's mostly used with a makefile with rules how to compile a program from sourcecode, but has a lot of other cappabilities. |
Quote:
sudo apt-get install build-essential Come on guys, it wouldn't have been that hard for you to help this user out... |
Quote:
|
Quote:
Debian would have been quite happy without the sudo bit Cheers, Tink |
All times are GMT -5. The time now is 12:46 AM. |