As I mentioned in my previous reply (I think...) you can adapt the patch for 
Cinelerra 2.1.5 to make it work with Cinelerra 4.2...

See here:

http://www.mail-archive.com/[email protected]/msg12641.html

or the file attached (again, keep in mind that it's for Cinelerra 2.1.5, so you 
might need to manually modify/apply the patch).

Nicola

 

From: [email protected]
To: [email protected]
Subject: Re : [CinCV] Ubuntu and cinelerra 4.2
Date: Sat, 23 Jul 2011 08:30:20 +0400



  


    
    
  
  
    Hi, I'm back and there's another problem at the "make" stage :

    in the cinelerra directory, "make" finished with an error :

    

     make[2]: entrant dans le répertoire «
    /home/laurent/Téléchargements/cinelerra-4.2/cinelerra »

    g++ -c `cat i686/c_flags`  vdevicebuz.C -o i686/vdevicebuz.o

    vdevicebuz.C:48:28: fatal error: linux/videodev.h: Aucun fichier ou
    dossier de ce type

    compilation terminated.

    make[2]: *** [i686/vdevicebuz.o] Erreur 1

    make[2]: quittant le répertoire «
    /home/laurent/Téléchargements/cinelerra-4.2/cinelerra »

    

    It seems to be the same problem like the mjpegtools : the lack of
    linux/videodev.h in the last kernel (for mjpegtools I found a patch
    to solve the problem).

    Any issues for this last error?

    

    The result is that there's no cinelerra executable after the "make
    command".

    

    

    Le 20/07/2011 19:54, Laurent HOAREAU a écrit :
    
      
      
      OK Nicola,

      I tried the replace solution and the "make step" finished fine. I
      don't try the "make install" step because I try to make it whith
      "checkinstall"...

      

      

      Le 20/07/2011 09:07, Nicola Ferralis a écrit :
      
        
         Or you can also follow the suggestion of a
          simpler method, in comment #4, from the same link I posted
          previously. (I would still recommend the replacement of the
          library as it provides a compilation against a much newer
          library).

          

          Nicola

          

           

          

          

          
            From: [email protected]

            To: [email protected]

            Subject: RE: Re : [CinCV] Ubuntu and cinelerra 4.2

            Date: Tue, 19 Jul 2011 22:03:40 -0700

            

            
            
            
             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: [email protected]

                Subject: Re : [CinCV] Ubuntu and cinelerra 4.2

                To: [email protected]

                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 <[email protected]>

                        À :
                        [email protected]

                        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: [email protected]

                          From: [email protected]

                          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...

                          

                          

                        
                      
                    
                  
                
              
            
          
        
      
      

    
    
                                          

Attachment: fix-support-v4l.diff
Description: Binary data

Reply via email to