MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
The best way to upgrade gcc on mandriva is to get the source rpm from one of the cooker mirrors and rebuild it. I'm using cinelerra 2 with gcc 4.0.1-0.2mdk and it's working fine.
To rebuild an srpm, install the rpmbuild packages from urpmi, then use this command as root:
rpmbuild --rebuild name-of-the-package.src.rpm
If it complains about missing dependencies, you can install them from urpmi.
Once the compile finishes you can find rpms ready to install in /usr/src/RPM/RPMS/i586.
varoitus: user gb does not exist - using root
varoitus: group gb does not exist - using root
varoitus: user gb does not exist - using root
varoitus: group gb does not exist - using root
varoitus: user gb does not exist - using root
varoitus: group gb does not exist - using root
varoitus: user gb does not exist - using root
varoitus: group gb does not exist - using root
virhe: unpacking of archive failed on file /usr/src/RPM/SOURCES/gcc-4.0.1-20050606.tar.bz2;432d8da8: cpio: read
("varoitus" means warning and "virhe" means error)
I can install gcc version 4.0.1-0.2mdk from cooker directly, but after trying to install cinelerra 2.0 rpm, Mandriva still complains about dependencies (glibc 3.44 and libstdc++.so.6)
virhe: unpacking of archive failed on file /usr/src/RPM/SOURCES/gcc-4.0.1-20050606.tar.bz2;432d8da8: cpio: read
The file is probably corrupt. You could try downloading again.
Quote:
I can install gcc version 4.0.1-0.2mdk from cooker directly, but after trying to install cinelerra 2.0 rpm, Mandriva still complains about dependencies (glibc 3.44 and libstdc++.so.6)
You probably didn't get all the packages you need. When you compile the srpm it makes a bunch of packages:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.