LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where is g++ on suse 9.1? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-g-on-suse-9-1-a-240702/)

icpsvt 10-09-2004 04:47 PM

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

pauloref 10-09-2004 05:22 PM

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.

icpsvt 10-09-2004 06:08 PM

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

{O_o} 10-09-2004 06:53 PM

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

D3javu 10-09-2004 11:45 PM

Hmm , hello icpsvt , I'm a Suse user too , try use YaST2 , you can install g++ from there. Please post back , dont be hesitate. :)

icpsvt 10-10-2004 05:29 AM

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 ...

y0shi 10-18-2004 09:59 AM

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 !!!

SyBEX 10-20-2004 09:30 AM

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.. :scratch:


All times are GMT -5. The time now is 10:34 AM.