Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-12-2006, 04:14 PM   #1 (permalink)
Broken In
 
mak1012's Avatar
 
Join Date: Mar 2005
Location: mumbai
Posts: 168
Default unable to compile


hi,
i have ubuntu 5.10....im not able to compile c or c++ using g++ command in terminal. shuld i need to install ne software for that?
__________________
Every Body Says I'm Fine.
mak1012 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 15-12-2006, 04:37 PM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: unable to compile

You need to pass sudo apt-get install gcc cpp to get them installed.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 15-12-2006, 05:09 PM   #3 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: unable to compile

actually it is available on ubuntu's live cd too
sudo apt-cdrom add
(now insert cd in cd rom and fireup command given below)
sudo apt-get install build-essential

(after downloading all the essential package test whether gcc is working properly or not by creating simple "Hello world" program u can compile any c program using this command "gcc -o fileName filename.c" without "" or by using make)

Regards,
Dheeraj
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com

Last edited by Desi-Tek.com; 15-12-2006 at 05:17 PM.
Desi-Tek.com is offline  
Old 15-12-2006, 05:31 PM   #4 (permalink)
Broken In
 
mak1012's Avatar
 
Join Date: Mar 2005
Location: mumbai
Posts: 168
Default Re: unable to compile

thanx for reply.
__________________
Every Body Says I'm Fine.
mak1012 is offline  
Old 15-12-2006, 06:42 PM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: unable to compile

Any reason for running 5.10? It's outdated and has no more support. Please get 6.06. If you can't download it, then order it from shipit.ubuntu.com
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 18-12-2006, 03:14 PM   #6 (permalink)
Broken In
 
mak1012's Avatar
 
Join Date: Mar 2005
Location: mumbai
Posts: 168
Default Re: unable to compile

i got that yesterday. and updated thankx......but now when i sun gcc comand it says it has not been installed roerly now what to do?
__________________
Every Body Says I'm Fine.
mak1012 is offline  
Old 18-12-2006, 04:11 PM   #7 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: unable to compile

@mak1012 read this !!!!! unable to compile
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by Sujeet
- by clmlbx
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2