Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
i'm trying to install the g++ compiler,i downloaded the gcc-g++-4.0.2.tar.gz from http://gcc.gnu.org/ after unzipping and untar it; in the libstdc++-v3 directory i did run the configure programe i got an error message
Quote:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
.
i downloaded other releases i got always the same error .
please any help or any link to g++ compiler are welcome.
Because the gcc packages are precompiled for you in rpm form by mandrake/mandriva. If the gcc packages are not on the install cds, you can set up a urpmi mirror where they can be obtained. It's much easier to install and uninstall software that way.
In mandrake run the following to see what you have currently installed in the gcc family:
$ rpm -qa | grep gcc
and post the output. From there I can tell you exactly what you need to install to get g++.
That should do it. You are missing both of the above packages. gcc is your basic compiler; you can't really compile anything from source without it. The gcc-c++ package installs g++, the C++ version of the gcc compiler. The "urpmi" command is the command line installation utility for mandrake/mandriva. It will install gcc and g++ for you along with any other packages needed by those packages(i.e. package dependencies). I'm pretty sure urpmi will also install libstdc++ along with g++ for example.
do you have any link to any documentation(howto...)about how to install the *.tar.gz files the best way(i mean where & system dependencies & path to install &.....).
The first deals with how to setup and use urpmi in mandrake/mandriva. The second deals with how to install rpms and installing from source with tar.gz files. For a mandrake user, I would recommend that you carefully go over the urpmi article as it is a very nice tool and once you setup the urpmi repos, you will rarely have to install from source.
but one thing that did not really convinced me is why could not we install it from source from the http://gcc.gnu.org/ website;if so why do all those sources exist there if they are not useful?
any idea or suggestion are welcome and thank you again so much
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.