The issue is within the version of faad2 included in Cinelerra 4.2, which is 
obsolete. I had success in the past by simply drop replacement of faad (in the 
folder you reported) using a more recent version. To make it work, however, I 
had to rename the folder as the old one, faad2-2.0.

More details and howto here (comment #5):

http://sourceforge.net/tracker/index.php?func=detail&aid=2944664&group_id=13554&atid=113554

Also note that the issue, apparently, is only present in the 32bit version of 
Ubuntu, 64bit is fine. Also this is not an issue for Ubuntu but also for other 
distros.
I hope it helps.Nicola


From: laurent_w...@yahoo.fr
Subject: Re : [CinCV] Ubuntu and cinelerra 4.2
To: cinelerra@skolelinux.no
Date: Wed, 20 Jul 2011 05:26:09 +0100



I tried to install the 4.2 version on Ubuntu 10.04. But I've got errors at the 
"make".
I think that I have the good dependencies. In facts, I followed these 
instructions : 
http://sideways.bplaced.net/en/sachkunde/cinelerra-4-2-unter-ubuntu-kompilieren/
I make the modifications at the file 
cinelerra-4.2/quicktime/thirdparty/faad2-2.0/libfaad/common.h.
But I still have problems :

if /bin/bash ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. 
-I../../include   -D_REENTRANT -DNOCONTROLS -fexceptions  -g -O2 -MT faad2.lo 
-MD -MP -MF ".deps/faad2.Tpo" -c -o
 faad2.lo faad2.cpp; \
    then mv -f ".deps/faad2.Tpo" ".deps/faad2.Plo"; else rm -f 
".deps/faad2.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -DNOCONTROLS 
-fexceptions -g -O2 -MT faad2.lo -MD -MP -MF .deps/faad2.Tpo -c faad2.cpp  
-fPIC -DPIC -o .libs/faad2.o
In file included from faad2.cpp:21:
faad2.h:28:26: error: codec_plugin.h: No such file or directory
faad2.cpp:22:32: error: mpeg4_audio_config.h: No such file or directory
faad2.cpp:23:23: error: mpeg4_sdp.h: No such file or directory
In file included from faad2.cpp:21:
faad2.h:36: error: 'codec_data_t' does not name a type
faad2.h:37: error: ISO C++ forbids declaration of 'audio_vft_t' with no type
faad2.h:37: error: expected ';' before '*' token
faad2.h:55: error: ISO C++ forbids declaration of 'FILE' with no type
faad2.h:55: error: expected ';' before '*' token
faad2.h:70: error: variable or
 field 'aac_close' declared void
faad2.h:70: error: 'codec_data_t' was not declared in this scope
faad2.h:70: error: 'ptr' was not declared in this scope
faad2.h:73: error: expected constructor, destructor, or type conversion before 
'*' token
faad2.h:82: error: 'codec_data_t' was not declared in this scope
faad2.h:82: error: 'ifptr' was not declared in this scope
faad2.h:83: error: expected primary-expression before '*' token
faad2.h:83: error: 'buffer' was not declared in this scope
faad2.h:84: error: expected primary-expression before '*' token
faad2.h:84: error: 'ts' was not declared in this scope
faad2.h:84: error: initializer expression list treated as compound expression
faad2.h:85: error: 'codec_data_t' was not declared in this scope
faad2.h:85: error: 'ifptr' was not declared in this scope
faad2.h:87: error: variable or field 'aac_file_used_for_frame' declared void
faad2.h:87: error: 'codec_data_t' was
 not declared in this scope
faad2.h:87: error: 'ifptr' was not declared in this scope
faad2.h:88: error: expected primary-expression before 'bytes'
faad2.h:90: error: 'codec_data_t' was not declared in this scope
faad2.h:90: error: 'ifptr' was not declared in this scope
faad2.h:91: error: expected primary-expression before 'ts'
faad2.h:91: error: initializer expression list treated as compound expression
faad2.cpp:38: error: expected initializer before '*' token
make[6]: *** [faad2.lo] Erreur 1
make[6]: quittant le répertoire « 
/home/laurenth/Téléchargements/cinelerra-4.2/quicktime/thirdparty/faad2-2.0/plugins/mpeg4ip
 »
make[5]: *** [all-recursive] Erreur 1
make[5]: quittant le répertoire « 
/home/laurenth/Téléchargements/cinelerra-4.2/quicktime/thirdparty/faad2-2.0/plugins
 »
make[4]: *** [all-recursive] Erreur 1
make[4]: quittant le répertoire «
 /home/laurenth/Téléchargements/cinelerra-4.2/quicktime/thirdparty/faad2-2.0 »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « 
/home/laurenth/Téléchargements/cinelerra-4.2/quicktime/thirdparty/faad2-2.0 »
make[2]: *** [i686/faad] Erreur 2
make[2]: quittant le répertoire « 
/home/laurenth/Téléchargements/cinelerra-4.2/quicktime »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/laurenth/Téléchargements/cinelerra-4.2 »
make: *** [all] Erreur 2
laurenth@RESIR9-U:~/Téléchargements/cinelerra-4.2$ ^C
laurenth@RESIR9-U:~/Téléchargements/cinelerra-4.2$ 

 and effectively, no codec_plugin.h anywhere...

So, where can I find this file? Is it a problem of dependencies?
I tried to install the devel libraries that cinelerra tried to compile. But no 
success...

Any Ideas?


De : Nicola Ferralis <feran...@hotmail.com>
À : cinelerra@skolelinux.no
Envoyé le : Mer 20 juillet 2011, 7h 48min 05s
Objet : RE: [CinCV] Ubuntu and cinelerra 4.2






If you have the correct dependencies installed, Cinelerra 4.2 installs fine on 
10.04 (as well as 10.10). It doesn't, however, if you run 11.04, due to some 
changes  in the kernel. While a patch for Cinelerra-CV 2.1.5:

https://launchpad.net/~cinelerra-ppa/+archive/ppa

 I haven't ported it to 4.2. It's in my plans. However, currently the lack of 
access to Natty 11.04 will prevent me from doing so for a while. 

Nicola 

<rant>
Apologies for the rant that follows. I am still running 10.10 in my laptop, as 
11.04 is 
horribly buggy and essentially unusable in my laptop. It is by far the worst 
Ubuntu 
release ever for me. I have no time or desire to compensate for such 
limitations by creating a virtual instance of it.
</rant>





To: cinelerra@skolelinux.no
From: laurent_w...@yahoo.fr
Subject: [CinCV] Ubuntu and cinelerra 4.2
Date: Wed, 20 Jul 2011 06:05:12 +0400

HI everyone. Did anyone try to install cinelerra 4.2 from sources? I tried on 
ubuntu 10.04 with no sucess.
Tanks for any ideas...


                                          




                                          

Reply via email to