LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2004, 04:47 PM   #1
icpsvt
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Rep: Reputation: 15
Where is g++ on suse 9.1?


Alright - So I'm rather new to the whole Linux thing.

I've used g++ on the school computers, and instead of always telnetting into them I'd figure I should just do this at home.

So I went out and picked up Suse 9.1 Personal edition. Installed, it's working. But there's no g++. So I went to gnu's site, and wow, there it is. In it's source form. And here I am w/o a compiler.

How on earth do I get it and use it? I tried the pre-compiled binaries from openpkg.com, but when they get opened in Yast, nothing happens. It says reading information, then closes rather quickly w/o as much as an error message or anything.

So I'm kinda up a creek w/o a paddle here. One of those famous catch-22's if you will.

Any ideas?

Thanks,
Jason Holmes
 
Old 10-09-2004, 05:22 PM   #2
pauloref
Member
 
Registered: Sep 2004
Location: Italy, between milano and varese
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55

Rep: Reputation: 15
to recompile a source, just unpack it, enter it's directory, open a terminal there, change to root using the su comand. and then enter one after another theese 3 commands: ./configure
make
make install

this sould recompile your source and you should then be able to use g++. Or using YAST, (i don't know how it works) you should be able to download and install g++. Or so it hapends with mandrake and feedora.
 
Old 10-09-2004, 06:08 PM   #3
icpsvt
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Original Poster
Rep: Reputation: 15
the problem is i don't have a compiler installed. somehow it doesn't come w/ suse 9.1 personal.

so i can't use make.

-jason
 
Old 10-09-2004, 06:53 PM   #4
{O_o}
Member
 
Registered: Mar 2004
Distribution: Slackware 14
Posts: 70

Rep: Reputation: 16
are your rpms definately for suse? It may be that you dont have something installed which gcc depends on. Suse personal doesn't come with a compiler. you have to pay extra for that Try going to www.rpmseek.com, typing gcc into the little search box in the left corner (select rpms instead of all) then you'll get a list of gcc's, look for a package from suse people for 9.1. there are a number of different packages you'll need, try to get autoconf, automake, make, gcc, gcc-g++ (can someone correct me if im wrong there). you may also want to get bison, yacc, flex, and many others depending on what you plan on compiling
 
Old 10-09-2004, 11:45 PM   #5
D3javu
Member
 
Registered: Oct 2004
Location: Malaysia
Distribution: Slackware 11.0 , VectorLinux 5.8
Posts: 132

Rep: Reputation: 15
Hmm , hello icpsvt , I'm a Suse user too , try use YaST2 , you can install g++ from there. Please post back , dont be hesitate.
 
Old 10-10-2004, 05:29 AM   #6
icpsvt
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Original Poster
Rep: Reputation: 15
well it looks like i'm making some headway.
the rpmseek site came in handy - i was able to finally get a functioning copy of gcc for suse 9.1, and install it.

so now i'm config/build/installing the newest version.

let's see how this goes ...
 
Old 10-18-2004, 09:59 AM   #7
y0shi
Member
 
Registered: Oct 2004
Location: Boston, MA
Distribution: SUSE 9.1, Slackware 10.0
Posts: 95

Rep: Reputation: 15
in suse 9.1 personal add this as an installing source:

ftp.suse.com/pub/suse/i386/current/


then just use yast2

then you can have all the amenities of suse 9.1 pro. yay !!!
 
Old 10-20-2004, 09:30 AM   #8
SyBEX
LQ Newbie
 
Registered: Oct 2004
Location: Sweden
Distribution: SUSE 9.1 Personal
Posts: 23

Rep: Reputation: 15
Quote:
Originally posted by y0shi
in suse 9.1 personal add this as an installing source:

ftp.suse.com/pub/suse/i386/current/


then just use yast2

then you can have all the amenities of suse 9.1 pro. yay !!!
Yeah.. I thought my problems where over when I read this message... BUT NOOOOO... it can't cd to i386, thats the error I get when I try to use this method..

Last edited by SyBEX; 10-20-2004 at 09:33 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 12:39 PM
SuSE: Dlink Access Point: How to let SuSE 9.1 box fetch the webpages for wlan request hansschmucker Linux - Wireless Networking 3 01-06-2005 12:02 PM
ATI(fglrx) +suse 9.1 & supplementary drivers from Suse HenrixL Linux - Hardware 0 11-17-2004 04:14 PM
SUSE Security Announcement - cvs (SuSE-SA:2004:008) ima Linux - Security 3 04-19-2004 08:21 PM
SUSE Security Announcement - Linux Kernel (SuSE-SA:2004:009) ima Linux - Security 0 04-19-2004 08:35 AM


All times are GMT -5. The time now is 11:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration