PDA

View Full Version : gcc - header files problem



Chihiro
February 20th, 2008, 07:23 PM
Hi all,

I am using Ubuntu 7.10 with a Virtual Machine in my Vista computer. I was trying to compile my C codes by using gcc but it could not find the necessary header files. Then, I tried ti install them by using

sudo apt-get install build-essential

The computer is trying to install the packages but a CD is required which I do not have. As far as I know I will be able to do it if I enter a repository address where the machine can find the essentials.

Could you please tell me some addresses with the codes/commands since I am a newbie and not very good at using terminal?

Thanks

LaRoza
February 20th, 2008, 07:25 PM
Go to System->Administration->Software Sources

Uncheck the CD option.

Update apt and install build-essential.

Chihiro
February 20th, 2008, 07:44 PM
Go to System->Administration->Software Sources

Uncheck the CD option.

Update apt and install build-essential.

Vouv that's easy and works perfectly.

Thanks a lot.