LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Cinelerra 2.0 (https://www.linuxquestions.org/questions/mandriva-30/cinelerra-2-0-a-364437/)

denzo74 09-18-2005 04:40 AM

Cinelerra 2.0
 
New version of Cinelerra (2.0) is out, but it seems that it needs gcc 3.4.4 .

Mandriva LE 2005 has gcc 3.4.3, so is there a safe way (Mandriva rpm, anywhere?) to update gcc?

Tormented 09-18-2005 06:15 AM

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.

denzo74 09-18-2005 11:03 AM

Thanks. I tried that and:

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)

Tormented 09-18-2005 12:32 PM

Quote:


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:

gcc
gcc-c++
gcc-colorgcc
gcc-cpp
gcc-gfortran
gcc-gnat
gcc-objc
libffi4-devel
libgcc1
libgfortran0
libgnat1
libmudflap0
libmudflap0-devel
libobjc1
libstdc++6
libstdc++6-devel
libstdc++6-static-devel


All times are GMT -5. The time now is 06:26 AM.