PDA

View Full Version : Having Trouble Compiling Stuff...



steve k
May 11th, 2005, 03:44 PM
Hi,
wow, so i just switched over to Kubuntu Hoary from poking around in Debian for a year and everything works! its amazing!

but:

i was trying to compile some programs from source just now and it said that i didn't have a suitable c compiler, which is probably not true, i checked and found that gcc was completely installed so i'm guessing it has something to do with how kubuntu decides who or what gets to use that feature. this was never a problem for me in debian so i'm not really sure how to go about looking to solve this problem.

any help would be appreciated.

az
May 11th, 2005, 03:47 PM
You probably need to install build-essential.

steve k
May 11th, 2005, 05:30 PM
see,
i just tried that but it asked me to insert my cd (it couldn't do it over the network for some reason) and when i did insert the cd it didn't change the picture at all, for some reason it couldn't recognize it...
is there any way of just getting this package through regular apt-sources?

az
May 11th, 2005, 07:28 PM
Remove the cd from your list of repositories and reload.

Either comment it out with a text editor or use synaptic.

sudo nano /etc/apt/sources.list
CTRL-O to save and CTRL-X to exit.

steve k
May 11th, 2005, 10:25 PM
hey,
it seems to be recieving the files now, it's weird how this was never an issue before...it's never asked for the cd and i've apt-got all kinds of stuff up till now.

thanks for the help!
now that the ./configure command recognizes the compilers it has decided to encounter an X problem:

it tells me that it can't find the X includes and to check my installation for the relevant paths.

where would i look for those? it needs to know where my X repositories are? it's running within X so i'm assuming there's no way those things aren't there, unless ubuntu is using K-drive or something...
sorry for seeming so dumb about this stuff, i'm just so thrilled at how easy everything has been so far that it's making me a bit lazy.

az
May 11th, 2005, 11:06 PM
When you compile stuff to go with your precompiled binaries, youneed the headers for the binaries. They are in the developmental packages:

Ex:

xlibs-dev or libgnome-dev