LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2008, 02:25 AM   #1
harrypotter
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Rep: Reputation: 0
Unhappy can not compile c/c++ programs on suse 9.1


hello!...
I am a newbie.I hav installed suse 9.1 on my comp.I tried to compile c and c++ programs using gcc,cc,c++ and g++ commands but it was not working.Is it because the commands or the compiler itself is not installed?.What should i do?.Can anyone please help me out?...

thanx in advance...
 
Old 02-17-2008, 02:49 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to tell us what "not working" actually means. If you get "command not found" errors, then yes, that could be because you don't have the compilers installed and you should install them via the package manager. FYI, I think SuSE 9.1 is several years old and so might not get security updates to packages. If that is the case, it'd probably be a good idea to upgrade to a newer version.
 
Old 02-17-2008, 03:01 AM   #3
harrypotter
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
yeah it says "command not found".

Last edited by harrypotter; 02-17-2008 at 03:18 AM.
 
Old 02-17-2008, 03:17 AM   #4
harrypotter
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I wil get a newer version ASAP.But can u please tell me how to get the packages u were speaking about?..would you please suggest the best linux distribution educational purposes?..

Thanx

Last edited by harrypotter; 02-17-2008 at 03:19 AM.
 
Old 02-17-2008, 04:21 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You'll want to look for YaST (Yet another Setup Tool). There's info on how to use it in the SUSE Linux 9.1 user guide.

As for which distribution is best, I'd just go with any of the major distros to be honest.
 
Old 02-17-2008, 05:04 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If this is SUSE 9.1 Personal, then you probably don't have any development tools (the Personal version used to ship without them). Your best bet is to give openSUSE 10.3 a shot.
 
Old 02-17-2008, 06:57 AM   #7
harrypotter
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
ok...Thanks for the replies
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't compile simple C++ programs on Suse 9.1 after installing gcc cyclebain Linux - Software 9 07-04-2007 08:04 AM
how should i compile c programs?? vbnandu86 Fedora 3 09-01-2006 07:15 AM
Can't compile programs under SuSE 9.3 Personal manuelkuhs SUSE / openSUSE 2 09-29-2005 02:19 PM
cannot compile c programs umeshpandey007 Linux - Newbie 7 08-29-2005 09:19 PM
Certain programs won't compile thegeekster Linux - Software 2 01-15-2004 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration