Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Having to install Make and GCC, I was referred to:
fr.rpmfind.net/linux/rpm2html...php?query=make
However in downloading these RPM files, each one seems to have a dependency on 4 or 5 other RPM files, which in turn have dependencies on 4 or 5 others and so on and so on. I now have 30+ different RPM files and I can't install a single one because each one somehow depends on another. Even the simple stuff like library and make RPMs have dependencies, and some of these even seem like circular dependencies. This sash file
lists no dependency (the only such RPM I could find) and trying to run rpm -Uvh sash-3.7-3mdk.i586.rpm got me an error message saying I required glibc (so yet another dependency).
Also dependencies like /bin/sh seem to have nothing for Mandrake Linux 8.0 when I did a search for it. I can't tell if this means I don't need anything for that version, or I do need it, but it's nowhere to be found.
I just want a simple C++ compiler, preferably GCC, to be on my Linux. Isn't there some simple package that can install a compiler as well as these hundereds of dependencies on my computer? Any help would be greatly appreciated.
I think that the reason there are so many dependencies is because you are using an old distro and the versions you are trying to install were built with newer versions of the libraries that you already have installed. Installing the versions from your installation disk instead would work out much smoother, or search for Mandrake 8.0 versions on rpmfind or rpm.pbone.net.
So if I go and purchase the Mandriva 2006 DVD, it should have GCC and all the necessary libraries already installed or else on the disc and installable by selecting it? That $10 would be well worth relieving this headache
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Find the src.rpm of the file and build it to match your versions on other apps. When building the rpm some specify it must be this version or greater. Sometimes it is required but may not be.
Download the src.rpm and unless you installed the rpmbuild package to build as a user then you need to build as root then. Run the following command to build it.
rpmbuild --rebuild --recompile name_of file.src.rpm
When doen with no errors then the new rpm will be in /usr/src/redhat/RPMS/i386 or noarch usually.
For the gcc package, you can install it from your current installation disk. However, a newer distro would be recommended.
I wouldn't recommend trying to install gcc from source. First of all, you need to use gcc to install it from source, but you don't have it installed yet. Secondly, the current version of gcc will probably need a newer version of the glibc library. Everything will be dependent on your current glibc library, and compiling the glibc library is very difficult.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.