Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: gentoo from stage3 with 2.6.7 development kernel
Posts: 55
Rep:
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.
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
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.