Cinelerra build fails on libquicktime.a <snip> g++ -c `cat i686/c_flags` settings.C -o i686/settings.o g++ -c `cat i686/c_flags` vrender.C -o i686/vrender.o g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/xmovie] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed </snip> I have tried compiling this on two different machines with the same error. I tried backgrounding the build and soft linking libquicktime.a from /usr/lib to the correct location, cinelerra will finish compiling, but the executable will not link.
what version of gentoo are you using gcc2 or gcc3? processor type? c[xx]flags?
Admin/Bugzilla ? should be somethink like gentoo linux/ebuild
Sorry, my bad, I was in a hurry when I submitted this. Gcc 2.95.3, Gentoo 1.2, I'm thinking it's probably a gcc issue, because none of the libraries under xmovie are building.
i just succesfully compiled cinerella on a gcc 2.95.3 system, but cinerella has to be patched to do this, see bug 7499 for further details Corvus V Corax
cinelerra is known by Gentoo users AND upstream not to build with gcc2. There are no known fixes that allow this to build properly on gcc2. It has been tested with good success on gcc3 systems to build without any problems.
in that case, maybe the ebuild should depend on gcc3 ?
*** Bug 10310 has been marked as a duplicate of this bug. ***
I notice this is marked as resolved, and the Changelog says the ebuild now depends on gcc3, but it doesn't appear to be using gcc3. I have both gcc2 and gcc3 installed. And I am getting the same error I was before, not finding libquicktime.a which I haven't seen addressed at all yet. g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/xmovie] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed
I have updated the cinelerra ebuild so that those of you with both gcc3 and gcc2 installed will use gcc3 to compile cinelerra... Please let me know if things work for you.
Sorry: g++ -o i686/mix2000 \ i686/main.o i686/mixer.o \ ../guicast/i686/libguicast.a \ ../quicktime/i686/libquicktime.a \ -L/usr/X11R6/lib -lGL -lX11 -lXext -lXv -lpthread -lglib -lm -lpng -lz -ldl -lXxf86vm g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/mix2000] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/mix' make[1]: Entering directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' g++ -c `cat i686/c_flags` arender.C -o i686/arender.o g++ -c `cat i686/c_flags` asset.C -o i686/asset.o g++ -c `cat i686/c_flags` audiodevice.C -o i686/audiodevice.o g++ -c `cat i686/c_flags` file.C -o i686/file.o g++ -c `cat i686/c_flags` fileavi.C -o i686/fileavi.o g++ -c `cat i686/c_flags` filebase.C -o i686/filebase.o g++ -c `cat i686/c_flags` filemov.C -o i686/filemov.o g++ -c `cat i686/c_flags` filempeg.C -o i686/filempeg.o g++ -c `cat i686/c_flags` filesndfile.C -o i686/filesndfile.o g++ -c `cat i686/c_flags` load.C -o i686/load.o g++ -c `cat i686/c_flags` mainmenu.C -o i686/mainmenu.o g++ -c `cat i686/c_flags` mwindow.C -o i686/mwindow.o g++ -c `cat i686/c_flags` mwindowgui.C -o i686/mwindowgui.o g++ -c `cat i686/c_flags` playbackengine.C -o i686/playbackengine.o g++ -c `cat i686/c_flags` playbackscroll.C -o i686/playbackscroll.o g++ -c `cat i686/c_flags` playlist.C -o i686/playlist.o g++ -c `cat i686/c_flags` renderengine.C -o i686/renderengine.o g++ -c `cat i686/c_flags` theme.C -o i686/theme.o g++ -c `cat i686/c_flags` transportque.C -o i686/transportque.o g++ -c `cat i686/c_flags` settings.C -o i686/settings.o g++ -c `cat i686/c_flags` vrender.C -o i686/vrender.o g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/xmovie] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed # emerge info Portage 2.0.43 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r6) ================================================================= System uname: 2.4.19 i686 AuthenticAMD USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb cdr esd gdbm gif gnome-libs gpm guile imlib java kde libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcpd tetex tiff X gtk gtk2 gnome gnome2 -alsa" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mcpu=i686 -O3 -pipe" CXXFLAGS="-march=i686 -mcpu=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j3" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" # gcc --version 2.95.3 # gcc-3.0 --version 3.0.4 (openoffice wants this) # gcc-3.2 --version gcc-3.2 (GCC) 3.2 Any other info you could use?
Hrm, the problem is it is still using gcc2 instead of gcc3... While I updated the ebuild maybe you didn't catch the fix in your rsync? you responded rather quickly. :)
Nope, I did an rsync immediately before trying again. As for the speed, I'm using a dual XP 1800+ system with parallel makes, so it flies. My only idea was that I had three versions of GCC installed: 2.95.3 , 3.04, and 3.2. I got the smart idea to remove 3.04 by doing emerge -C gcc. Needless to say, that was a serious mistake. To make a long story short, I had a 3.2 binary package that I reinstalled and used that to compile 2.95.3. So now I only have 2.95.3 and 3.2. Note that if I do gcc -V i get 2.95.3. To invoke 3.2 I need to actually use "gcc-3.2". Am I missing something?
Whoops. I meant --version passed to gcc* not -V.
Okay. I just tried emerging with only gcc 2.95.3 and 3.2 on my system. emerge of cinelerra is failing at the same spot.
Added cinelerra-110802 to portage. Currently doesn't compile. Get some linking errors on gcc3 with this cinelerra ebuild as gcc2 users were getting with the prior version. It has been added as a work in progress and marked - x86 until compile issues can be worked out.
I have attached a patch that fixes the problem, at least with gcc3.
Whooops, seems like it attached it to bug 10898 for some reason...
1.1.5 is in cvs
Okay, I will look into that. I even see 1.1.6. Thanks for the work people, keep it up!